Forum

Updating a list of charts after ChartClose(..)

My mql4 EA opens charts and closes them under various scenarios. The problem I have is once a chart is closed, it is still showing as an open chart via ChartNext(..) etc. even though the chart is obviously closed. For testing, the code below opens, then closes 3 charts, and lists the resulting

Efficiently assign an Array

If I have 2+ arrays and I want to edit etc one of the arrays, how do I efficiently assign the array so I can make changes? Lets say I have two arrays and I want to change j[0] to 10, and I've used some process to chose array "j" .... int i[]={ 1 , 2 , 3 }; int j[]={ 1 , 2 }; string arraytouse= "j" ;

VPS chart objects

I've written a few EAs which access various chart objects - eg a text label "BUY" generated by an indicator. BUT, it seems that when migrated to MQL VPS my EA can't access the objects, and looks like the indicator is not even uploaded to the server. I tested this by placing a simple text label on a

Downloaded MT4 EA gets loaded as a script !

I downloaded an EA from the marketplace for MT4. But on downloading, EA gets placed in the SCRIPT folder, so won't load onto a chart. I tried moving it to the EXPERTS folder, but when I tried to put it on a chart the journal states it is not an EA. I've spoken to the developer, who has had no

Downloaded MT EA trades when I log into a different account...

I downloaded a MT4 EA, and it seemed to be working well in the account and VPS I logged into. But then I logged into a different account on the platform, and the EA started trading that account! How do I stop this? In this case I only want the EA to trade from one account. I suppose I can close down

EA not working when multiple accounts are on MT4

I bought a EA for MT4, and it seems to be working but uninstalls when I open a different MT4 account. The EA is registered for only one account. Is there a way around this? I tried installing a second instance of MT4 but it just seems to overwrite the existing one, keeping all my accounts. Cheers A

Subscribing to signal - broker, VPS

Ok, so I've subscribed to two signals but often missing on some trades - one cost me $80. I know one option is to have my trade account with the same broker as the signal. But can I still use a VPS from MQL5.com or should it be with the broker ? Thanks. Andrew

Signals strategy

Well, I've subscribed to my first signal with real money and it seems to be doing ok after 3 weeks, meeting my twin criteria of stability and a reasonable monthly return. There is some slippage, but I understand that can happen as my broker is different from the providers. The question is, what