calculate custom number of candles average
-
Hi
I want to calculate this :v=(highest value of price in previous 9 candle+lowest value of price in previous 9 candle)/2
and I want to open position when the candle closes higher than 'v' vlaue and a moving average at the same time. How can I do that?
Thanks
-
Highest and lowest can be found in Market properties. You should also check out Williams % range, it does basically that