sx:HHV(MA(HIGH,(3)),2),LINETHICK2,COLOR00FF00;
dx:LLV(MA(HIGH,(3)),1),LINETHICK2,COLOR0000FF;
z:EMA(EMA(EMA(EMA(EMA(CLOSE,55)
,2),2),2),2),LINETHICK2,COLORFF00FF;
VAR12:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR12) * VOL);
VAR7:=((VAR4 / VAR12) * VOL);
VAR8:=((VAR5 / VAR12) * VOL);
VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
dqsx:=MA(C,13);
ZHULI:=(((((VAR6 > (MA(VOL,5) * 2)) AND dqsx>REF(dqsx ,1) AND (VAR6 >= VAR7)) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND VARB AND dqsx>REF(dqsx ,1)));
STICKLINE(ZHULI,L,H,5,0),COLORMAGENTA;
DRAWTEXT(ZHULI,C*0.96,'停'),COLORCYAN;
RSV1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
RSV2:=(CLOSE-LLV(LOW,39))/(HHV(HIGH,39)-LLV(LOW,39))*100;
dt:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,28),COLOR00FF00;
zt:=SMA(RSV2,6,1)+2*STD(CLOSE,39),COLORRED;
RSV3:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
ct:=SMA(RSV3,6,1),COLORYELLOW;
{ 爱约股_通达信股票指标公式}
BBI:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;
EBBI:=(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4;
FF1:=EMA(C,3)>EMA(C,7) AND EMA(C,7)>EMA(C,21) AND EMA(C,21)>EMA(C,54);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
zsl:=IF(BBI>EBBI AND FF1 AND DIFF>DEA,10,0),COLORYELLOW,POINTDOT;
STICKLINE(zsl,C,O,3,0),COLORYELLOW;
bs:=SMA(HIGH,21,2)*1.05;
ls:=SMA(CLOSE,2,1);
cjn:=CROSS(ls,bs) AND bs>REF(bs,1) AND ZHULI;

 

通达信超级牛主图指标公式