Page 45 of 88
Re: Ehlers Indicators for MT4
Posted: Mon Jan 31, 2022 4:06 pm
by mrtools
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."
Re: Ehlers Indicators for MT4
Posted: Wed Feb 02, 2022 8:36 pm
by Mickey Abi
mrtools wrote: Mon Jan 31, 2022 10:19 am
Added mtf.
This is a great tool.. .. Hoping the next version will have alert for divergence, especially Emails.
Great work.. ..
Re: Ehlers Indicators for MT4
Posted: Wed Feb 02, 2022 10:38 pm
by Skyold
mrtools wrote: Thu Jan 27, 2022 7:07 am
Added divergence.
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
Re: Ehlers Indicators for MT4
Posted: Thu Feb 03, 2022 7:32 am
by mrtools
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.
Re: Ehlers Indicators for MT4
Posted: Fri Feb 04, 2022 5:14 am
by charli
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.
This is beautiful, also @kvak version 1.3 working like charm ,thank you guys
Re: Ehlers Indicators for MT4
Posted: Fri Feb 04, 2022 6:50 am
by mrtools
charli wrote: Fri Feb 04, 2022 5:14 am
This is beautiful, also @kvak version 1.3 working like charm ,thank you guys
Mainly Thanks to Mladen.
Re: Ehlers Indicators for MT4
Posted: Sun Feb 06, 2022 5:29 pm
by Mickey Abi
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.
Thank you for this Mr. Tools.. Giving us tools to change the world.. ..
Re: Ehlers Indicators for MT4
Posted: Wed Feb 16, 2022 1:09 am
by wtjfree
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
Posted: Sat Feb 26, 2022 12:27 pm
by mrtools
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
Re: Ehlers Indicators for MT4
Posted: Sat Feb 26, 2022 11:06 pm
by josi
mrtools wrote: Sat Feb 26, 2022 12:27 pm
This is a mt4 version of Mladen's Correlation trend indicator
As so very, very often the question remains (at least for me):
does it produce better signals than any out-of-the-MT4-box indicator
(because - if it doesn't - who is it for? Academics?)?