Mandarine EAs mods - page 2

 

As to EURUSD.

As take profit is 4 ranges so

3743 - 3216 = 527 pips (4 digit pips).

527/4 = 131 pips.

So, 131 pips - it is range which was estimated automatically by EA using D1 timeframe.

trailing stop (and profit lock) = 0.5 of the range.

Means: 131*0.5 = 65 pips.

So, trailing stop should be moved somewhere around 70 pips (on closed bar for H1 timeframe).

As I see from the code:

trailingStop = currentRange*Range.trailingStop;

lockProfit = currentRange*Range.lockProfit;[/CODE]

and

[CODE]curStop = NormalizeDouble(OrderStopLoss(),Digits);

newStop = NormalizeDouble(Bid-trailingStop,Digits);

minStop = NormalizeDouble(OrderOpenPrice()+lockProfit,Digits);

if (newStop>curStop && newStop>minStop)

It means: old stop loss will be moved by trailing stop if new (moved) stop loss will be more then profit lock (breakeven).

To make it shorter: we should wait for EURUSD.

Files:
settings_2.jpg  18 kb
 

Hi chriz,

I am forward testing this Mandarine_Fibpivots_v1 EA too.

I installed 2 copies of Metatrader and testing it with default settings for H1:

1 Metatrader with Fibo = false and the other Metatrader with Fibo = true.

It is with Fibo = false:

It is with Fibo = true:

I expect few pairs to be profitable with Fibo = false. And many pairs should be profitable with Fibo = true.

I am forward testing old Mandarine too from this thread https://www.mql5.com/en/forum/173363 for many years and it is profitable for EURUSD (and the version with timefilter - profitable for EURSD for many years).

I am not posting forward testing statements for new version because nothing to post: I just started to trade it.

Of course, I will post all the statements and some conclusions here.

As to trailing stop.

It is moved.

As I understand - EA is estimating price range by itself automatically, and

Stop Loss = 2 * range (range multiply by 2);

Take Profit = 4

Profit Lock = 0.5 (i understand that it is breakeven, right?)

Trailing Stop = 0.5

So, as I understand (MrTools will correct me if I am wrong):

when the profit on open trade will rich 0.05 of the range so trailing stop will be moved.

Stop loss and take profit are very wide because take profit is 4 ranges and stop loss is 2 ranges.

So, basicly - everything should be closed by trailing stop.

Stop loss is moved as I see.

Files:
 

Hi newdigital,

newdigital:
As to EURUSD.

trailing stop (and profit lock) = 0.5 of the range.

Means: 131*0.5 = 65 pips.

So, trailing stop should be moved somewhere around 70 pips (on closed bar for H1 timeframe).

It means: old stop loss will be moved by trailing stop if new (moved) stop loss will be more then profit lock (breakeven).

To make it shorter: we should wait for EURUSD.

You made it shorter.. and you made it clear!! ;-)

I got the point. Many thanks for your explanation.

Best regards,

chriz.

 

So, stop loss was moved to breakeven as +70 pips for now:

 

range settings

New Digital your right, but want to add, when i tested the Ea a lot of the testing was from 2009 so things may have changed somewhat on mine i changed to trailing stop and breakeven to .25 and stop loss to 1 and take profit to 3 for now, but watching eur/jpy last night the trailing was maybe a little too tight so probably make it .35 for breakeven and trailing and leave stop loss at 1, but guess it depends on everyone's risk tolerance.

 

May be you are right ...

But I will continue with default settings for 2 mods: fibo = true and fibo = false.

It is with fibo = true: H1 timeframe, 9 pairs, 1 trade was closed and 3 trades are open. In profit all the time (blue line is the equity on open trades):

Files:
 

It is what we have for EURUSD now: stop loss was moved by trailing stop so if the order will be closed by stop loss for:

now - we will have +126 pips in profit anyway.

Files:
 

It is the statements for Mandarine_Fibpivots_v1 EA, H1 timeframe, default settings,

UseFibPivots = false.

 

It is the statements for Mandarine_Fibpivots_v1 EA, H1 timeframe, default settings,

UseFibPivots = true.

 
newdigital:
I am forward testing this Mandarine_Fibpivots_v1 EA too.

I installed 2 copies of Metatrader and testing it with default settings for H1:

1 Metatrader with Fibo = false and the other Metatrader with Fibo = true.

I expect few pairs to be profitable with Fibo = false. And many pairs should be profitable with Fibo = true.

I am forward testing old Mandarine too from this thread https://www.mql5.com/en/forum/173363 for many years and it is profitable for EURUSD (and the version with timefilter - profitable for EURSD for many years).

Of course, I will post all the statements and some conclusions here.

As to trailing stop.

It is moved.

As I understand - EA is estimating price range by itself automatically, and

Stop Loss = 2 * range (range multiply by 2);

Take Profit = 4

Profit Lock = 0.5 (i understand that it is breakeven, right?)

Trailing Stop = 0.5

Stop loss and take profit are very wide because take profit is 4 ranges and stop loss is 2 ranges.

So, basicly - everything should be closed by trailing stop.

It is with Fibo = false:

It is with Fibo = true:

Files:
Reason: