Nice Looking Plain Candlestick chart |
//www.aflcode.com SetChartOptions(0,chartShowDates); SetChartBkColor(16); GraphXSpace=Param("GraphXSpace",10,-100,100,1); SetBarFillColor(IIf(O>C,24,19)); Plot(C,"Price",IIf(O>C,32,34),64); dtn=DateNum(); haC=EMA((O+H+L+C)/4,3); haO=AMA(Ref(haC,-1),0.5); haH=Max(H,Max(haC,haO)); haL=Min(L,Min(haC,haO)); _SECTION_BEGIN("Name"); GfxSetOverlayMode(1); pxh= Status("pxHeight"); pxw=Status("pxWidth"); GfxSelectFont("Tahoma",pxh/8); GfxSetTextColor(ColorHSB(42,42,42)); GfxSetTextAlign(6); GfxSetBkMode(0); //GfxTextOut(Name(),pxw/2,pxh/12); GfxSelectFont("Tahoma",pxh/18); //GfxTextOut(IndustryID(1),pxw/2,pxh/4); GfxSelectFont("Tahoma",pxh/18); GfxSelectFont("Tahoma",pxh/36); GfxTextOut("Sup/Res",pxw/2,pxh/3); _SECTION_END();
Sign up here with your email
ConversionConversion EmoticonEmoticon