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 ....
MA Cross 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 | _SECTION_BEGIN ( "MA Cross" ); //Modified SH's 315 Strategy by Santhosh2010 // Traderji id :Santhosh2010 e1= EMA ( C ,3); e2= EMA ( H ,15); e3= EMA ( L ,15); Plot (e1, "" , colorYellow , styleDashed | styleThick ); Plot (e2, "" , colorLightYellow , styleDots ); Plot (e3, "" , colorLightYellow , styleDots ); b1= Cross (e1,e2); s1= Cross (e3,e1); Buysetup= Flip (b1,s1); Shortsetup= Flip (s1,b1); trend= IIf ( BarsSince (Buysetup)< BarsSince (Shortsetup ),1,0); Col= IIf (trend==1, colorGreen ,4); SetBarFillColor (Col); Plot ( C , "Close" ,Col,64); _SECTION_END (); |