NexusFi: Find Your Edge


Home Menu

 





Hilbert Sine Wave SR for SierraChart


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one omaha786 with 1 posts (3 thanks)
    2. looks_two johnnyte with 1 posts (2 thanks)
    3. looks_3 pbeguin with 1 posts (4 thanks)
    4. looks_4 ChrisTinaBruce with 1 posts (1 thanks)
      Best Posters
    1. looks_one pbeguin with 4 thanks per post
    2. looks_two omaha786 with 3 thanks per post
    3. looks_3 johnnyte with 2 thanks per post
    4. looks_4 ChrisTinaBruce with 1 thanks per post
    1. trending_up 4,894 views
    2. thumb_up 10 thanks given
    3. group 5 followers
    1. forum 3 posts
    2. attach_file 1 attachments




 
Search this Thread

Hilbert Sine Wave SR for SierraChart

  #1 (permalink)
 omaha786 
San Diego, California
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158

Just uploaded a Hilbert Sine Wave SR for SierraChart. The code is based on the original source code by @pbeguin in the Elite Circle download section. While working on the SR version, there is one line of code I am not sure whether it's correct or not.

Smooth[i] = (4*Price[i] + 3*Price[i-1] + 2*Price[i-2] + Price[i-3])*10;

From my understand, it's supposed to be a 4 period WMA, so should "*10" (times 10) be "/10" (divided by 10)?

I googled EasyLanguage Hilbert Sine Wave and found a piece of code in post 9 of the thread Help coding [AUTOLINK]S/R[/AUTOLINK] on Sinewave Crossing! Please... @ Forex Factory It is "/10" in the code.

I will correct the SR version once pbeguin confirms. I noticed that it's also "*10" in cory's Hilbert SW Ninjascript.

Attached Thumbnails
Click image for larger version

Name:	hsw-sr.png
Views:	615
Size:	67.6 KB
ID:	63783  
Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
About a successful futures trader who didnt know anythin …
Psychology and Money Management
What broker to use for trading palladium futures
Commodities
Cheap historycal L1 data for stocks
Stocks and ETFs
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #2 (permalink)
 pbeguin 
West Hills, CA
 
Experience: Beginner
Platform: OEC Trader, MC/DT
Broker: OEC
Trading: TF
Posts: 12 since Oct 2009
Thanks Given: 7
Thanks Received: 22

I think you'll find that the end result will be the same whether you use *10 or /10 because the sinewave really doesn't care about the absolute values of the price. If the price of an actual instrument gets multiplied by 10 or divided by 10, the sinewave of those price series should be exactly the same.

Reply With Quote
Thanked by:
  #3 (permalink)
 
ChrisTinaBruce's Avatar
 ChrisTinaBruce 
Dallas, TX
 
Experience: Intermediate
Platform: TradeStation/Sierra Chart
Broker: Tradestation
Trading: ES
Posts: 66 since Oct 2012
Thanks Given: 56
Thanks Received: 33


I loaded this indictor directly from Sierra but I am not getting the S/R lines on main chart. Any suggestions?
Thanks,
Chris


omaha786 View Post
Just uploaded a Hilbert Sine Wave SR for SierraChart. The code is based on the original source code by @pbeguin in the Elite Circle download section. While working on the SR version, there is one line of code I am not sure whether it's correct or not.

Smooth[i] = (4*Price[i] + 3*Price[i-1] + 2*Price[i-2] + Price[i-3])*10;

From my understand, it's supposed to be a 4 period WMA, so should "*10" (times 10) be "/10" (divided by 10)?

I googled EasyLanguage Hilbert Sine Wave and found a piece of code in post 9 of the thread Help coding [AUTOLINK]S/R[/AUTOLINK] on Sinewave Crossing! Please... @ Forex Factory It is "/10" in the code.

I will correct the SR version once pbeguin confirms. I noticed that it's also "*10" in cory's Hilbert SW Ninjascript.


Follow me on Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 
johnnyte's Avatar
 johnnyte 
Boston Ma/USA
 
Experience: Intermediate
Platform: Sierra Chart, Bookmap
Trading: ES
Posts: 16 since Oct 2015
Thanks Given: 85
Thanks Received: 13


ChrisTinaBruce View Post
I loaded this indictor directly from Sierra but I am not getting the S/R lines on main chart. Any suggestions?
Thanks,
Chris

In case you were still looking for this...


Reply With Quote
Thanked by:




Last Updated on February 14, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts