以下是通达信旷古绝今副图源码
VA1:=1;
VA2:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100*VA1;
空:=SMA(VA2,3,1)*VA1,COLORBLUE ,;
VA3:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100*VA1;
短:= SMA(SMA(VA3,2,1)+3*VA1,2,1) , ;
WINNER(MA(CLOSE,5))*100,COLORSTICK;
庄家:=WINNER(MA(CLOSE,5))*100,;
VAR1:=(HHV(HIGH,9)-LLV(LOW,9));
VAR2:=(HHV(HIGH,9)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,9));
VAR4:=VAR2/VAR1*100-70 ;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*C+H+L)/4;
VAR7:=SMA((VAR3/VAR1*100),3,1);
VAR8:=LLV(LOW,26);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:= IF(VAR9> 100,VAR9-100,0);
VARA:=HHV(HIGH,34);
B:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,16),COLORCYAN;
浮:=EMA(B,4),COLORGREEN,LINETHICK2;
D:=LLVBARS(MA(C,5),30);
压力线:IF(35+EMA(浮,80)< 100,35+EMA(浮,80),100),COLORRED,CIRCLEDOT LINETHICK1;
庄家生命:WINNER(MA(CLOSE,5))*100,COLORCC33CC;
短线: SMA(SMA(VA3,2,1)+3*VA1,2,1) , COLORYELLOW;
浮筹:EMA(B,4),COLORGREEN,LINETHICK2;
空方: SMA(VA2,3,1)*VA1,COLOR99FF00;
STICKLINE(庄家生命< 1.5 AND CROSS(C,MA(C,5)) AND D< 3 AND (C-MA(C,30))/C<= -20/100,庄家生命+10,庄家生命,6,1),,COLORRED;
STICKLINE(CROSS(短线,浮筹) AND 浮筹<= 45 AND (C-MA(C,30))/C<= -13/100,浮筹+10,庄家生命,6,1),COLORRED;
STICKLINE(短线> 浮筹 ,110,120,6,0.8),COLORRED;
STICKLINE(短线< 浮筹 ,110,120,6,0.8),COLORGREEN;
STICKLINE(短线> 浮筹 ,-20,-10,6,0.8),COLOR00FFFF;
STICKLINE(短线< 浮筹 ,-10,-20,6,0.8),COLORFF99FF;
STICKLINE(CROSS(短线,浮筹) AND 浮筹<= 40 AND (C-MA(C,30))/C<= -13/100 ,-10,-20,6,0.8),COLORRED;
DRAWTEXT(CROSS(浮筹,空方) AND 浮筹< 50,浮筹,'还有一波');
DRAWTEXT(CROSS(浮筹,短线) AND 浮筹> 40,短线,'反弹结束');
评论(0)