Support Board
Date/Time: Sun, 23 Feb 2025 08:48:26 +0000
Native Premier Stochastics Request
View Count: 812
[2020-11-06 04:05:26] |
cmet - Posts: 643 |
Is it possible to get a native version of Lee Leibfarth's Premier Stochastic added to Sierrachart? Originally released in the August 2008 issue of Technical Analysis of STOCKS & COMMODITIES. http://traders.com/Documentation/FEEDbk_docs/2008/08/TradersTips/TradersTips.html SC Tom, if you have time, perhaps you can take a look at this. |
[2021-01-31 00:28:50] |
cmet - Posts: 643 |
If any Sierrachart custom coders can make a proper version of this using the Sierrachart InputData set, please message me with cost/time to complete. Easily one of the best versions of Stochastics out there. Code from above article: Indicator: PremierStochasticRS
inputs: Line1( 0.9 ), Line2( 0.2 ), StochLength( 8 ), Period( 25 ), ColorPremier( Yellow ), ColorLine1( Magenta ), ColorLine2( Red ), ColorLine3( DarkGreen ), ColorLine4( Green ) , TextColor1( White ), TextColor2( White ), TextColor3( White ), TextColor4( Black ) ; variables: DummyVar( 0 ), oFastK( 0 ), oFastD( 0 ), oSlowK( 0 ), oSlowD( 0 ), Length( 0 ), NormStoch( 0 ), SmoothStoch( 0 ), eValue( 0 ), Premier( 0 ) ; DummyVar = Stochastic( High, Low, Close, StochLength, 1, 3, 1, oFastK, oFastD, oSlowK, oSlowD ) ; Length = iff( Period < 0, 1, SquareRoot( Period ) ) ; NormStoch = 0.1 * ( oSlowK - 50 ) ; SmoothStoch = XAverage( XAverage( NormStoch, Length ), Length ) ; eValue = ExpValue( SmoothStoch ) ; Premier = ( eValue - 1 ) / ( eValue + 1 ) ; Plot1( Premier, "Premier" ) ; if Premier crosses over Line1 then begin SetPlotBGColor( 1, ColorLine1 ) ; SetPlotColor( 1, TextColor1 ) ; end else if Premier crosses over Line2 then begin SetPlotBGColor( 1, ColorLine2 ) ; SetPlotColor( 1, TextColor2 ) ; end else if Premier crosses under -Line1 then begin SetPlotBGColor( 1, ColorLine3 ) ; SetPlotColor( 1, TextColor3 ) ; end else if Premier crosses under -Line2 then begin SetPlotBGColor( 1, ColorLine4 ) ; SetPlotColor( 1, TextColor4 ) ; end ; |
[2021-02-01 11:32:46] |
|
We will look this over.
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 |
[2021-02-10 22:49:54] |
SC Support Tom - Posts: 450 |
This study has been coded and submitted to Sierra Chart Engineering. It will be available soon; just keep updating your version of Sierra Chart. The study will function as documented here: Premier Stochastic Oscillator In my research of this study, I saw variations among the formulas. Some use Fast %K as the basis Stochastic, and others (such as the code in Post #2) use Slow %K. To resolve this, I included an Input that allows the user to choose which Stochastic he wants to use as the basis: Fast %K, Fast %D (Slow %K), or Slow %D. |
[2021-02-10 23:12:26] |
cmet - Posts: 643 |
Awesome. Thanks. Perhaps if you're bored or have time you can look at doing a version of John Ehlers's Even Better Sine Wave. Another great timing tool that doesn't have a version on this platform. Post with official code here: Ehlers Even Better Sine Wave |
[2021-02-11 01:31:13] |
SC Support Tom - Posts: 450 |
WRT Post #5: Perhaps if you're bored or have time you can look at doing a version of John Ehlers's Even Better Sine Wave. Another great timing tool that doesn't have a version on this platform. Ehlers is certainly on my radar. I have been reading his books Rocket Science for Traders and Cybernetic Analysis for Stocks and Futures, and I would like to get all of his indicators coded into Sierra Chart. Ehlers frequently re-uses the same functions (like the Super Smoother Filter in the code that you linked to). I could code this study right away as is, but would I rather first collect and code all of those functions so that I can easily call them. Then I can systematically bring the entire suite of Ehlers indicators into SC. So for this one I am inclined to put it on the back burner for now with a plan to eventually get to it. Date Time Of Last Edit: 2021-02-11 02:59:56
|
To post a message in this thread, you need to log in with your Sierra Chart account: