• Sign up >>

Fibonacci_Ema - page 10

To add comments, please log in or register
solaris
25
solaris  
accrete:
Hi all, Thank you for the clarification ND, much appreciated. I went ahead and inserted the multiple Delta code into the "Time Filter" version with default settings and then the same EA but defaults set to the MA settings that i'm using on a five minute chart if anyone is interested in seeing what i've mentioned as "Four Demensional Charts" taking multiple time frames into account. Both EAs are found at this link. The one with my settings has the "atm" as part of the file name.

Cheers,

Thom

Thanks, Thom. I will forward test them as is and keep you posted.

solaris

solaris
25
solaris  
newdigital:
I got your idea but this EA is having two possibility fot exit:

- exit on crossing of SignalEMA and CloseEMA;

and (not or)

- exit on Stop Loss, take Profit and ts (if StopLossMode = True, TakeProfitMode = True, TrailingStopMode = True).

What does it mean?

It means that if you set TrailingStopMode = True so EA will close the orders accoding to crossing and Trailing Stop as well (Stop loss value will be moving).

Exit of crossing is always "True". But if you set "TrailingStopMode = True" for example so you will have additional possibility for exit.

And StopLossMode, TakeProfitMode and TrailingStopMode are working separatedly from each other. For example EA will use trailing stop anyway even if you have the following settings:

TrailingStopMode = True;

TakeProfitMode = False;

StopLossMode = False.

In this settings EA will use exit on crossing instead of stop loss and will use trailing stop as well.

Any other combination is valid as well.

Please note thatn I am talking about EAs posted here and here.

Thanks ND. I will make those setting adjustments.

solaris

et_phonehome_2
1389
et_phonehome_2  
newdigital:
No, "current - 1" is fully wrong. It is the future bar.

Sorry.

As to Delta so look at the code:

if (Buy1_1 < Buy1_3+(Delta*Point) && Buy2_1 >= Buy2_3+(Delta*Point)) Order = SIGNAL_BUY; if (Sell1_1 > Sell1_3-(Delta*Point) && Sell2_1 <= Sell2_3-(Delta*Point)) Order = SIGNAL_SELL;

Look at the image attached illustrating this Delta:

only MainEMA is having Delta.

ND,

In your chart, what constitutes non-trading zone?

et_phonehome_2
1389
et_phonehome_2  
newdigital:
I corrected the code for EmaFibo_v2 EA. Now we have 2 Delta(s).

As I am not really sure that we need at least one of it so I set the value of Delta1 and Delta2 to 0.

Anyway everybody please feel free to change anything inside the code. because I may do some mistake sometimes.

I presume we are still using the same presets as before, am I correct? According to your chart, the EMAs are different from the presets, which one should I be using?

Sergey Golubev
Moderator
114663
Sergey Golubev  
et_phonehome_2:
I presume we are still using the same presets as before, am I correct? According to your chart, the EMAs are different from the presets, which one should I be using?

I posted the chart with 8, 21 and 55 for more better visuality (visualization ... sorry). For this perpose only. Just to explain.

Sergey Golubev
Moderator
114663
Sergey Golubev  
accrete:
Hi all, Thank you for the clarification ND, much appreciated. I went ahead and inserted the multiple Delta code into the "Time Filter" version with default settings and then the same EA but defaults set to the MA settings that i'm using on a five minute chart if anyone is interested in seeing what i've mentioned as "Four Demensional Charts" taking multiple time frames into account. Both EAs are found at this link. The one with my settings has the "atm" as part of the file name.

Cheers,

Thom

=====this next bit is a post script... And a question on the secondary entry signal

On the GbpUsd trade for today v2tf (tf currently false) the EA closed out in profit after a retracement and the trailing stop closed the sell. This was nice (about 70 pips), but then shortly after that i noticed a sell arrow that did not make sense to me. The signal MA was well below the "close" ma, which was also well below the "main" MA. I thought the only time the EA would enter a new secondary entry position was after the signal went (in this case of a sell market) above the "close" MA, then went below the "close" MA continuing in the trend?

If you are asking aout second entry condition so if I remember the code it is the following:

- It is if SignalEMA is above (MainEMA + Delta1).

Simple buy condition generally.

AND

- If SignalEMA is above or equal (CloseEMA +Delta2).

Condition for re-entry.

If we don't need thisd Delta so simple set Delta1 and Delta2 to zero (0) in the settings of EA (version 2).

So the second condition is both of them (SignalEMA is above MainEMA and SignalEMA is equal or above CloseMA).

Second condition is not crossing.

Sergey Golubev
Moderator
114663
Sergey Golubev  
newdigital:
If you are asking aout second entry condition so if I remember the code it is the following:

- It is if SignalEMA is above (MainEMA + Delta1).

Simple buy condition generally.

AND

- If SignalEMA is above or equal (CloseEMA +Delta2).

Condition for re-entry.

If we don't need thisd Delta so simple set Delta1 and Delta2 to zero (0) in the settings of EA (version 2).

So the second condition is both of them (SignalEMA is above MainEMA and SignalEMA is equal or above CloseMA).

Second condition is not crossing.

I may code the second condition to be optional as "false" or "true" for example. If it is necessary.

For example (the settings of EA - version #2:

- Re-Entry=false;

(the first condition is working only).

- Re-Entry=True;

(both second and first condition are working all together).

It may be 3rd and 4th condition as optional as well (we do not have 3rd and 4th but just in case if we will develop it). For example if we decide to add some filter (indicator) or any.

accrete
71
accrete  

Greetings PipSters.

I was kind of bummed when after closing that nice GbpUsd sell, the EA, within one candle of the close opened another sell order. I closed the order imedeately as i didn't want this one around as even though the signal MA was in fact below the "Close" MA the signal had not met my requirement of going on the other side of the Close and then turned back over it once again in the direction of the trade. I figure if the trailing stop loss got me out in profit, there was a reason for that exit. Why would i wish to re-enter unless there was more criteria met. I'm not stating that my "criteria" is without fault, but visualy there seems to be some merit in the thought.

This is a very nice EA. I'm going to continue doodling.

: ) Thom

et_phonehome_2
1389
et_phonehome_2  

Can you explain how DELTA is used? I am not familiar with it.... I guess it means that the SignalEMA must cross both the MainEMA and the Delta line or is that accounted for on the cross when Delta is specified? I guess it prevents being on the wrong side of the trade, that is, being whipsawed.

ejpdl
31
ejpdl  

Re Delta indicator

Hi New Digital

Could I just check the following with you:

1) which Delta indicator are you using? I tried the one from the AscTrend system, but it has the title of SmWPR at the top of the code It seems to look different from the one in your charts Also one which charts a histogram

2) Are you using the default settings for both EAs ?

3) What would be the difference between the 2 EAs in newbie language, please?

Thanx so much for all your wonderful contributions

To add comments, please log in or register