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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | _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 (); |