if((PriceHigh-PipRange*pips)<MA120)
I am trying to simply get an up arrow to draw if the price high of the bar is below MA120 by n pips. However I do not get the results I wish for !!
Can somebody please suggest a coding fix?
Regards Mickey.
mickeyferrari: if the price high of the bar is below MA120 by n pips. However I do not get the results I wish for !!
if((PriceHigh-PipRange*pips)<MA120)
You have high is below MA + n pips | if(PriceHigh < MA120 + PipRange*pips) // rewritten. |
Code it exactly how you stated | if(PriceHigh < MA120 -PipRange*pips) // high is below n pips |
Thanks WH I see the logic !! Happy Easter:)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register