OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Professional Forum
OmniLanguage Discussion
Ehler's Trendflex Indicator
Last Activity 2/12/2020 6:35 PM
15 replies, 506 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
THOMAS HELGET

Legend
50025
Posts: 545

Joined: 3/22/2006
Location: BALDWINSVILLE, NEW YORK

User Profile
 
Subject : Ehler's Trendflex Indicator
Posted : 1/22/2020 10:47 PM
Post #30740

Fellow OT Enthusiasts:

Attached please find John F. Ehler's Trendflex Indicator as described in the February, 2020 issue of "Technical Analysis of Stocks & Commodities" in his article "Reflex: A New Zero-Lag Indicator" on pages 6 -8 and 21.

It is suggested in the Microsoft Excel commentary in the Traders' Tips section on p. 53 of that issue that "the Trendflex indicator seems better at recognizing enduring trends". The author also suggests that crossover points at zero might be useful as trading signals.

Give it a try on your favorite instruments - I think you will like it.

Tom Helget
Attached file : indTrendflex.txt (1KB - 55 downloads)

^ Top
THOMAS HELGET

Legend
50025
Posts: 545

Joined: 3/22/2006
Location: BALDWINSVILLE, NEW YORK

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/23/2020 10:33 AM
Post #30743 - In reply to #30740

Fellow OT Enthusiasts:

It was late last evening when I finally finished coding and posting the Ehlers Trendflex Indicator.

So here is how it looks on OmniTrader using Color Charts to show zero crossovers:




Here is how it looked in the article for comparison:




And here it is color-coded in the Traders Tips Excel area:




I think you would agree that it keeps you on the right side of the trend.

Tom Helget

[Edited by THOMAS HELGET on 1/23/2020 10:35 AM]

Attached file : Ehlers Trendflex Indicator on OmniTrader.jpg (144KB - 429 downloads)
Attached file : Trendflex Indicator.jpg (33KB - 426 downloads)
Attached file : Excel Color Bands for Trendflex Zero Crossovers.jpg (44KB - 423 downloads)

^ Top
Greg

Legend
100100100
Posts: 306

Joined: 3/22/2006
Location: Mishawaka, IN 46544

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/23/2020 10:47 AM
Post #30744 - In reply to #30740

Tom, I got this message on compile any thoughts? I assume it compiled for you...

C:\Program Files (x86)\Nirvana\OT2020\VBA\Temp\TrendFlex.txt(111) : error BC30068: Expression is a value and therefore cannot be the target of an assignment.

Trendflex(Bar) = (Summ(Bar) / SquareRoot(MS)(Bar))
~~~~~~~~~~~~~~
C:\Program Files (x86)\Nirvana\OT2020\VBA\Temp\TrendFlex.txt(113) : error BC30311: Value of type '1-dimensional array of Single' cannot be converted to 'Single'.

Call _Plot(Bar, "Trendflex", Trendflex(Bar))
~~~~~~~~~~~~~~

Compiler return value: 1
Build failed.
^ Top
LSJ

Veteran
1002525
Posts: 152

Joined: 7/23/2012
Location: Citrus Springs, FL

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/23/2020 11:04 AM
Post #30745 - In reply to #30740

FYI, I just installed and compiled the indicator and it is fine. I did a cut and paste from the text file Tom provided.

Thanks Tom.
^ Top
Greg

Legend
100100100
Posts: 306

Joined: 3/22/2006
Location: Mishawaka, IN 46544

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/23/2020 11:34 AM
Post #30747 - In reply to #30740

thanks I will try again
^ Top
Greg

Legend
100100100
Posts: 306

Joined: 3/22/2006
Location: Mishawaka, IN 46544

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/23/2020 11:39 AM
Post #30748 - In reply to #30740

Success
^ Top
Jim Dean

Sage
200010001001002525
Posts: 3272

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/23/2020 12:22 PM
Post #30749 - In reply to #30740

Hi, Tom

Thanks for posting this. Please see attached file, which has some small If/Then tweaks related to bar-lookbacks. No change to actual formulae.
Attached file : indTrendflex-JDD.txt (1KB - 47 downloads)

^ Top
THOMAS HELGET

Legend
50025
Posts: 545

Joined: 3/22/2006
Location: BALDWINSVILLE, NEW YORK

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/23/2020 2:58 PM
Post #30751 - In reply to #30740

Jim:

Thanks, yes, I see.

Tom Helget
^ Top
mholstius

Regular
2525
Posts: 58

Joined: 6/15/2011

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/24/2020 7:01 AM
Post #30752 - In reply to #30751

Thanks for all your work - and especially for sharing this Tom.
Sure makes it easier when we work together...

BTW: thanks for the update, too, Jim.
However, I wanted to let folks know that (at least with OT2020 2D), the file name with the dash in it won't compile.

Just remove the dash in the file name and it works great.

Hope it's a good weekend coming up for everyone,
Mark
^ Top
Jim Dean

Sage
200010001001002525
Posts: 3272

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/24/2020 7:19 AM
Post #30753 - In reply to #30740

Good catch, Mark ... sorry about that. I just edited it in NotePad and hadn't actually compiled it.

In place of the dash, an underscore "_" could be used if desired :~)
^ Top
Vinay

Regular
2525
Posts: 61

Joined: 1/18/2012
Location: Planet Earth

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/24/2020 8:36 AM
Post #30754 - In reply to #30740

Jim...I think underscore in the file name is also not allowed.



^ Top
Mel

Veteran
100252525
Posts: 197
Online

Joined: 3/18/2006

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 1/25/2020 9:53 AM
Post #30757 - In reply to #30740

Ehlers has a habit of coding indicator with little loops, which I think are confusing and slower. Here are Ehlers' trendflex and reflex indicators with looping removed, and plotted in a style I find more useful.
Attached file : reflex.zip (1KB - 53 downloads)

^ Top
ap·pren·ticeGuru

Veteran
100
Posts: 102

Joined: 10/22/2010
Location: Columbia, MD

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 2/7/2020 8:16 PM
Post #30803 - In reply to #30740

Hi All,

Thanks for sharing the codes. Is there a way both Reflex and Trendflex can be combined to plot into one indicator.

It'd be nice to see both plots of Reflex as the cycle component showing major reversals, while Trendflex shown as the trend component from the same indicator pane.

Thanks.
^ Top
Mel

Veteran
100252525
Posts: 197
Online

Joined: 3/18/2006

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 2/11/2020 11:17 AM
Post #30813 - In reply to #30740

I have combine the two indicators in this code

Mel
Attached file : eReflexTrend.txt (2KB - 35 downloads)

^ Top
ap·pren·ticeGuru

Veteran
100
Posts: 102

Joined: 10/22/2010
Location: Columbia, MD

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 2/11/2020 8:19 PM
Post #30834 - In reply to #30740

Ohhh wow, thank you soooo much, Mel.

Cheers.
^ Top
Kasper

New User

Posts: 1

Joined: 12/29/2014
Location: Earth

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 2/12/2020 6:35 PM
Post #30853 - In reply to #30740

Wow this is great. Thanks to all!
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.