通达信附图指标突破涨停指标通不过的问题
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

rcc:=DYNAINFO(3); s2:=sma(c,3,1); s6:=sma(c,5,1);dk:=10*(s2-s6); kk:=IF(DATATYPE=8,0.95,1);STICKLINE(dk>0,rcc*kk,rcc*kk+dk,0,1),COLORRED;STICKLINE(dk<0,rcc*kk,rcc*kk+dk,0,1),COLORCYAN;XG:HHV(H,480),DOTLINE,COLORRED;STICKLINE(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORGREEN;DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,'上突'),COLORYELLOW;T:=BARSCOUNT(C);TP:= FILTER( C>=HHV(H,T) AND V>MA(V,0)*2 AND DYNAINFO(17)>1 AND TIME0>39600 ,240) ;DRAWTEXT(TP,L,'★突破'),COLORred;VERTLINE( tp,1),COLORGREEN,LINETHICK2;HHV(h,T),DOTLINE,Color00FFFF;.....................................当前公式 : IIII (指标画线公式) 错误句 : KK:=IF(DATATYPE=8,0.95,1) 详细信息 : 未知字符串 DATATYPE 错误起始位置 : 74 ; 长度: 8

解答:

 {ok.可以通过}

RCC:=DYNAINFO(3); S2:=SMA(C,3,1); S6:=SMA(C,5,1);
DK:=10*(S2-S6); KK:=IF(DATE=8,0.95,1);
STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;
STICKLINE(DK<0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;
 
XG:HHV(H,480),DOTLINE,COLORRED;
STICKLINE(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORGREEN;
DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,'上突'),COLORYELLOW;
 
T:=BARSCOUNT(C);
TP:= FILTER( C>=HHV(H,T) AND V>MA(V,0)*2 AND DYNAINFO(17)>1 AND TIME>39600  ,240) ;
DRAWTEXT(TP,L,'★突破'),COLORRED;
HHV(H,T),DOTLINE,COLOR00FFFF;
 

选股票看什么指标最好 >股票指标网