Mandarine EAs mods - page 27

 

Hi Newdigital!

Any Chance that this Mandarine Martingale EA from this post

https://www.mql5.com/en/forum/180089/page11

will be converted to work on ECN, STP brokers?

Thanks in advance!

 

Yes, I think - possible.

We need to ask MrTools (I hope - he can do it).

 
kerozin:
Hi Newdigital!

Any Chance that this Mandarine Martingale EA from this post

https://www.mql5.com/en/forum/180089/page11

will be converted to work on ECN, STP brokers?

Thanks in advance!

Hi Kerozin,

Mandarine Martingale is all ready coded to work on Ecn and Stp brokers, i had it on Jade(Stp) and it worked there and know it is working on FXCM which is Ecn broker last i remember!

Best regards

tools

 

Thanks Mrtools , thats what i wanted to know!

Also there is a chance to limit the Max lot size in the settings?

8-9 lots for some accounts may be high!

 
kerozin:
Thanks Mrtools , thats what i wanted to know!

Also there is a chance to limit the Max lot size in the settings?

8-9 lots for some accounts may be high!

Yes best way for me to explain is post some of the code

extern string s05 = "--MONEY MANAGEMENT--";

extern string MM_0 = "mm=0, risk is ignored, just use Lots parameter";

extern string MM_1 = "mm=1, risk is basic multiplier based on account balance";

extern string MM_2 = "mm=2, risk is % of account balance to risk per sequence";

extern int mm = 2;

extern string MyRisk = "set risk to use when calculating lot size";

extern double risk = 15; // risk to calculate the lots size (only if mm is enabled)

So just lower risk and lot size will be lower, also you can set multiply lower now by default it is set at 1.7, if you set it lower then when martingale progression happens your next open trade will be of smaller lotsize!

 

use of T3 indicator

Mr. mrtools,

I found that in normal Mandarine EAs, the use of T3 indicator is opposite to

Mandarine Martingale EAs as followings :

For examples:-

In Mandarine_Fibpivots_Ea_v1

double t3=iT3(T3_Period);

double emaf11 = iMA(Symbol(),0,FastPeriod,0,mamode,PRICE_CLOSE,shift);

.

.

.

{

if(emaf11 > emas21 && emaf12 <= emas22 && emaf11 > t3 && t3 = s3) return(_(trendUp);

if(emaf11 = emas22 && emaf11 < t3 && t3 >= r1 && t3 <= r3) return(__trendDown);

return(__trendNeutral);

}

//-----------------------------------------------------------------------------------

In Mandarine Martingale :

t3 = iT3(T3_Period);

Var1 = iMA(Symbol(),0,FastPeriod,0,mamode,PRICE_CLOSE,1);

.

.

.

{

if (Var1 = Var4 && Var1 > t3 && t3 >= r1 && t3 <= r3)

myOrderType = 1; // signal a sell

if (Var1 > Var2 && Var3 <= Var4 && Var1 < t3 && t3 = s3)

myOrderType = 2; // signal a buy }

//--------------------------------------------------------------------------------

such that :-

For up trend : fast ma is > T3 for all normal Mandarine EAs but fast ma is < T3 in all Mandarine Martingale EAs.

For down trend : fast ma is T3 in all Mandarine Martingale EAs.

Are they bugs or do they work in different concepts or did I read the codes incorrectly ?

Regards.

Nomura

 
Nomura:
Mr. mrtools,

I found that in normal Mandarine EAs, the use of T3 indicator is opposite to

Mandarine Martingale EAs as followings :

For examples:-

In Mandarine_Fibpivots_Ea_v1

double t3=iT3(T3_Period);

double emaf11 = iMA(Symbol(),0,FastPeriod,0,mamode,PRICE_CLOSE,shift);

.

.

.

{

if(emaf11 > emas21 && emaf12 <= emas22 && emaf11 > t3 && t3 = s3) return(_(trendUp);

if(emaf11 = emas22 && emaf11 < t3 && t3 >= r1 && t3 <= r3) return(__trendDown);

return(__trendNeutral);

}

//-----------------------------------------------------------------------------------

In Mandarine Martingale :

t3 = iT3(T3_Period);

Var1 = iMA(Symbol(),0,FastPeriod,0,mamode,PRICE_CLOSE,1);

.

.

.

{

if (Var1 = Var4 && Var1 > t3 && t3 >= r1 && t3 <= r3)

myOrderType = 1; // signal a sell

if (Var1 > Var2 && Var3 <= Var4 && Var1 < t3 && t3 = s3)

myOrderType = 2; // signal a buy }

//--------------------------------------------------------------------------------

such that :-

For up trend : fast ma is > T3 for all normal Mandarine EAs but fast ma is < T3 in all Mandarine Martingale EAs.

For down trend : fast ma is T3 in all Mandarine Martingale EAs.

Are they bugs or do they work in different concepts or did I read the codes incorrectly ?

Regards.

Nomura

Thanks Nomura, good catch, the normal Mandarine is right the martingale version i inadverdantly had the ma's crisscrossed.

Anyway this is corrected version, but since the wrong Mandarine was profitable, left it in, it is now strategy#2 calling it countertrend version, Strategy#1 is now correct Mandarine, and strategy#3 is correct Mandarine with Price Channel on jurik!

Again Nomura thanks for your help, and if you or anyone can think of a good filter or anything to help these Ea's please post your ideas think these Ea's just need a little something and i havn't been able to think of anything!

 
mrtools:
...but since the wrong Mandarine was profitable, left it in ...

is profitable.

Yes, it is very profitable and good EA.

 

55,000 dollars for the about 6 months trading.

It is ... may be only one martingale EA which is profitabel in pips calculation (martingale like with fixed lot size for example).

Files:
 

Mr. mrtools,

Thanks for your clarification. I will test all strategies.

Regards.

Nomura

Reason: