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
Is the following endless loop code ok?
while(IsStopped=false) { if (Bars<100 or IsConnected=false or IsTradeAllowed=false) return(0); .......do some processing here ie buy/sell conditions, place orders, etc. }Is it ok to exit program if connection is broken? is this the correct thing to do?
Thanks Slawa for your help.
Regards
RJF