同花顺波段顶底公式 日内做T
空:100*(HHV(HIGH,130)-CLOSE)/(HHV(HIGH,130)-LLV(LOW,130)),colorgreen,LINETHICK0;
多:SMA(MAX(CLOSE-REF(CLOSE,15),0),12,1)/SMA(ABS(CLOSE-REF(CLOSE,15)),12,1)*100,colorred,LINETHICK0;
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
指标:=EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
换手:=VOL/100, colorgreen;
成交〖万手〗:=VOL/10000, coloryellow;
DRAWTEXT(VARA=20,15,'底部'),colorwhite;
STICKLINE((VARA=20),0,10,5,0),colorwhite;
VARA1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
VARB1:=SMA(VARA1,15,1);
VARC1:=SMA(VARB1,10,1);
ZGBS:=MA(C,120);
VAR3GBS:=(MA(C,25)-ZGBS)/ZGBS;
VAR4GBS:=MA((CLOSE-LLV(LOW,270))/(HHV(HIGH,270)-LLV(LOW,270))*100,45);
STICKLINE(C>=MA(C,10),VAR4GBS,REF(VAR4GBS,1),4,0),colorred;
STICKLINE(C<MA(C,10),VAR4GBS,REF(VAR4GBS,1),4,0),colorgreen;
顶部1: 85,colorgreen,LINETHICK2;
底1: 15,coloryellow,LINETHICK2;
买入警戒1: IF(空>=100 AND 多<=0.5 AND REF(VAR4GBS,1)<15,60,0),colorred,LINETHICK3;
买入警戒2: IF(多<=2 AND 空>=100 AND REF(VAR4GBS,1)<15,30,0),colormagenta,LINETHICK3;
卖出警戒1: IF(多>=99.1 AND 空<=0,50,100),colorgreen,LINETHICK3;
卖出警戒2: IF(多>=98.5 AND 空<=0,50,100),colorblue,LINETHICK3;
顶部: 100,colorgreen,LINETHICK2;
底: 0,coloryellow,LINETHICK2;