Re: Ehlers Indicators for MT4

544
This is Bandpass filter Indicator.
I looked for Mq4 code but could not find it before.
Therefore, I made MT4 version with reference to EasyLanguage ,PineScript, and Mladen's Bandpass filter code.

Cycle Analytics for Trader John F. Ehlers p56-57

Several types of Bandpass filter exist. The characteristics of this filter are Auto Gain Control, Leading Trigger line, and Roofing Filter.

This is rough description. If you want to understand it properly, read the citation.

Roofing Filter improves the performance of Bandpass filter. No set value.

Leading Trigger line predicts the movement of the waveform, not a signal line. No set value.

Bandwidth(Q) adjusts the waveform. If it is made smaller, the waveform will be better, but less likely to reflect price movements. If it is made larger, it will be more responsive to price movements, but the waveform will collapse. The default setting is 30% (0,3).
Example1 ( Period20 Upper : 0.3 Lower :0.01)

Auto Gain Control displays the waveform as a relative value based on the most recent maximum or minimum value. The default setting is 99,1% (0,991).
This function stretches the small waveform to make it easier to see.
Example2 ( Period40 Upper : 0.991 Lower :0.900)
Example3 ( Period40 Upper : MTF Lower : Current)

When AutoGain is switched on, Gain is calculated automatically from the MaxCycle and MinCycle settings.


If you like, I would like to hear your ideas.
Yoake
These users thanked the author yoake for the post (total 3):
Chickenspicy, Mickey Abi, RodrigoRT7

Re: Ehlers Indicators for MT4

545
yoake wrote: Sat Oct 01, 2022 7:30 pm This is Bandpass filter Indicator.
I looked for Mq4 code but could not find it before.
Therefore, I made MT4 version with reference to EasyLanguage and PineScript.

Cycle Analytics for Trader John F. Ehlers p56-57

i doesn't match price very well ,, but maybe im using it wrong or have wrong settings
These users thanked the author Chickenspicy for the post:
Jedidiah
0 + 0 = 0
Infinite / Infinite = 1
1 way to Heaven & it matters


Re: Ehlers Indicators for MT4

546
chickensword wrote: Sat Oct 01, 2022 11:15 pm i doesn't match price very well ,, but maybe im using it wrong or have wrong settings

Of those I tried, Period was 14, Bwidth was 0.6, Gain 0.991, and MTF, it seemed useful.
Example(Upper :D1 Lower :4H on 1H Chart)

However, I feel there are other possibilities.
If you find any good ideas, please let me know.

Thanks in advance.
Yoake
Attachments
These users thanked the author yoake for the post (total 3):
Chickenspicy, Mickey Abi, Jedidiah


Who is online

Users browsing this forum: Abdi, adriano.ecker, Amazon [Bot], ChatGPT [Bot], DotNetDotCom [Bot], kvak, MTSW, purin69, Ruby [Bot], TheJurgFX, Yandex [Bot] and 122 guests