good day to all,
i have been trying to code a strategy that will compare the value for an ema(14) to the value of the same ema(14) 14 bars ago. i haven't been able to create code so that the displacement can be modified and optimized as necessary, and i would also like to incorporate similar logic for an indicator to change colors depending on this evaluation.
the most similar thread i could find was that one above, ¿are there are examples of how to accomplish this kind of expression?
regards.

Comment