止损线画线主图 通达信主图指标 源码 贴图
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);
日线止损:(LC*1.0035*97+0.2)/99.65,COLOR03B4EC,NODRAW;
N:=0.95;{www.9m8.cn 九毛八公式指标网}
VAR4:=PEAKBARS(3,15,1)
VAR5:=IF(VAR4=1,2,0);
顶:= IF(VAR5=2,2,0);
中线卖出:=IF(顶 REF(顶,1),1,0);
止损价:=IF(中线卖出=1, C*N,0), POINTDOT,COLOR00FF00,LINETHICK5;
STICKLINE(止损价,C*N,C*N,200,1),COLOR55FF99,LINETHICK1;
价:C,COLORWHITE,LINETHICK1;
TT:=BARSCOUNT(C);
CC:=CLOSE;
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:IF(ZZ1=0,MA(C,TT),ZZ),LINETHICK1;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00,LINETHICK1;
支撑:L1+P1*0.5/8,COLORC080FF,LINETHICK1;