Insert this right before the Plot statements.
// Reset at session start If ThisBarTime = SessionStart then Begin CumulativePV = 0; CumulativeVol = 0; SumSqDev = 0; IsNewSession = true; End;
Version 9.1 was the pinnacle of the classic EasyLanguage engine. It offered:
He opened the in 9.1. The first shock: syntax highlighting and auto-completion. In the old days, you’d mistype a variable and not find out until you compiled into a wall of red errors. Now, the editor underlined mistakes in real-time, like a spellchecker for trading logic.