skyjet: Professionals, please help! the multicurrency is running on 3 currencies. I noticed that it opens trades in all currencies at the same time. I put different timeframes on each of the charts, but the EA itself changed the timeframe to the same for all. It appears that it is opening trades in all currencies, if I have a signal on one of them. Please help me find a solution :)
it may be that you are confused. the multicurrency EA operates on one chart and the timeframe of other charts will not affect its performance. maybe you just use the same EA for different pairs? until you state your question correctly, no one will be able and unlikely to help you.
I have an EA which opens positions in both directions, i want it to open in the same direction it took profits when one of the orders triggered. The algorithm is correct but when compiling this EA gives a '{' - expression on global scope not allowed and points to the first parenthesis ........
Please tell me how to teach the program to remember the last used variables. I need to remember - symbol, timeframe, box, reverse, width and number of bars. After the settings selected by a user, they would be saved somewhere and subsequently, if the parameters are saved somewhere, they would be loaded from there. What to use, what to do?
Please tell me how to teach the program to remember the last used variables. I need to remember - symbol, timeframe, box, reverse, width and number of bars. After the settings selected by a user, they would be saved somewhere and subsequently, if the parameters are saved somewhere, they would be loaded from there. What to use, what to do?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
And what am I supposed to see?
I see three numbers. How can I tell if the last one is the right one?
Professionals, please help! the multicurrency is running on 3 currencies. I noticed that it opens trades in all currencies at the same time. I put different timeframes on each of the charts, but the EA itself changed the timeframe to the same for all. It appears that it is opening trades in all currencies, if I have a signal on one of them. Please help me find a solution :)
Hi all. I am interested in the IN10TION NewsReader indicator. I want to attach it to my EA.
If a red line appears (Market.TdOpen) and Market.Price.DOWN(red) then sell
If a red line appears (Market.TdOpen) and Market.Price.UP(green) then buy
What can I do? I tried iCustom but it did not work!
Unless you phrase your question properly, no one can help you and is unlikely to want to
I have an EA which opens positions in both directions, i want it to open in the same direction it took profits when one of the orders triggered. The algorithm is correct but when compiling this EA gives a '{' - expression on global scope not allowed and points to the first parenthesis ........
{
if (int trade = OrdersTotal() - 1; trade >= 0; trade--)
if (OrderSelect(trade, SELECT_BY_POS))
if (OrderType() == OP_BUY && OrderType() == OP_SELL)break;
{
if (OrderType() == OP_BUY) {
ticket = OpenPendingOrder(OP_SELL, iLots, EAName + "-" + total);}
if (OrderType() == OP_SELL){
ticket = OpenPendingOrder(OP_BUY, iLots, EAName + "-" + total);}
}
}
Please tell me how to teach the program to remember the last used variables. I need to remember - symbol, timeframe, box, reverse, width and number of bars. After the settings selected by a user, they would be saved somewhere and subsequently, if the parameters are saved somewhere, they would be loaded from there. What to use, what to do?
Please tell me how to teach the program to remember the last used variables. I need to remember - symbol, timeframe, box, reverse, width and number of bars. After the settings selected by a user, they would be saved somewhere and subsequently, if the parameters are saved somewhere, they would be loaded from there. What to use, what to do?
So save the settings as .set files and load them.