Good afternoon! First of all, Happy Victory! :))))) and a question: do we leave the parameters as you have? Sincerely, Larisa.
Good afternoon! First of all, Happy Victory! :)))) and a question: do we leave the parameters as you have? Regards, Larisa
The Expert Advisor has nothing to do with real trading!
The Expert Advisor was created for the Championship only!
Or if you want it so much, you need to reduce the load on your deposit:
//+------------------------------------------------------------------+ //| volume| //+------------------------------------------------------------------+ double volume() { Lots=AccountInfoDouble(ACCOUNT_FREEMARGIN)/2000; Lots=MathMin(15,MathMax(0.1,Lots)); Lots=NormalizeDouble(Lots,2); return(Lots); }In the line : Lots=AccountInfoDouble(ACCOUNT_FREEMARGIN)/2000; change the number 2000 to a larger number for example 10000
Thank you very much to the author for a very curious EA! It is very useful for me as a beginner as an example.
I had a very strange situation when testing your EA. At one point the Expert Advisor puts a huge number of positions and drains all of them. Judging by the code, this should not happen in principle, because there is a condition that checks the number of positions.
It seems to be a glitch of the tester, but after such a glitch it is a bit scary, what if it glitches on a real account?
Screenshot:
Thank you very much to the author for a very curious EA! It is very useful for me as a beginner as an example.
I had a very strange situation when testing your EA. At one point the Expert Advisor puts a huge number of positions and drains all of them. Judging by the code, this should not happen in principle, because there is a condition that checks the number of positions.
It seems to be a glitch of the tester, but after such a glitch it is a bit scary, what if it glitches on a real account?
Screenshot:
Dear friend,
I'm backtesting... it doesn't trade :(
Good day! I am looking through your code with interest, I can't understand how to reduce or fix the lot size.
input int TP = 500; // Take Profit input int SL = 200; // Stop Loss input int TURBO=0;
Lots=AccountInfoDouble(ACCOUNT_FREEMARGIN)/20000; Lots=MathMin(15,MathMax(0.1,Lots)); Lots=NormalizeDouble(Lots,2); return(Lots);
Hello!
You have already reduced the lot size, instead of 2000 divide it by 20000
Lot is not fixed, it depends on the deposit size.
Next week I will try to post an updated code with extended parameter settings and explanations.
I should probably specify in the code only for demo accounts.
I am curious, do you even test EAs before putting them on real? Not to mention optimisation, as this EA is not optimised, there are only three external variables, and they should be at least 12.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
KositBablo10:
The Expert Advisor with which Alexander Prishchenko (Crucian) participated in Automated Trading Championship 2012
Fig. 1. Testing results of the kositbablo_10 Expert Advisor for 2012
Author: Александр