
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
You would have to have at a min. 23 accounts running at a min 46 bots buy and sell hedge and re-hedge exit and hedge more. It's a never ending cycle, very complex monitoring each and every position in a way as not to erase ones signal from profitability, not as easy as the article above, its a very nice proof of concept. I love it.
As I stated before, you have the same result, and easier, with a simple EA using several graphs and just one account, to trade more than one trading symbol and use multiple strategies.
The only condition is: your algorithm must check the symbols and do specific operations, not generic, just for the group symbol you define, and you must have input parameters to define each group of symbols.
For instance, imagine a simple Moving Average Crossing EA, you just need adapt the code to be as simple as code below. This will enable any EA to be multi-currency multi-system in one account, and you can have 12 symbols and 4 groups of independent backtesting adjustment (period_MA1 and period_MA2).
As I stated before, you have the same result, and easier, with a simple EA using several graphs and just one account, to trade more than one trading symbol and use multiple strategies.
The only condition is: your algorithm must check the symbols and do specific operations, not generic, just for the group symbol you define, and you must have input parameters to define each group of symbols.
For instance, imagine a simple Moving Average Crossing EA, you just need adapt the code to be as simple as code below. This will enable any EA to be multi-currency multi-system in one account, and you can have 12 symbols and 4 groups of independent backtesting adjustment (period_MA1 and period_MA2).
I am new to this business but I think that writing Expert Advisors through MQL5 is not too complicated and can be learnt by examples!!!! I am very grateful to the administrators for such a detailed description and examples:)))))
Hello.
This code of EA is exactly what I'm looking for.
However, I'm doing it semi-auto with my custom EA with 15 symbols
though, I'm only controlling 2-3 at most. Would there be any version for
MT4?
Thanks.
Furthermore, I'm not using any indicators; my account equity is my indicator...
i have a simple question here. If, say, the code within the OnTimer takes more than 1-second to execute on average (such as 2 or 3 seconds), should i change the EventSetTimer within OnInit to a higher value (such as 5 or 6 seconds) ? Thanks.
==========================================
int OnInit()
{
//--- Set event generation frequency
EventSetTimer(1); // 1 second
// ...
return(0);
}