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
Okay, added a condition to run once so oncalculate fires once if true , i simplified an OCC_Shell indicator with 2 buffers high and low , and simplified the calls too to use buffers
0 or 1 (instead of up to 21) , it draws both on the limited oncalculate and the unlimited . i hope it helps even though i found nothing .
Thanks. I appreciate your help.
Okay, added a condition to run once so oncalculate fires once if true , i simplified an OCC_Shell indicator with 2 buffers high and low , and simplified the calls too to use buffers
0 or 1 (instead of up to 21) , it draws both on the limited oncalculate and the unlimited . i hope it helps even though i found nothing .
Dear Lorentzos. Problem solved!
In OnInit I loaded the OCC indicator. Before it being well loaded it entered OnCalculate.
Therefor it didnt work in closed market. I moved the OCC initiation line to OnCalculate and it worked!
Dear Lorentzos. Problem solved!
In OnInit I loaded the OCC indicator. Before it being well loaded it entered OnCalculate.
Therefor it didnt work in closed market. I moved the OCC initiation line to OnCalculate and it worked!
Awesome .
What part of “now TickValue, TimeCurrent, account information and prices are valid” was unclear?