Looking For A Matingale Type Ea But... - page 4

 

Azman

Since running this (latest) EA from yesterday i have made nett 150pips using standard settings on JPY, GBP, CHF and EUR. Backtest looks awefull though.!

Also, what does "Lot_Exp" function mean..?

 

Yeap! Version 111 made a lot of profit today, when eurusd drop down sharply. I'll post the result later. This thing starts getting cool, cooler and chilly

Good job Azman.

Best,

 
daet:
Since running this (latest) EA from yesterday i have made nett 150pips using standard settings on JPY, GBP, CHF and EUR. Backtest looks awefull though.! Also, what does "Lot_Exp" function mean..?

Hi,

Did you use default settings? If not could you please post us your settings?

Thanks

Sada

 

What are your settings?

I set mine with 1 lot for the initial position. 20TP, 40SL, 20pipstep on GBP/USD pair the rest are default settings and ended up at a loss.

sell 1 lot @ 2.0117, 2.0157 SL, 2.0097 TP = 20

buy 3 lot @ 2.0137, 2.0087 SL, 2.0147 TP = -150

sell 6 lot @ 2.0117, 2.0157 SL, 2.0097 TP = 120

Ended up with $-10. Am I missing something here? The EA suppose to close all the positions when a TP is hit right? but my trade above has 6 minutes time differential before the buy position close.

Azman, did you check the PM I've sent you?

 

As stated, i used default settings. My float is now -$613 and profit still 150pips. I guess like all martingale stratagies, we have to monitor the float and be well capitalised. I'd like to think this EA is better than say Blessing or master-martingale.

 
wibitiens:
Yeap! Version 111 made a lot of profit today, when eurusd drop down sharply. I'll post the result later. This thing starts getting cool, cooler and chilly

Good job Azman.

Best,

I have a problem in this EA ... It is not putting on trades for me .. I am using EURUSD... 30M .. any idea ?

 
T68:
I have a problem in this EA ... It is not putting on trades for me .. I am using EURUSD... 30M .. any idea ?

did you check the "allow live trade" box and did you press the "expert advisor" tab?

--------------------------------------------------------------------------

I have problem with the logic of the trade. It still give me loss even if I use the default settings. The only time I can gain from this is when the price move to the direction of the first position.

I think the hedge strategy I presented on the previous page is more effective, you can gain 20 pips (spread not counted yet) whether price moved up or down. If only someone can code it to a script or EA so we can compare both.

 

BuyLimit/SellLimit

Hi Guys,

I'm trying to ad BuyLimit/SellLimit.

What is wrong with these codes?

Thanks

B.

//+------------------------------------

double price_LB;

double price_LS;

if(Open_curr==1) Set_Pending_Order_SellLimit(cmd, Lots, price_LS, slippage, stoploss, takeprofit, magic);

if(Open_curr==2) Set_Pending_Order_BuyLimit(cmd, Lots, price_LB, slippage, stoploss, takeprofit, magic);

price_LB=price_B+(pipstep-spread)*Point;

price_LS=price_S-(pipstep-spread)*Point;

.......

int Set_Pending_Order_SellLimit(int cmd, double Lots, double price_LS, int slippage, double stoploss, double takeprofit, int magic)

{

int ticket;

while(ticket==0)

{

if(MathMod(level_curr,2)==0) {stoploss = price_LS + (SL)*Point; takeprofit = price_LS - (TP)*Point;}

else {stoploss = price_LS + (SL+spread)*Point; takeprofit = price_LS - (TP-spread)*Point;}

while(IsTradeAllowed() == false) Sleep(6000);

if(Lot_triple2nd==false) ticket = OrderSend(Symbol(),3,Lot_1*MathRound(MathPow(Lot_Exp,level_curr)),price_LS,slippage,stoploss,0,NULL,magic,0,CLR_NONE);

else ticket = OrderSend(Symbol(),3,(Lot_1*MathRound(MathPow(Lot_Exp,level_curr))+Lot_1*MathRound(MathPow(Lot_Exp,level_curr-1))),price_LS,slippage,stoploss,0,NULL,magic,0,CLR_NONE);

if(ticket < 0) ticket = 0;

}

return(0);

}

//+------------------------------------------------------------------+

int Set_Pending_Order_BuyLimit(int cmd, double Lots, double price_LB, int slippage, double stoploss, double takeprofit, int magic)

{

int ticket;

while(ticket==0)

{

if(MathMod(level_curr,2)==0) {stoploss = price_LB - (SL)*Point; takeprofit = price_LB + (TP)*Point;}

else {stoploss = price_LB - (SL+spread)*Point; takeprofit = price_LB + (TP-spread)*Point;}

while(IsTradeAllowed() == false) Sleep(6000);

if(Lot_triple2nd==false) ticket = OrderSend(Symbol(),2,Lot_1*MathRound(MathPow(Lot_Exp,level_curr)),price_LB,slippage,stoploss,0,NULL,magic,0,CLR_NONE);

else ticket = OrderSend(Symbol(),2,(Lot_1*MathRound(MathPow(Lot_Exp,level_curr))+Lot_1*MathRound(MathPow(Lot_Exp,level_curr-1))),price_LB,slippage,stoploss,0,NULL,magic,0,CLR_NONE);

if(ticket < 0) ticket = 0;

}

return(0);

}

 

hi bongo, can you post journal error or expert alerts when run the EA.

 

hi T68, is your running ok? i'm not sure about jrsx but shouldn't you just reattach on M60? (that's our default timeframe for jrsx).

Reason: