NexusFi: Find Your Edge


Home Menu

 





Hilbert Sine Wave SR for SierraChart


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one pbeguin with 1 posts (4 thanks)
    2. looks_two ChrisTinaBruce with 1 posts (1 thanks)
    3. looks_3 omaha786 with 1 posts (3 thanks)
    4. looks_4 johnnyte with 1 posts (2 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 5,902 views
    2. thumb_up 10 thanks given
    3. group 5 followers
    1. forum 3 posts
    2. attach_file 1 attachments




 
Search this Thread
  #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 S/R 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:	707
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?
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #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 S/R 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 X 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...

https://nexusfi.com/download/vip_elite_circle/1134-download.html


Reply With Quote
Thanked by:




Last Updated on February 14, 2017


© 2026 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 - Downloads - Top
no new posts