What's the best way to set a variable once each day?
I thought I could use a different variable to check - i.e., if check variable = 0 then statement and check = 1 - but (at least on the chart I was looking at) this only worked once (it didn't reset each day). Do variables initialized in between premain and main reset each day for backtesting purposes?
Thanks.
I thought I could use a different variable to check - i.e., if check variable = 0 then statement and check = 1 - but (at least on the chart I was looking at) this only worked once (it didn't reset each day). Do variables initialized in between premain and main reset each day for backtesting purposes?
Thanks.
Comment