Discussions
»
Special Interest Groups
»
Basic Coding Techniques
»
Metastock have a fonction IF, but he don't have a WHILE, How simulated WHILE ????
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 7/1/2006(UTC) Posts: 4 Location: Montreal, Canada
|
I have a problem with a formula.
Signal_Buy:= { Signal Buy }
MaHigh:= { MA with HIGH }
MaLow:= { MA with LOW
When Signal_Buy is ON(true) if(MaHigh > MaLow stay to ON(true) while MaHigh > MaLow
How Write that with MetaStock ?
Thank for your help !
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 7/12/2007(UTC) Posts: 134 Location: Perth Western Australia
|
Hi YLTech,
Have a look at the Alert function and see if that will solve your problem.
The Alert function would need to form part of your Buy Signal.
Cheers.
oz
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Special Interest Groups
»
Basic Coding Techniques
»
Metastock have a fonction IF, but he don't have a WHILE, How simulated WHILE ????
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.