Current location | Thread information | |
![]() ![]() ![]() ![]() ![]() ![]() |
Last Activity 7/6/2025 3:47 AM 24 replies, 6598 viewings |
|
|
Printer friendly version |
^ Top | |||
THOMAS HELGET![]() Elite ![]() ![]() Posts: 610 Joined: 3/22/2006 Location: BALDWINSVILLE, NEW YORK ![]() |
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 ![]() | ||
^ Top | |||
THOMAS HELGET![]() Elite ![]() ![]() Posts: 610 Joined: 3/22/2006 Location: BALDWINSVILLE, NEW YORK ![]() |
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] ![]() ![]() ![]() | ||
^ Top | |||
Greg![]() Legend ![]() ![]() ![]() ![]() Posts: 337 Joined: 3/22/2006 Location: Mishawaka, IN 46544 ![]() |
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 ![]() ![]() ![]() ![]() Posts: 190 Joined: 7/23/2012 Location: Citrus Springs, FL ![]() |
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 ![]() ![]() ![]() ![]() Posts: 337 Joined: 3/22/2006 Location: Mishawaka, IN 46544 ![]() |
thanks I will try again | ||
^ Top | |||
Greg![]() Legend ![]() ![]() ![]() ![]() Posts: 337 Joined: 3/22/2006 Location: Mishawaka, IN 46544 ![]() |
Success | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() |
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. ![]() | ||
^ Top | |||
THOMAS HELGET![]() Elite ![]() ![]() Posts: 610 Joined: 3/22/2006 Location: BALDWINSVILLE, NEW YORK ![]() |
Jim: Thanks, yes, I see. Tom Helget | ||
^ Top | |||
mholstius![]() Regular ![]() ![]() ![]() Posts: 76 Joined: 6/15/2011 ![]() |
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 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() |
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 ![]() ![]() Posts: 70 Joined: 1/18/2012 Location: Planet Earth ![]() |
Jim...I think underscore in the file name is also not allowed. | ||
^ Top | |||
Mel![]() Veteran ![]() ![]() ![]() Posts: 235 Joined: 3/18/2006 ![]() |
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. ![]() | ||
^ Top | |||
ap·pren·ticeGuru![]() Veteran ![]() Posts: 123 Joined: 10/22/2010 Location: Columbia, MD ![]() |
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 ![]() ![]() ![]() Posts: 235 Joined: 3/18/2006 ![]() |
I have combine the two indicators in this code Mel ![]() | ||
^ Top | |||
ap·pren·ticeGuru![]() Veteran ![]() Posts: 123 Joined: 10/22/2010 Location: Columbia, MD ![]() |
Ohhh wow, thank you soooo much, Mel. Cheers. | ||
^ Top | |||
Kasper![]() Member Posts: 6 Joined: 12/29/2014 Location: USA ![]() |
Wow this is great. Thanks to all! | ||
^ Top | |||
01439![]() Regular ![]() ![]() Posts: 63 Joined: 5/24/2006 ![]() |
Thank You Thomas. I wish Nirvana would post code from TASC like they did in the early years. | ||
^ Top | |||
THOMAS HELGET![]() Elite ![]() ![]() Posts: 610 Joined: 3/22/2006 Location: BALDWINSVILLE, NEW YORK ![]() |
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 ![]() Posts: 123 Joined: 10/22/2010 Location: Columbia, MD ![]() |
... 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 ![]() ![]() Posts: 70 Joined: 1/18/2012 Location: Planet Earth ![]() |
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 ![]() ![]() Posts: 135 Joined: 4/21/2011 Location: Germany ![]() |
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 ![]() ![]() ![]() ![]() ![]() Posts: 434 Joined: 6/6/2006 ![]() |
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 ![]() |
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 ![]() ![]() Posts: 610 Joined: 3/22/2006 Location: BALDWINSVILLE, NEW YORK ![]() |
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 ![]() | ||
^ Top | |||
Kasper![]() Member Posts: 6 Joined: 12/29/2014 Location: USA ![]() |
Thank you Thomas, this is such a great indicator/system. Cheers, Kasper |
|
|
Legend | Action | Notification | |||
Administrator
Forum Moderator |
Registered User
Unregistered User |
![]() |
Toggle e-mail notification |