Discussions
»
Product and Service Development
»
Formula Assistance
»
Automatic reading of a value when another condition occurs
Rank: Newbie
Groups: Registered Users, Subscribers Joined: 3/26/2015(UTC) Posts: 7
Thanks: 5 times
|
Hi, could you kindly tell me how to make Metastock read a certain value (example of the rsi at 14 days) when a certain condition occurs (example: the closing price exceeds the average at 25 periods) Thank you very much ps I would use this logic in an EXpert System
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Originally Posted by: corrado Hi, could you kindly tell me how to make Metastock read a certain value (example of the rsi at 14 days) when a certain condition occurs (example: the closing price exceeds the average at 25 periods) Thank you very much ps I would use this logic in an EXpert System
Hello, The ValueWhen function can be useful for this, i.e.: Code:ValueWhen(1,C > Mov(C,25,S),RSI(14))
The MetaStock Help File has a bit more detail on how the function works.
|
1 user thanked MS Support for this useful post.
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
Automatic reading of a value when another condition occurs
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.