{突破分时}
MZ0:=(BARSLAST(((HOUR=9) AND (MINUTE=31)))+1);
上穿分时:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*HHV(CLOSE,0)),0))),DRAWNULL),LINETHICK3,COLORMAGENTA;
底支:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*LLV(CLOSE,0)),0))),DRAWNULL),LINETHICK2,COLORLIRED;
STICKLINE(TIME=931 OR TIME=1000,上穿分时,底支,1,0),COLORYELLOW;
分时上突:=CROSS(C,上穿分时);{WWW.70822.com}
上突:=C<上穿分时 AND 上穿分时>底支;
DRAWICON(分时上突,C*0.99,25);
分时支撑:=CROSS(C,底支);
DRAWICON(分时支撑,C*0.99,26);
股价支撑线:=MA(CLOSE,20),COLORRED;
底价线:股价支撑线-2*STD(CLOSE,20),COLORMAGENTA,LINETHICK3;
DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【今日强势有效突破股】',CON2STR(上穿分时,2)),'元买入稳赚')),COLORYELLOW;
DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT('【底部得到有效支撑】',CON2STR(底支,2)),'可以参考')),COLORYELLOW;
p201837374628276.jpg
|