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 ....
Price Line for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | //**********************************\\Price Line//****************************************************// FirstBar= BarCount - 15; YY= IIf ( BarIndex () >= Firstbar, EndValue ( C ), Null ); CandleColor = IIf ( C == O , colorYellow , IIf ( C > O , colorLime , colorRed )); Plot (YY, "" , LastValue (CandleColor), styleThick | styleDashed | styleNoRescale | styleNoLabel ,0,0,1); Dist= 0; for ( i = 0; i < BarCount ; i++ ) { CColor = IIf ( C [i]== O [i], colorYellow , IIf ( C [i]> O [i], colorLime , colorRed )); if (i+1== BarCount ) PlotText ( "<>" + C [ i ], i+2, YY[ i ]-Dist[i], CColor,shape=2); } //**********************************\\Price Line//****************************************************// See through Bar Replay & see Marketlogy.com |