Re: Ehlers Indicators for MT4

441
Woodyz wrote: Mon Jan 31, 2022 3:06 pm MrTools Thanks for this
One thing that would be nice trading with this, is to have OB/OS levels/zones to work with also.
Is that possible??
This was from the TASC article posted by Jimmy.

Code: Select all

void run()
{
StartDate = 20200301;
EndDate = 20210501;
BarPeriod = 1440;
assetAdd("SPY","STOOQ:*");
asset("SPY");
vars Signals = series(EO(seriesC(),50));
var Threshold = 0.5;
if(Signals[0] > Threshold && peak(Signals))
enterShort();
else if(Signals[0] < ‐Threshold && valley(Signals))
enterLong();
}
Looks like they were taking trades as price broke the threshold set at 0.5. If > threshold go short opposite for longs.

Quote from the article:

"Indeed, 5 of 7 trades in that time period(daily) were winning, producing an overall positive result with a profit factor close to 7.
Of course, more tests with different instruments and different time periods are needed for determining the real value of the EO oscillator for mean­ reversion trading.
"
These users thanked the author mrtools for the post (total 6):
Woodyz, andrei-1, Jimmy, kvak, BeatlemaniaSA, charli


Re: Ehlers Indicators for MT4

443
mrtools wrote: Thu Jan 27, 2022 7:07 am Added divergence.
Image
This is a very promising coding of an Ehlers indicator. Divergence does a very good job.
I think this indicator should be equipped with master KVAK's BUTTON.
Many thanks
We create order out of chaos - we trade that order, but sometimes that chaos is out of order, so we WAIT!!! for the order to return - and we trade again. XARD777

Re: Ehlers Indicators for MT4

444
Mickey Abi wrote: Wed Feb 02, 2022 8:36 pm This is a great tool.. .. Hoping the next version will have alert for divergence, especially Emails.

Great work.. ..
Added divergence alerts, also found a bug in the regular bearish alerts should be fixed in this version.
These users thanked the author mrtools for the post (total 14):
BeatlemaniaSA, Skyold, keys898, talaate, Jimmy, RodrigoRT7, thomdel, charli, kvak, camisa, Thangarasu, Krunal Gajjar, 太虚一毫, nathanvbasko


IndicatorRe: Ehlers Indicators for MT4

448
mrtools wrote: Thu Feb 03, 2022 7:32 am Added divergence alerts, also found a bug in the regular bearish alerts should be fixed in this version.
Hi mrtools, would you be able to put divergence arrows into buffers, please? So I could access them from an iCustom call.

Furthermore, would you advise the methodology for you to programme the divergence, please?
I have found https://www.mql5.com/en/articles/3460 to begin with now.

Any advice will be appreciated.
Have a great day sir, All the best.

Re: Ehlers Indicators for MT4

449
This is a mt4 version of Mladen's Correlation trend indicator

As explained by Mladen:

General:

In his article “Correlation as A Trend Indicator” in May 2020 issue of TASC, author John Ehlers introduces a new trend indicator that is based on the correlation between a security’s price history and the ideal trend: a straight line. He describes methods for using the indicator to not only identify the onset of new trends but to identify trend failures as well.

Recommendations:

Ehlers describes a rather strange way of using it (like using asymmetric threshold for buy and sell, in which case it is clear that he was fitting the indicator to the chart - which is never a good idea, hence

  • Use 0 line as a criterion for a "trend" (short or long)
  • Use crosses of short and long values as a signal to buy or sell



These users thanked the author mrtools for the post (total 11):
wtjfree, ionone, andrei-1, Jimmy, kvak, rudiarius, GetThere, A_5, alexm, Krunal Gajjar, Jedidiah


Who is online

Users browsing this forum: Ahrefs [Bot], BeatlemaniaSA, Google [Bot], Yandex [Bot] and 44 guests