logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
corrado  
#1 Posted : Wednesday, September 30, 2020 8:42:38 PM(UTC)
corrado

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

MS Support  
#2 Posted : Thursday, October 1, 2020 2:19:30 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,934

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)
Originally Posted by: corrado Go to Quoted Post

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.

thanks 1 user thanked MS Support for this useful post.
corrado on 10/2/2020(UTC)
Users browsing this topic
Guest (Hidden)
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.