so i wrote ea and after a long torment it managed to work on the tester but it doesn't work on live data. can the reason for this be the warning "ordersend value should be checked"? also in the expert it says "abnormal termination". confuses me because it works in a tester but not on live data. i guess it's something different for tester and live data. if anyone has had experience or knows roughly where the problem is please help. if you need a code I'll post it.
- drawing H_line on highest high of last 36 highs
- My EA works in multiple time frames but data in backtest isn t working
- Expert adviser works in real time, But it has a problem when running on strategy tester
Zoran Matosevic :
so i wrote ea and after a long torment it managed to work on the tester but it doesn't work on live data. can the reason for this be the warning "ordersend value should be checked "? also in the expert it says "abnormal termination". confuses me because it works in a tester but not on live data. i guess it's something different for tester and live data. if anyone has had experience or knows roughly where the problem is please help. if you need a code I'll post it.
so i wrote ea and after a long torment it managed to work on the tester but it doesn't work on live data. can the reason for this be the warning "ordersend value should be checked "? also in the expert it says "abnormal termination". confuses me because it works in a tester but not on live data. i guess it's something different for tester and live data. if anyone has had experience or knows roughly where the problem is please help. if you need a code I'll post it.
Please use the button and attach your file to the post.
Zoran Matosevic:
so i wrote ea and after a long torment it managed to work on the tester but it doesn't work on live data. can the reason for this be the warning "ordersend value should be checked"? also in the expert it says "abnormal termination". confuses me because it works in a tester but not on live data. i guess it's something different for tester and live data. if anyone has had experience or knows roughly where the problem is please help. if you need a code I'll post it.
Might be runtime error(s)so i wrote ea and after a long torment it managed to work on the tester but it doesn't work on live data. can the reason for this be the warning "ordersend value should be checked"? also in the expert it says "abnormal termination". confuses me because it works in a tester but not on live data. i guess it's something different for tester and live data. if anyone has had experience or knows roughly where the problem is please help. if you need a code I'll post it.
Try another broker and/or symbol
OrderSend() return value is boolean so you take a boolean variable like
bool my_order_send=OrderSend(...);
then that should be it. But why check a function return if you don't know the outcome?
Make a return message:
if(!my_order_send) Print("order was not sent");
else Print("order sent successfully");
Tobias Johannes Zimmer #:
OrderSend() return value is boolean so you take a boolean variable like
OrderSend() return value is boolean so you take a boolean variable like
bool my_order_send=OrderSend(...);
then that should be it. But why check a function return if you don't know the outcome?
Make a return message:
if(!my_order_send) Print("order was not sent");
else Print("order sent successfully");
thanks. ill try it out. thank you very much.

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