why? how come?
the cpu % also seems 0%
what are causes these?
i test another EA , same time migration, the other EA worked
there was no error
too bad i was frustated and now wrong click to cancel hosting , after 2 days using but buying for 1 month. So sad.
and also the too bad is cant debug "Print" on hosting server? all working on my pc
this code was at front the core code to buy/sell
void OnChartEvent(const int id,
const long &lparam,
const double &dparam,
const string &sparam)
this one is part of the OrderHistoryTotal
Do we have bug issue that some command/code didnt work on Meta Hosting/Server???
Please write a ticket to the ServiceDesk.
Print worked without any issues in the hosting. You should select experts log in the log viewer.
just one question: Why do you use OnChartEvent?
According to the definition this function reacts only on Events that happen on a chart like a keystroke or mouseclick.
But none of these events will ever happen on your virtual vps because there is no chart and no event.
I'm pretty sure it will work if you use OnTick instead.
Read the MQL4 documentation: https://docs.mql4.com/basis/function/events
why cancel ? you can not get back money.
Watch this pic. It worked on other VPS PC. If want more tricky go add moving average on the chart manually. If using OnTick cause 20%-50% cpu usage, so i use OnChart only cost 1%. Good for me who still using e5400 procie. I think is this event "CHARTEVENT_OBJECT_CREATE". In past we use newBar[array]. :D. But probably you also right which EA act different for virtual meta hosting and PC/VPS PC because no chart, but why does they said to be migrate EA,Chart,Indicator, just wait until my Virtual Webzilla back so i can test it. Or probably caused by putting EA on M1 but analyze on W1.