Price above MA/Custom indicator
-
Hello there, how can I check that the price is above or below the MA or any Custom Indicator line?
I dont want the crossover, I want to check this continuosly until I get a trade.
Like in this photo,
, for example the first white candle it would give me a true , the black one after it would be considered above, and from the third one and so on it would be considered below the lines. -
Does anyone have a clue ?
-
Nevermind, found another way. Just in case anyone its interested, you can apply a baseline on top of the candles that follows the candle movement and then you can compare the line from ma to the line of the baseline. its not exactly what I was searching for, but its doing a preety good job so far .
-
please give an example.. you sound a pro because I do not even know how to put a baseline, never mind trying comparing the two.. much appreciated!!
-
Something like this bro

The problem I have now is that on testing it gives me alert when it happening but I dont understand why I doesnt place orders, neither sell or buy...
-
Can you please share your project to take a look?
-
@softkill21 Did you put candle ID1 or is it 0, because it should be candle ID1...
-
@l-andorrà its the same from the other link, except I placed that condition with baseline.
@AlphaOmega thanks for letting me know, had some on 0, changed them all to 1 now