Support Board
Date/Time: Fri, 31 Jan 2025 03:09:05 +0000
Hurst Bands
View Count: 2094
[2019-04-07 00:09:01] |
tomtom - Posts: 53 |
Could this study be added please
|
[2019-04-09 06:06:50] |
Sierra Chart Engineering - Posts: 104368 |
We will look into this.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-04-11 17:29:24] |
SC Support Tom - Posts: 450 |
Hi tomtom. Here is the only online source that I have been able to find on Hurst Bands. It is written in PineScript. Do you know of any other online sources? https://www.tradingview.com/script/yl3pK2zM-Indicators-Hurst-Bands-and-Hurst-Oscillator/ Date Time Of Last Edit: 2019-04-11 17:29:48
|
[2019-04-12 06:47:20] |
tomtom - Posts: 53 |
Hi thanks looking there is a script from tradesignalonline written with there equilla language, its similar to easy language from tradestation source https://www.tradesignal.com/programming-language-equilla/?lang=en Equilla "Hurst Bands" Meta: Author("Clyde Lee, www.theswingmachine.com"), Synopsis("The Hurst Bands are displaced volatility bands."), Weblink("http://www.tradesignalonline.com/lexicon/edit.aspx?id=17964"), Subchart( False ); Input: Price1(MedianPrice), Length1(10), ChanWid1(1), Price2(MedianPrice), Length2(60), ChanWid2(3); Vars: ChanHi1(0), ChanLo1(0), WidChan1(Iff(ChanWid1>0,hanWid1,ChanWid1*.001)), Ave1(0), ATR1(0), SetBack1(IntPortion((Length1-1)/2)+1), ChanHi2(0), ChanLo2(0), WidChan2(Iff(ChanWid2>0,hanWid2,ChanWid2*.001)), Ave2(0), ATR2(0), SetBack2(IntPortion((Length2-1)/2)+1) ,Ipass(0); Hurst_InnerChannel( Price1, Length1, ChanWid1 ); Hurst_OuterChannel( Price2, Length2, ChanWid2 ); // *** Copyright tradesignal GmbH *** // *** www.tradesignal.com *** Function "Hurst_InnerChannel" Inputs: Price1(NumericSeries), Length1(NumericSimple), ChanWid1(NumericSimple); Vars: ChanHi1(0), ChanLo1(0), WidChan1(Iff(ChanWid1>0,hanWid1,ChanWid1*.001)), Ave1(0), ATR1(0), IPass, SetBack1(IntPortion((Length1-1)/2)+1); If Length1>0 and Ipass=0 then begin Ave1 = Average(Price1,ength1); ATR1 = AvgTrueRange(Length1); ChanHi1= Ave1+ATR1*WidChan1; ChanLo1= Ave1-ATR1*WidChan1; Plot1[SetBack1](ChanHi1,HH1"); Plot2[SetBack1](ChanLo1,"HL1"); If IsLastBar then Begin Print("Test Kanal außen" ); Value5 = (Ave1-Ave1[SetBack1])/SetBack1; For Value1 = SetBack1-1 downto 0 begin Value3=0; Value4=Value1*2; For Value2=0 to Value4 Value3=Value3+Price1[Value2]; Ave1=Value3/(Value4+1); ChanHi1= Ave1+ATR1*WidChan1; ChanLo1= Ave1-ATR1*WidChan1; Plot1[Value1](ChanHi1,"HH1"); Plot2[Value1](ChanLo1,"HL1"); End; End; End; Hurst_InnerChannel = 0; Function "Hurst_OuterChannel" Inputs: Price2( NumericSeries ), Length2( NumericSimple ), ChanWid2( NumericSimple ); Vars: ChanHi2(0), ChanLo2(0), WidChan2(Iff(ChanWid2>0,hanWid2,ChanWid2*.001)), Ave2(0), ATR2(0), SetBack2(IntPortion((Length2-1)/2)+1) ,Ipass(0); If Length2>0 and Ipass=0 then begin Ave2 = Average(Price2,ength2); If ChanWid2>0 then ATR2 = AvgTrueRange(Length2) else ATR2 = C; ChanHi2= Ave2+ATR2*WidChan2; ChanLo2= Ave2-ATR2*WidChan2; Plot3[SetBack2](ChanHi2,HH2"); Plot4[SetBack2](ChanLo2,"HL2"); If IsLastBar then Begin Print("Test Kanal innen" ); Value5 = (Ave2-Ave2[SetBack2])/SetBack2; For Value1 = SetBack2-1 downto 0 begin Value3=0; Value4=Value1*2; For Value2=0 to Value4 Value3=Value3+Price2[Value2]; Ave2=Value3/(Value4+1); ChanHi2= Ave2+ATR2*WidChan2; ChanLo2= Ave2-ATR2*WidChan2; Plot3[Value1](ChanHi2,"HH2"); Plot4[Value1](ChanLo2,"HL2"); End; If Length2=0 then IPass=1; End; End; Hurst_OuterChannel = 0; [img]https://up.picr.de/35491734ox.png[/img] i tried the hurstbands or hurstchannel from MT4 but its different signals although they are the same parameters so i prefer the above version |
[2019-04-12 16:34:31] |
SC Support Tom - Posts: 450 |
Hi again tomtom. I went with the PineScript version from Tradingview from Post #3. I have finished coding it and I have submitted it to Sierra Chart Engineering for addition to the repository.
|
To post a message in this thread, you need to log in with your Sierra Chart account: