TrendMeLeaveMe - page 11

 

nice ideas, good work guys

 

TMLM w/ Dolly

Here is what I was able to do for the dolly V10 with TMLM.

This one has an email option and I added a "time or day" option to set start and stop times.

Enjoy.

trendmeleaveme_gold_for_dolly_v10.mq4

 

BIG thanks proverbs....

I will test this,

PipeTrader

 

MY programming skill can only deconstruct and modify what already exists so Hope we dont find anything to big during testing.

Let me know how it works for you.

James

 

Hello proverb.

Nice job -- But I get an error ??

I cant fix.

Take a look on this screen.

Thanks

PipeTrader

Files:
err.bmp  268 kb
 

yup that is what my previous post addresses. your broker will more than likely require you to enter a position 5 pips before the current price. if I set the active and prepare both to 0 the EA will work but the broker will reject the order because it does not follow their rules. just set the prepare for the buy stop and the sell stop to 5 or 6 and see if that acts as a work round till we can have the programmer set an instant execution instead of a pending order if the prepare and activate are set to 0.

hope this helps as a work around.

 

Code question

Waddah Attar or MiniMe,

Can you program the EA to enter an instant execution order if the following settings are true.

extern bool InstantOrder = true;

extern string BuyNow_Trend_Info = "_______________________";

extern string BuyNow_TrendName = "Buy@CurrentPriceTrendLine";

extern int BuyNow_TakeProfit = 50;

extern int BuyNow_StopLoss = 30;

extern double BuyNow_Lot = 0.1;

extern int BuyNow_StepActive = 0;

extern int BuyNow_StepPrepare = 0;

extern string SellNow_Trend_Info = "_______________________";

extern string SellNow_TrendName = "Sell@CurrentPriceTrendLine";

extern int SellNow_TakeProfit = 50;

extern int SellNow_StopLoss = 30;

extern double SellNow_Lot = 0.1;

extern int SellNow_StepActive = 0;

extern int SellNow_StepPrepare = 0;

Reason behind the request:

If it is setup this way the EA works great but because it is a pending order my broker rejects the order since they require a 5 pip spread from open price to current price. Can you please program an instant order opiton if the Prepare and Active are both 0?

Brilliant EA by the way....

Thanks for your time and effort.

James

 
proverbs:
Here is what I was able to do for the dolly V10 with TMLM.

This one has an email option and I added a "time or day" option to set start and stop times.

Enjoy.

trendmeleaveme_gold_for_dolly_v10.mq4

PipeTrader,

Thru testing I find that these setting might work better for what your wanting the EA to do for you. Hope this helps.

extern string BuyStop_Trend_Info = "_______________________";

extern string BuyStop_TrendName = "B1";

extern int BuyStop_TakeProfit = 20;

extern int BuyStop_StopLoss = 40;

extern double BuyStop_Lot = 0.1;

extern int BuyStop_StepActive = 3;

extern int BuyStop_StepPrepare = 3;

extern string SellStop_Trend_Info = "_______________________";

extern string SellStop_TrendName = "S1";

extern int SellStop_TakeProfit = 20;

extern int SellStop_StopLoss = 40;

extern double SellStop_Lot = 0.1;

extern int SellStop_StepActive = 0;

extern int SellStop_StepPrepare = 6;
 

MrPip - Version 3 problem

MrPip,

Please see attachment.

TMLMv3 worked fine at catching the short trade at the trendline, but then generated at total of 87 more "mystery" short trades approximately 25 pips away from the trendline.

Apparently some kind of bug here, please advise.

Thanks.

Files:
tmlm3.gif  48 kb
 

fix stop loss problem

is there a coder that can fix the sl, like if i use e-trailing

it moves the stops, but trendmeleaveme moves them back

Reason: