You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Basically you use a variable to keep track of how many bars you have already processed, so that you don't have to check them again on the next event.
Basically you use a variable to keep track of how many bars you have already processed, so that you don't have to check them again on the next event.
any advice on how to do that?
any advice on how to do that?
Ok I have a code written that will produce the results I want. The question I have now is, is there a way to calculate something only once per candle on the global scope. I don't need it to calculate every tick. Back testing will take forever if it does it on every tick.
Ok I have a code written that will produce the results I want. The question I have now is, is there a way to calculate something only once per candle on the global scope. I don't need it to calculate every tick. Back testing will take forever if it does it on every tick.