Save cross price into a variable
-
i'm using two moving average
i want to save the current price of the crossing of 2 moving average (periode 7 and periode 200) in a variable
any ideas ? -
That's a tricky one. You can see both MA lines on your chart, but the crossing point is just a visual artifact. I would recommend you to store the close price of candle ID 1 once the crossing is confirmed, but maybe it is not what you are looking for.
-
@l-andorrà hmm yes it's not , i want to create a recovery zone after that cross is made , for that i the exact trade price if u know what i mean .
-
Then the best option is finding a custom indicator doing exactly that. Otherwise I guess you will need some custom code block from real programmers, not me, sorry :(.