how to reset calculations for each trading session?
Krimelio:
Hi, I have been trying to code the standard deviation for a VWAP indicator i found but it wasn't plotting the deviation bands, and someone in my previous post said if I understood the code and they were right, so I decided to write a VWAP indicator from scratch, but my code isn't plotting either then i printed the values to see if there's an error but they are too high it seems that the reason i dont see the plot is because is too high?, my guess is that the code isn't resetting at the beginning of the session.
TimeTradeServer() - session_start >= PeriodSeconds(PERIOD_D1)
Hi, I have been trying to code the standard deviation for a VWAP indicator i found but it wasn't plotting the deviation bands, and someone in my previous post said if I understood the code and they were right, so I decided to write a VWAP indicator from scratch, but my code isn't plotting either then i printed the values to see if there's an error but they are too high it seems that the reason i dont see the plot is because is too high?, my guess is that the code isn't resetting at the beginning of the session.