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 ....
PLOTTEXT for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | _SECTION_BEGIN ( "PLOTTEXT" ); Plot ( C , "Price" , colorBlack , styleLine ); Plot ( MA ( C ,20), "MA20" , colorRed ); Buy = Cross ( C , MA ( C ,20 ) ); Sell = Cross ( MA ( C , 20 ), C ); dist = 1.5* ATR (10); for ( i = 0; i < BarCount ; i++ ) { if ( Buy [i] ) PlotText ( "Buy\n@" + C [ i ], i, L [ i ]-dist[i], colorGreen ); if ( Sell [i] ) PlotText ( "Sell\n@" + C [ i ], i, H [ i ]+dist[i], colorRed , colorYellow ); } PlotShapes ( Buy * shapeUpArrow + Sell * shapeDownArrow , IIf ( Buy , colorGreen , colorRed ) ); _SECTION_END (); |