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 ....
DPO-Style Parameters, color for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | _SECTION_BEGIN ( "DPO" ); Version (5.00); SetChartBkGradientFill ( ParamColor ( "Backgroud Top Color" , colorWhite ), ParamColor ( "Background Bottom Color" , colorWhite )); function DetrendedPriceOsc( Periods ) { return C - Ref ( MA ( C , Periods ), -( 1 + Periods/2 ) ); } Plot ( s=DetrendedPriceOsc( Param ( "Periods" , 20, 1, 100 ) ), _DEFAULT_NAME (), ParamColor ( "Color" , colorCycle ), ParamStyle ( "Style" )); _SECTION_END (); _SECTION_BEGIN ( "0" ); Plot (k=0, "" , ParamColor ( "ColorZero" , colorBlueGrey ), styleLine ); { SK=s; SD=k; } { SK=s; SD=k; } Buy = Cross ( SK, SD); Sell = Cross ( SD, SK); PlotShapes ( IIf ( Buy , shapeUpArrow , shapeNone ) , colorGreen ); PlotShapes ( IIf ( Sell , shapeDownArrow , shapeNone ), colorRed ); Color = IIf ( s > k, ParamColor ( "s Color" , colorLightYellow ) , ParamColor ( "k Color" , colorRed ) ); PlotOHLC ( s, s, k, k, "" , Color, styleCloud | styleNoLabel , Null , Null ); _SECTION_END (); |