I'm a little confused about when PreMain and Main execute, and how often each executes as new bars are loaded. Several EFS2 scripts have a variable set to false outside of main, and then that variable is checked inside main. If it's false, some things run and then the variable is set to true inside main.
When does this variable get set back to false? It seems this is doing something similar to a combination of getBarState() and setComputeOnClose(true or false...).
I know the answer is in here somewhere, but I can't seem to find it.
Thanks.
When does this variable get set back to false? It seems this is doing something similar to a combination of getBarState() and setComputeOnClose(true or false...).
I know the answer is in here somewhere, but I can't seem to find it.
Thanks.
Comment