I have a custom indicator that is calculated OnEachTick. If a condition is met, The indicator prints a statement to the output window. Because it is calculated onEachTick, it iteratively prints the statement as long as the condition is met during the bar duration. Is there any trick to make the script print only once if the condition is met?
Thank you for your support.
Comment