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 ....
Marketlogy.com for Amibroker (AFL)
Copy & Paste Friendly
Back
///////////////////////////\\Magnified Price\\//////////////////////////////////////////////////
_SECTION_BEGIN("Magfied Market Price");
FS=30;
GfxSelectFont("Times New Roman", FS, 700, True );
GfxSetBkMode( colorWhite );
for( i = 0; i < BarCount; i++ )
CColor = IIf(C[i]==O[i], colorYellow, IIf(C[i]>O[i], colorLime, colorRed));
GfxSetTextColor( Ccolor );
Hor=900;
Ver=10;
GfxTextOut(""+C, Hor , Ver );
YC=TimeFrameGetPrice("C",inDaily,-1);
DD=Prec(C-YC,2);
xx=Prec((DD/YC)*100,2);
GfxSelectFont("Times New Roman", 11, 700, True );
for( i = 0; i < BarCount; i++ )
CColor = IIf(C[i]==O[i], colorYellow, IIf(C[i]>O[i], colorLime, colorRed));
GfxSetTextColor(Ccolor );
GfxTextOut(""+DD+" ("+xx+"%)", Hor , Ver+45 );
///////////////////////////\\Magnified Price\\//////////////////////////////////////////////////
See Throuth Bar Replay