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 ....
GOPIKRISHNA for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("OsMA"); r1 = Param( "Fast avg", 40, 0, 200, 1 ); r2 = Param( "Slow avg", 50, 0, 200, 1 ); r3 = Param( "Signal avg", 100, 0, 200, 1 ); ml = MACD(r1, r2); sl = Signal(r1,r2,r3); OsMA= (2*ml)-sl; Plot(0,"",colorBlack,styleDashed); Col=IIf(OsMA<0,IIf(OsMA>Ref(OsMA,-1),colorWhite,colorRed),IIf(OsMA<Ref(OsMA,-1),colorWhite,colorBrightGreen)); Plot( OsMA, "", Col, styleThick | styleHistogram |styleNoLabel); Plot( OsMA, "\nOsMA ("+r1+", "+r2+", "+r3+"): ", colorBlack, styleThick ); _SECTION_END(); _SECTION_BEGIN(""); GfxSetOverlayMode(0); GfxSelectPen( colorRed, 3 ); GfxSelectSolidBrush( colorLightYellow ); GfxRoundRect( 350, 38,665, 70, 15, 15 ); GfxSetBkMode(1); GfxSelectFont( "Arial", 17.5, 700, False ); GfxSetTextColor( colorBrown ); GfxSetTextAlign(0); GfxSetTextColor( colorBlack ); GfxTextOut( " Last Traded Price = "+ BuyPrice , 350, 40); _SECTION_END();