Hello, I am not sure that this is what you want, but test it.JimKuba wrote: Thu Aug 20, 2026 5:33 pm Hi kvak,
Thank you so much for the quick reply. My idea is to use the Step MA logic from the step eAverage indicator as a filter for Heiken Ashi (xrsi).I would like the Heiken Ashi candles to redraw and change color only when the market moves beyond the set Step Size (blue color). This should filter out the false noise during sideways trends. At the same time, I want to preserve the clean candles while in a solid trend (yellow color).
Thank you so much once again.
Have a great day!![]()
JimKuba
I am update code for step calculation and also add some different method to calculate step, some methods must be resetup for crypto or pairs ( percent from calculation 0.1 - 1000)