Sine Wave Indicators in TradeStation - futures io
futures io



Sine Wave Indicators in TradeStation


Discussion in TradeStation

Updated
      Top Posters
    1. looks_one vmodus with 10 posts (3 thanks)
    2. looks_two kjhosken with 2 posts (0 thanks)
    3. looks_3 leescharf with 2 posts (0 thanks)
    4. looks_4 Ferritin with 1 posts (0 thanks)
    1. trending_up 3,477 views
    2. thumb_up 5 thanks given
    3. group 8 followers
    1. forum 16 posts
    2. attach_file 5 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Sine Wave Indicators in TradeStation

(login for full post details)
  #1 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received

Hello everyone! I have been learning about sine waves with respect to smoothing and I was wondering if there is an indicator in TradeStation that uses sine waves. I don't see one, but that doesn't mean it doesn't exist. This is totally exploratory, as I know almost nothing about sine waves (with respect to markets, that is). I am looking for an indicator that they provide.

I also use Sierra Chart and I have been exploring Sine Wave Weighted Moving Average, which looks a little like this:

If I can't find one for TradeStation, I may try to develop one in EasyLanguage. I know there are some commercial products out there, but I don't want to purchase anything without a base understanding of how it works.

Any help is appreciated!

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(240 thanks from 25 posts)
looks_twoSalao's Journalby Salao
(60 thanks from 12 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(48 thanks from 18 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(37 thanks from 15 posts)
looks_5Maybe a little bit different journalby Malykubo
(17 thanks from 16 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Crude Dude Oil Trading System
83 thanks
Big Mike in Ecuador
76 thanks
Help improve the FIO community
41 thanks
The New Micro Contract - MICRO BITCOIN coming May 2021
29 thanks
Webinar: Seven Trading Mistakes Solved With Smart Tradin …
26 thanks
 
(login for full post details)
  #2 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received

Okay, I'm a dork and answering my own question. Here is what I found over on TradeStation forum (now that I'm actually able to get in there): Sinewave Indicator

This appears to be the Hilbert Sinewave. Here is what it looks like on the @YM 60 minute chart from today:


I have attached the ELD for the code provided there. I cleaned up the inputs and variables.

Since I am just learning this, I don't know what I am looking at. I just thought I would share if anyone is interested.

Attached Files
Register to download File Type: eld Z HILBERT SINEWAVE.ELD (14.6 KB, 58 views)
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #3 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received


So the thing missing here are the plots on the main chart. Using Sierra Chart for reference, I uploaded the custom study found here: Hilbert Sine Wave SR V1 for SierraChart

This is what it looks like in Sierra Chart:


Now I just need to plot the points and see what I get. I will upload the indicator if I get it working.

~vmodus

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,238 since Apr 2013
Thanks: 417 given, 1,489 received

Hi vmodus,

the easiest approach might be to do a separate indicator that handles the plots on the main chart or add the ability to enable/disable plots within the indicator using inputs and add the indicator twice to the chart. Otherwise you would have to use drawing objects to walk around the limitation of being able to plot in two different subcharts from within one study.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
The following user says Thank You to ABCTG for this post:
 
(login for full post details)
  #5 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received

Thanks. Yeah, that sounds about right. Hopefully I can get a stable version working that I can share with the community.

I'm digging into Ehler's books to garner a better understanding of the approach. I know Big Mike did a couple of webinars with Ehler that I will watch later this week. Here are the links to the YouTube videos for anyone interested:

John Ehlers Anticipating Turning Points:

John Ehlers - Effective Indicators for Trading Strategies:

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
The following user says Thank You to vmodus for this post:
 
(login for full post details)
  #6 (permalink)
Ferritin
Hialeah + Florida United States
 
 
Posts: 6 since Jan 2019
Thanks: 4 given, 2 received

Keep us updated with your progress, any insight you share would be greatly appreciated!

Reply With Quote
 
(login for full post details)
  #7 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received

I'm currently reading Rocket Science for Traders, by John Ehlers, to get a better understanding of his method of smoothing. It is pretty heavy on the math around signal processing. I have played around with sound waves a lot in my life, just tooling around as a hobby, so I understand about filtering, etc. Unless you have had training or education in this field, it is a little difficult to understand (I have neither), but you don't completely need to understand the underlying math to apply these techniques.

I want to have a solid understanding of the methodology prior to making any assumptions about the usefulness. So far, though, I like what I'm reading.

I fell behind on this indicator due to my Tradestation crash (Black Tuesday) and subsequent recovery. In the meantime, here is what I found on the Tradestation community forums: Oscillators by John Ehlers

This is a collection of indicators by mmillar, based on Ehlers' work. I have uploaded the ELD file from that post. Hopefully I'm not violating any great rule, but there is no copyright, copyleft, or license indicated as far as I can tell. Use at your own peril. Here is one example of smoothing, using the Osc - AdaptCCI indicator against the built-in CCI Average, length = 14:


We see the smoothing on this particular indicator after big moves, meaning we don't see as much chop or the 'V' formations. Not sure if this is useful or what this means, but maybe someone will find this useful.


“I should think that you Jedi would have more respect for the difference between knowledge and wisdom.”
~ Dexter “Dex” Jettster, Star Wars Episode II

Attached Files
Register to download File Type: eld 20050810100708OSCILLATORS.ELD (33.8 KB, 30 views)
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #8 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received

I haven't come back to this thread, as I didn't make any headway on this indicator. As I have continued reading Ehler's work, I think the indicator is outdated. It is very difficult to understand it as it moves from trend to range and back again. His later indicators are a lot easier to understand and use.

~vmodus

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #9 (permalink)
 kjhosken 
Seattle, WA/USA
 
Experience: Intermediate
Platform: TOS, TS
Trading: Forex, crude
 
Posts: 90 since Sep 2016
Thanks: 7 given, 32 received

Thanks for posting your work. I agree, the sinewave indicator has always looked clunky to me. Would you recommend reading Rocket Science for traders? I've been meaning to look into it for sometime.

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #10 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received


@kjhosken , I would recommend reading it, but it may take multiple reads unless you are familiar with the type of math he does. If you can borrow it, all the better. Ehler's later works are better, I believe, but Rocket Science gives a good starting foundation for his ideas. 'Cycle Analytics for Traders' is his penultimate and his best work, imho.

One thing I will say is that what he provides are just additional tools and generally not meant to be used individually. His goal is to have indicators with zero (or near zero) lag. That's pretty much the crux of his work.

Also, look on FIO's YouTube channel and search for Ehlers. @Big Mike did a couple webinars with Ehlers that are interesting:
FIO YouTube Channel

~vmodus

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
The following 2 users say Thank You to vmodus for this post:
 
(login for full post details)
  #11 (permalink)
 kjhosken 
Seattle, WA/USA
 
Experience: Intermediate
Platform: TOS, TS
Trading: Forex, crude
 
Posts: 90 since Sep 2016
Thanks: 7 given, 32 received

Thanks, I will make sure to check those webinars out!

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #12 (permalink)
leescharf
New York, NY
 
 
Posts: 17 since Aug 2020
Thanks: 4 given, 8 received


vmodus View Post
So the thing missing here are the plots on the main chart. Using Sierra Chart for reference, I uploaded the custom study found here:


Now I just need to plot the points and see what I get. I will upload the indicator if I get it working.

~vmodus


@vmodus

Hi, thanks for much for all the great insights... do you have the EL code for just the Hilbert sine wave (the oscillator and the graph plots)? As pictured in your post on March 11th, 2019, 10:51 PM

Many thanks.

-Lee

Reply With Quote
 
(login for full post details)
  #13 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received


leescharf View Post
@vmodus

Hi, thanks for much for all the great insights... do you have the EL code for just the Hilbert sine wave (the oscillator and the graph plots)? As pictured in your post on March 11th, 2019, 10:51 PM

Many thanks.

-Lee

Hello Lee.... you are very welcome. It is has been a while, and the screenshot for that was from Sierra Chart. I have three Hilbert indicators in TradeStation, so here you go:



This is from Ehler's Cycle Analytics for Traders.

Here is what I have in TradeStation (EL):

~vmodus

Enjoy everything!
Attached Files
Register to download File Type: eld HILBERT STUFF.ELD (28.4 KB, 10 views)
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #14 (permalink)
leescharf
New York, NY
 
 
Posts: 17 since Aug 2020
Thanks: 4 given, 8 received


vmodus View Post
Hello Lee.... you are very welcome. It is has been a while, and the screenshot for that was from Sierra Chart. I have three Hilbert indicators in TradeStation, so here you go:


This is from Ehler's Cycle Analytics for Traders.

Here is what I have in TradeStation (EL):

@vmodus

Again, so much appreciated! Do any of these print the support and resistance (dots) on the chart/bars themselves???

-Lee

Reply With Quote
 
(login for full post details)
  #15 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received


leescharf View Post
@vmodus

Again, so much appreciated! Do any of these print the support and resistance (dots) on the chart/bars themselves???

-Lee

The purpose (to paraphrase Ehlers) is to provide 'predictive turning points'. Support and resistance do not come into his discussion.

I wanted to add, he says the 'Hilbert Transform' is the indicator to look at.... the Hilbert Classic is can introduce too much lag or too many variants.

The third indicator, Hilbert Analytic, I have no idea about. It is a lot smoother than the Transform.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #16 (permalink)
mktdemon
WORTHING
 
 
Posts: 1 since Feb 2021
Thanks: 0 given, 1 received

i use mesa sometimes

Reply With Quote
The following user says Thank You to mktdemon for this post:
 
(login for full post details)
  #17 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,054 since Feb 2017
Thanks: 2,287 given, 2,201 received


mktdemon View Post
i use mesa sometimes

Thanks! I have two questions, if you do not mind answering:

1) What is your opinion of it?
2) How do you use it?

Thanks!

~vmodus

Enjoy everything!
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators TradeStation > Sine Wave Indicators in TradeStation


Last Updated on March 4, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1,800 in prizes!

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts