VARA:=LLV(LOW,35);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
QS: VARC,COLORBLUE;
STICKLINE(VARC<10 AND 100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42))>98,0,5,2,0),COLORBLUE;
STICKLINE(VARC>90,95,100,2,0),COLORRED;
VARD:=87.5;
VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;
DRAWTEXT(IF(CROSS(QS,VARD) AND VARE=100,50,0),56,'买');
DRAWTEXT(IF(CROSS(VARD,QS),87,0),85,'空');
DRAWTEXT(IF(CROSS(QS,VARE) AND QS>87,87,0),70,'平仓');
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR8:=LLV(LOW,25);
VARAA:=HHV(HIGH,25);
B:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,10);
B1:=EMA(B,5);
STICKLINE(B>0 AND B-B1>=0,80,80,1,0),COLORRED;
STICKLINE(B>0 AND B-B1<0,80,80,1,0),COLORRED;
STICKLINE(B>0 AND B-B1>=0,50,50,1,0),COLORBLUE;
STICKLINE(B>0 AND B-B1<0,50,50,1,0),COLORBLUE;
STICKLINE(B>0 AND B-B1>=0,20,20,1,0),COLORMAGENTA;
STICKLINE(B>0 AND B-B1<0,20,20,1,0),COLORMAGENTA;
STICKLINE(B-B1>0,B,B1,3,1),COLORRED;
STICKLINE(B-B1<0,B,B1,3,1),COLORBLUE;
V1:=(2*CLOSE+HIGH+LOW)/4; V2:=LLV(LOW,21);
VA:=HHV(HIGH,34);
FB:=EMA((V1-V2)/(VA-V2)*100,13);
FBB:=EMA((0.667*REF(FB,1)+0.333*FB),2);
ZLX:EMA(0.382*REF(FB,2)+0.618*FB,12),COLORRED;
上一篇:通达信趋势线副图公式 下一篇:通达信【天地人和】副图,寻找股价低点,量价结合