Page 1 of 1

Trend indicator

Posted: Tue Jan 02, 2024 10:33 pm
by Frankge973
Hello
I've written an indicator that displays a table with several securities
XAUUSD
DXY
PLTN
etc.
and the %
if the % increases every tick, the arrow is green, if decrease is red
But it is a continuos change in arrows
So I introduced a theshold in which if the movement is inside a certain range the previous arrow doesn't change.
But in this way I loose the direction if for example the % decrease every tick by a number below the theshold.
How can I solve that ?
I use M5 time chart.
One more thing :
In replay others securities don't change, changes only the value of security of current chart.
Thanks for any help