Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
i co macu for Amibroker (AFL)
Copy & Paste Friendly
Back
prds = Param( "Standard Line Periods", 13, 5, 26, 1 ); turn = Param( "Turning Line Periods", 3, 3, 10, 1 ); delay = Param( "Delayed Line Periods", 12, 4, 25, 1 ); span = Param( "Spans Periods", 16, 10, 52, 1 ); TL = ( HHV( H, turn ) + LLV( L, turn ) ) / 2; SL = ( HHV( H, prds ) + LLV( L, prds ) ) / 2; DL = Ref( C, delay ); Sp1 = ( SL + TL ) / 2; Sp2 = ( HHV( H, span ) + LLV( L, span ) ) / 2; _N( Title = StrFormat( "{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " + WriteVal( V, 1.0 ) + " {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) ); Plot( C, "Close", colorDefault, styleNoTitle | GetPriceStyle() ); Plot( SL, "SL", colorRed, styleThick | styleNoLabel ); Plot( TL, "TL", colorGreen, styleThick | styleNoLabel ); color = IIf( Sp1 > Sp2, ParamColor( "Span1 Color", ColorRGB( 0, 255, 0 ) ), ParamColor( "Span2 Color", ColorRGB( 255, 104, 32 ) ) ); PlotOHLC ( Sp1, Sp1, Sp2, Sp2, "Cloud", Color, styleCloud | styleNoLabel, Null, Null, delay, -2 );