Martingale EA - page 79

 

the settings stay the same even with the upgrade...

Paulinge:
Thank You Mr. Wolfe, for you have DONE.

How about your first setting Mr. ES ??? What do I have change with your setting ???

Thank you so MUCH for ALL of You.

Best regards,

Paulinge
 

Good luck testing tomorrow everyone, I have to check out for the next 20 hours or so. (unfortunately I have to sleep and go to a day job) I'll answer any questions when I get back.

 

wolfe,

I got the same bug, why did I get a short with 4 lag and a 12 look back on the m5 with the lastentryfiler true?

 
ElectricSavant:
ahhh..

I think I know what kayvan was earlier posting about...

The candlesticks are formed with the ask line....

The kayvan rule is...to buy 3 pips above the high of the candle and sell 3 pips below the low of the candle....VISUALLY

But..

We buy on the ask and sell on the bid...and the high and the low of the candles are formed with the bid on MT4..

wolfe can you go through your entire code and make sure that

bid is for the sells

and....

ask is for the buys

then we can adjust the buy lag and the sell lag when we know for sure you got all the ducks in a row!

He is gonna' beat me...I just know it!

ES

I'm still here for just a little while longer.

The rules in coding an OrderSend() command:

At opening of a market order (OP_SELL or OP_BUY), only the latest prices of Bid (for selling) or Ask (for buying) can be used as open price.

All the long OrderSend() commands contain the Ask:

Ticket=OrderSend(Symbol(),OP_BUY,Lot_Size,Ask,Slippage,NULL,NULL,"TFX_LONG_ADDITIONAL",Magic_Number,0,Green);[/PHP]

All the short OrderSend() commands contain the Bid:

[PHP]Ticket=OrderSend(Symbol(),OP_SELL,Lot_Size,Bid,Slippage,NULL,NULL,"TFX_SHORT_ADDITIONAL",Magic_Number,0,Red);

When using your entry lag take into account your spread.

I'll think about this tomorrow, and see if any other good answer arises.

 

Thanks wolfe...I am going to bed...

ES

wolfe:
I'm still here for just a little while longer.

The rules in coding an OrderSend() command:

At opening of a market order (OP_SELL or OP_BUY), only the latest prices of Bid (for selling) or Ask (for buying) can be used as open price.

All the long OrderSend() commands contain the Ask:

Ticket=OrderSend(Symbol(),OP_BUY,Lot_Size,Ask,Slippage,NULL,NULL,"TFX_LONG_ADDITIONAL",Magic_Number,0,Green);[/PHP]

All the short OrderSend() commands contain the Bid:

[PHP]Ticket=OrderSend(Symbol(),OP_SELL,Lot_Size,Bid,Slippage,NULL,NULL,"TFX_SHORT_ADDITIONAL",Magic_Number,0,Red);

When using your entry lag take into account your spread.

I'll think about this tomorrow, and see if any other good answer arises.
 

I woke up to check the charts and I notice the TS is not working...

 

Paulinge,

If you had read my post you would notice that the TS is not working...you and I will need to wait for 16-18 hours to talk to wolfe as he posted his schedule..

ES

 

I had four orders with the EA, and I compiled the EA by mistake, so the lot sizes increased. Still, the EA did managed to close with nice profit, as you can see the cycle seems to be closed by trailing stop. Anyway, I will continue watching.

Files:
cable_5.gif  67 kb
 

ES Settings?

Hello everyone. I've been watching this thread and opened a new demo account just for TFX. I'll post the daily results. I'm using it at default settings. Is H1 OK for this EA?

@ElectricSavant : Can you please resend your settings file? Tnx.

 

Please be advised that this preset file uses the TS which is not funtioning at the moment.

Start_Lot_Size=0.10000000

Lot_Size_Increment=0.10000000

Long_Short_Balance=0

Balance_Weight=0.10000000

Double_Lotsize=1

Choose_Own_Progression=0

Trade_1=0.00000000

Trade_2=0.00000000

Trade_3=0.00000000

Trade_4=0.00000000

Trade_5=0.00000000

Trade_6=0.00000000

Trade_7=0.00000000

Trade_8=0.00000000

Trade_9=0.00000000

Trade_10=0.00000000

Trade_11=0.00000000

Trade_12=0.00000000

Trade_13=0.00000000

Trade_14=0.00000000

Trade_15=0.00000000

Trade_16=0.00000000

Trade_17=0.00000000

Trade_18=0.00000000

Trade_19=0.00000000

Trade_20=0.00000000

Max_Trades=11

Close_All_Max=1

Pyramid=1

Auto_Restart=1

Use_MA_Entry=0

Next_Trade=20

MA_Period=7

MA_Timeframe=60

Use_Kayvan_Method=1

Bar_Timeframe=30

Bars_Look_Back=2

EntryLag_Long=3

EntryLag_Short=4

Last_Entry_Filter=0

Use_Trailing_Stop=1

Trail_Start=6.00000000

TSLoss_Percent=83.40000000

Close_By_Percent=0

TP_Percent=5.00000000

SL_Percent=10.00000000

Close_By_Profit=99999.00000000

Close_By_StopLoss=99999.00000000

Slippage=2

Number_Of_Tries=5

Sound=1

Emirhan:
Hello everyone. I've been watching this thread and opened a new demo account just for TFX. I'll post the daily results. I'm using it at default settings. Is H1 OK for this EA? @ElectricSavant : Can you please resend your settings file? Tnx.
Reason: