Well, I don't know if I can help since you're talking about code and this is light years away from me. But if this helps here I put two indicators. You can choose the refresh time (seconds or minutes).andrei-1 wrote: Tue Mar 28, 2023 8:27 pm My opinion (without seeing the code). He's not trying to cheat, he's making mistakes himself. Its creator uses large time frames (H1,D1), this dust is not visible there . He inaccurately counts the closing of the bar. If you see a signal, update the indicator, it will show the truth. Update the indicator before opening a trade. I do not recommend using it, It needs to be updated on a new candle.
At least I try as a newbie (I want to code !!!)