How can I tell if my brokerage company is shutting the EA down? The Expert Advisor just stops trading, and there are no errors in opening or closing orders. The server is Sig-Lite.
- Questions from Beginners MQL5 MT5 MetaTrader 5
- Big changes for MT4, in a few weeks
- [ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4.
Fedor_a:
How can I tell if my brokerage company is shutting the EA down? The Expert Advisor just stops trading, and there are no errors in opening or closing orders. Sig-Lite server.
How can I tell if my brokerage company is shutting the EA down? The Expert Advisor just stops trading, and there are no errors in opening or closing orders. Sig-Lite server.
IsTradeAllowed
Fedor_a:
How can I tell if my brokerage company is shutting the EA down? The Expert Advisor just stops trading, and there are no errors in opening or closing orders. Sig-Lite server.
By the way, what do you mean by "no errors"? The EA sends an order and no error is returned? Or the EA simply does nothing, it does not even try to open? - Then the problem is with the Expert Advisor, not with the DC.
How can I tell if my brokerage company is shutting the EA down? The Expert Advisor just stops trading, and there are no errors in opening or closing orders. Sig-Lite server.
timbo:
The Expert Advisor works normally on a demo account and opens trades. But it works on a real account just once, opens position, then the trade is closed on TP or SL and does not open again. It does not show errors when it should open. I know what functions to use to poll the server, maybe some other way?
Fedor_a:
How can I tell if an EA is being knocked out by a DC? The Expert Advisor just stops trading and does not get any error when opening or closing orders. Sig-Lite server.
By the way, what do you mean by "no errors"? The Expert Advisor sends an order and no error is returned? Or the EA simply does nothing, not even trying to open? - Then the problem is in the Expert Advisor and not in the DC. How can I tell if an EA is being knocked out by a DC? The Expert Advisor just stops trading and does not get any error when opening or closing orders. Sig-Lite server.
And the expert is his own or someone else's.
Vinin:
And the expert is his own or someone else's.
Own
And the expert is his own or someone else's.
So poll the server if you know the functions. There'll be some certainty, but for now it's just guessing by coffee grounds.
However, the description sounds like a problem with the expert. Isn't the expert a pipsqueak, by any chance? Maybe he's like a win-win guy in the contest... Or rather, it's not working.
timbo:
So poll the server if you know the functions. There'll be some certainty, but for now it's just guessing by coffee grounds.
Pipsyuk, but not so evil TP=15 pips. I tried it on demo, it works on real account, I start it during the day, but it doesn't work at night. I have been suffering with this for days. Do you think theIsTradeAllowed() function will detect it if my Expert Advisor is the only one prohibited to trade?
So poll the server if you know the functions. There'll be some certainty, but for now it's just guessing by coffee grounds.
However, the description sounds like a problem with the expert. Isn't the expert a pipsqueak, by any chance? Maybe he's like a win-win guy in the contest... Or rather, it's not working.
Vinin:
Does the assessor use a condition check? Any condition (if any, which one)
First of all I try to find out what error is showing up and then to fix it. Only so far GetlastError does not give out anything.
Does the assessor use a condition check? Any condition (if any, which one)
Fedor_a писал (а): Пипсюк, но не такой злостный TP=15 пунктов. Сам делал на демо работает на реале днем запускаю работает, ночью не работает. И так далее несколько дней подряд мучаюсь.
The settings on the demo server and on the real server may be different.Go by expert code and log all checks/conditions. See what is not working - different from the demo.
This is after you check the status on all items.
But it seems to me that the EA just doesn't see the opportunity for trading with those settings that are on the real server, i.e. no one forbids it, but it doesn't want to.
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