// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN("gann intraday"); SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); //SetChartOptions(2, chartWrapTitle ); dayH=TimeFrameGetPrice("H", inDaily ); dayL=TimeFrameGetPrice("L", inDaily ); P = ( dayH+ dayL )/2; //Plot (P,"P",colorViolet, styleStaircase = 512);// TimeFrameSet( inDaily ); H6=(sqrt(p)+0.479167)^2; H5=(sqrt(p)+0.458333)^2; H4=(sqrt(P)+0.416667)^2; H3=(sqrt(P)+0.395833)^2; H2=(sqrt(P)+0.354167)^2; H1=(sqrt(P)+0.25)^2; B5=(sqrt(P)+0.145833)^2; B4=(sqrt(P)+0.104167)^2; B3=(sqrt(P)+0.083333)^2; B2=(sqrt(P)+0.041666)^2; B1=(sqrt(P)+0.020833)^2; S1=(sqrt(P)-0.020833)^2; S2=(sqrt(P)-0.041667)^2; S3=(sqrt(P)-0.083333)^2; S4=(sqrt(P)-0.104167)^2; S5=(sqrt(P)-0.145833)^2; L1=(sqrt(P)-0.25)^2; L2=(sqrt(P)-0.354167)^2; L3=(sqrt(P)-0.395833)^2; L4=(sqrt(P)-0.416667)^2; L5=(sqrt(P)-0.458333)^2; L6=(sqrt(P)-0.479167)^2; Plot (B1,"B1",colorBlue, styleStaircase, styleThick = 512); Plot (B2,"B2",colorBlue, styleStaircase, styleThick = 512); Plot (B3,"B3",colorGreen, styleStaircase, styleThick = 512); Plot (B4,"B4",colorBlue, styleStaircase, styleThick = 512); Plot (B5,"B5",colorBlue, styleStaircase, styleThick = 512); Plot (H1,"H1",colorGreen, styleStaircase, styleThick = 512); Plot (H2,"H2",colorGreen, styleStaircase, styleThick = 512); Plot (H3,"H3",colorBlue, styleStaircase, styleThick = 512); Plot (H4,"H4",colorBlue, styleStaircase, styleThick = 512); Plot (H5,"H5",colorBlue, styleStaircase, styleThick = 512); Plot (S1,"S1",colorRed, styleStaircase, styleThick = 512); Plot (S2,"S2",colorRed, styleStaircase, styleThick = 512); Plot (S3,"S3",colorOrange, styleStaircase, styleThick = 512); Plot (S4,"S4",colorRed, styleStaircase, styleThick = 512); Plot (S5,"S5",colorRed, styleStaircase, styleThick = 512); Plot (L1,"L1",colorOrange, styleStaircase, styleThick = 512); Plot (L2,"L2",colorOrange, styleStaircase, styleThick = 512); Plot (L3,"L3",colorRed, styleStaircase, styleThick = 512); Plot (L4,"L4",colorRed, styleStaircase, styleThick = 512); Plot (L5,"L5",colorRed, styleStaircase, styleThick = 512); Plot (DayH,"dayH",colorViolet, styleStaircase, styleThick = 512); Plot (DayL,"dayL",colorViolet, styleStaircase, styleThick = 512); GfxSetBkMode( 1 ); GfxSelectFont("Courier New", 12, 700 ); GfxSetTextColor( colorGreen ); GfxSelectPen( colorBlack, 1, 0) ; GfxSelectSolidBrush( colorWhite ); GfxTextOut("Buy Above : " + NumToStr(B3) + " TGT : " + NumToStr(B5), 625, 45); GfxSetBkMode( 1 ); GfxSelectFont("Courier New", 12, 700 ); GfxSetTextColor( colorRed ); GfxSelectPen( colorBlack, 1, 0) ; GfxSelectSolidBrush( colorWhite ); GfxTextOut("Short Below :" + NumToStr(S3) + " TGT : " + NumToStr(S5), 625, 75); _SECTION_END(); _SECTION_END();