
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
Oh gods, I'm so stupid.
Dude, fatal mistake from beginning :)))
This code that you pasted here, should not be inside init(){} function but inside start(){} function. Reposition it and try again. Hope to see your next post full of smilies.
This code that you pasted here, should not be inside init(){} function but inside start(){} function. Reposition it and try again. Hope to see your next post full of smilies.
I told you
Seriously, thanks for all the help.
The symbol is EUR/USD. As you can see from the attachment, no orders get executed. Let me know if I haven't attached the correct log -- still pretty new at this.
Init is executed once, at the beginning of operations, normally to get itself ready.
Start is executed once for each received tick, so this is your main function body.
@WHR, yes you did :P