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 7/6/2025 3:47 AM
24 replies, 6598 viewings

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

^ Top
THOMAS HELGET

Elite
500100
Posts: 610

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 - 371 downloads)

^ Top
THOMAS HELGET

Elite
500100
Posts: 610

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 - 1557 downloads)
Attached file : Trendflex Indicator.jpg (33KB - 1593 downloads)
Attached file : Excel Color Bands for Trendflex Zero Crossovers.jpg (44KB - 1623 downloads)

^ Top
Greg

Legend
10010010025
Posts: 337

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
100252525
Posts: 190

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
10010010025
Posts: 337

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
10010010025
Posts: 337

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
2000100010010010010025
Posts: 3433

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 - 378 downloads)

^ Top
THOMAS HELGET

Elite
500100
Posts: 610

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
252525
Posts: 76

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
2000100010010010010025
Posts: 3433

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: 70

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
10010025
Posts: 235

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 - 329 downloads)

^ Top
ap·pren·ticeGuru

Veteran
100
Posts: 123

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
10010025
Posts: 235

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 - 350 downloads)

^ Top
ap·pren·ticeGuru

Veteran
100
Posts: 123

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

Member

Posts: 6

Joined: 12/29/2014
Location: USA

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!
^ Top
01439

Regular
2525
Posts: 63

Joined: 5/24/2006

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 4/17/2020 2:41 PM
Post #31018 - In reply to #30743

Thank You Thomas. I wish Nirvana would post code from TASC like they did in the early years.
^ Top
THOMAS HELGET

Elite
500100
Posts: 610

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

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 4/17/2020 2:44 PM
Post #31019 - In reply to #31018

01439:

Me too. Me too.

It sure would save me a lot of time and increase the credibility of Nirvana Systems to the trading world.

Tom Helget
^ Top
ap·pren·ticeGuru

Veteran
100
Posts: 123

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

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 4/17/2020 3:32 PM
Post #31020 - In reply to #30740


... more viewership, audience, and free marketing to the world ... and the code pops up in google search results. Nice bang for no bucks -:), unless N has to pay to insert the code for each publication... TASC may count possibly as an Ad-display.
^ Top
Vinay

Regular
2525
Posts: 70

Joined: 1/18/2012
Location: Planet Earth

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 4/18/2020 12:20 AM
Post #31022 - In reply to #30740

It was Jeremy Williams who used to post code in TASC. After his departure couple of years ago no one has come to step into his shoes.


[Edited by Vinay on 4/18/2020 12:21 AM]

^ Top
wolf

Veteran
10025
Posts: 135

Joined: 4/21/2011
Location: Germany

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 4/19/2020 12:43 AM
Post #31024 - In reply to #30740

Thank you to Thomas and Mel for sharing the coding.

I support as well the postings by several forum members reflecting the free publishing of TASC codes by Nirvana for indicators/strategies published by TASC as done in the past by Jeremy Williams

Wolfgang

P.S: I wish all to stay fit an well and not to become infected seriously by corona

[Edited by wolf on 4/19/2020 12:51 AM]

^ Top
JB

Legend
10010010010025
Posts: 434

Joined: 6/6/2006

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 4/22/2020 5:56 PM
Post #31051 - In reply to #30740

Hi folks Thanks for posting this to all involved I have copied Mels dual indicator over and it looks terrific. Has any one tried running this up against $Tick could be interesting.
JB
^ Top
Kasper

Member

Posts: 6

Joined: 12/29/2014
Location: USA

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 6/28/2021 12:44 PM
Post #31519 - In reply to #30743

Hi Thomas, thank you for this. Can you help us out with the color coding of the chart (background colors red/green) - how?

Kasper
^ Top
THOMAS HELGET

Elite
500100
Posts: 610

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

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 6/28/2021 1:52 PM
Post #31520 - In reply to #31519

Kasper:

Sure, no problem.

Attached is the Chart Template I show way above in this thread.

Just download it and copy it into your OT2021 ChartTemplates Folder and then start OT up and select it as your active template on your price chart.

Tom Helget
Attached file : Trendflex.otd (168KB - 192 downloads)

^ Top
Kasper

Member

Posts: 6

Joined: 12/29/2014
Location: USA

User Profile
 
Subject : RE: Ehler's Trendflex Indicator
Posted : 6/29/2021 10:41 AM
Post #31521 - In reply to #31520

Thank you Thomas, this is such a great indicator/system.

Cheers,
Kasper
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.