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 Chart with Day Hi Lo Levels for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("Setup"); Bkg = ParamToggle ("BKG", "User|System", 0); if (Bkg == 0) { SetChartBkGradientFill( ColorRGB(102,153,204), ColorRGB(0,51,102), ColorRGB(102,153,204)); } else { } SetChartOptions(0,chartShowArrows|chartShowDates); GfxSetBkMode(0); _SECTION_END(); _SECTION_BEGIN("Price"); ColUp = colorBrightGreen; ColDn = colorRed; BodyColor = IIf(C > O, ColUp, ColDn); SetBarFillColor (BodyColor); Plot (C, "Close", BodyColor, styleCandle); PR = LastValue (Close); // Last Price Line PRCol = LastValue (BodyColor); Plot (PR, "", PRCol, styleNoTitle|styleLine|styleNoLabel, Zorder = 2); _SECTION_END(); _SECTION_BEGIN("Information"); GfxSetBkMode(0); ShowInfo = ParamToggle ("Day Levels Info", "Show|Hide", 1); x = 10; y = 20; if ( ShowInfo == 0 ) { GfxSelectPen(colorYellow,1); GfxSelectSolidBrush(colorDarkGrey); GfxRoundRect(x,y,x+140,y+80,12,12); GfxSetTextColor(colorYellow); DH = TimeFrameGetPrice ("H", inDaily, 0); DL = TimeFrameGetPrice ("L", inDaily, 0); HL = DH-DL; ColHL = colorYellow; GfxSelectFont("Verdana", 10, 400); GfxSetTextColor(ColDn); GfxTextOut ("Day High = "+ DH, x+6, y+6); GfxSetTextColor(ColUp); GfxTextOut ("Day Low = "+ DL, x+6, y+22); GfxSelectFont("Verdana", 20, 400); GfxSetTextColor(ColHL); GfxTextOut ("R = "+ HL, x+6, y+38); // Day Range ZW = Param("Zone Width", 6,2,40,2); Plot (DH, "DH", colDn, styleStaircase|styleNoRescale); Plot (DH+ZW,"DH", colDn, styleStaircase|styleNoRescale|styleNoLabel); PlotOHLC(DH,DH+ZW,DH,DH+ZW,"",ColDn, styleCloud|styleNoLabel|styleNoRescale|styleNoTitle); Plot (DL,"DL", colUp, styleStaircase|styleNoRescale); Plot (DL-ZW,"DL",colUp, styleStaircase|styleNoRescale|styleNoLabel); PlotOHLC(DL, DL-ZW,DL,DL-ZW, "", ColUp, styleCloud|styleNoLabel|styleNoRescale|styleNoTitle); } else { } _SECTION_END();