see if price is lower or higher than periods before

Created at 02 May 2017, 23:16
FR

fredrik

Joined 02.05.2017

see if price is lower or higher than periods before
02 May 2017, 23:16


Hi guys,

If I want to dicide if the current price is lower or higher than the closing price 15 pips back how does one accomplish this?

I did it using a simplemovingaverage indicator but it must be an easier way?

sma.Result.Last(15) > sma.Result.LastValue

Thanks!


@fredrik