hello
I attach another image, thi time with the indicator you gave me yesterday.
As you can see the supertrend still change according to close price, instead of heiken ashi close (with the same parameters: 14/3)
I've tried all the options, heiken ashi close, low, typical, median, etc. etc.
unfortunately I'm not able to code with mq language therefore I can't understand the problem.