Calculating distance in Pips / ticks from the High or Low of a candle to the 50 ma level
-
Hi all
I want to calculate the distance in pips between the extremes of a candle to the 50 MA price level . e.g. if price is below 50 MA then calculate the 50 MA price level less the High of the candle to get a value in pips. I then want to use that pip value to determine if I should enter a trade or not. e.g. if direvide pip value is > 400pips then do not enter trade.Any idea on how best to do this?
-
This is one option for buys:

For sells you should reverse the order of upper and lower level values, obviously.
-
Thats great , thanks very much.
-
You're welcome.