8914
by packwarrior
Hello to all the coders out here,
I've been searching all over the internet and just couldn't find it, maybe someone here can help me out.
I am looking for a simple indicator that would plot an arrow, when the difference between
SMA (close) and SMA (median) would be greater than 'x' number of pips.
'x' number of pips should be a parameter.
Down arrow is plotted when SMA (close) is above SMA (median) on the current candle.
Up arrow is plotted when SMA (close) is below SMA (median) on the current candle.
If possible one more additional parameter would be 'x' number of candles before next signal,
meaning, indicator plots the next arrow after 'x' bars
Shouldn't be too complicate to code this...if anybody could help I would really appreciate it.