通达信强势龙头指标源码
N:=15;
通达信:=SUM(IF(H>REF(H,1),H-REF(H,1),0),N);
强势龙头:=SUM(IF(L>REF(L,1),0,REF(L,1)-L),N);
指标源码:通达信/(通达信+强势龙头);
0.80,DOTLINE;{股票公式-股票指标www.gs6699.com}
0.5,DOTLINE;
0.15,DOTLINE;
XG:=指标源码<0.1;
STICKLINE(指标源码>0.88,1,0.9,1,0),COLORWHITE;
ST:=CROSS(0.8,指标源码);
STICKLINE(ST,1,0.8,1,0),COLOR00FF00;
DRAWTEXT(ST,0.76,'减'),COLORYELLOW;
STICKLINE(指标源码<0.1,0.3,0.00,1,0),COLORYELLOW;
sssww1:=REF(CLOSE,1);
sssww2:=SMA(MAX(CLOSE-sssww1,0),7,1)/SMA(ABS(CLOSE-sssww1),7,1)*100;
SS1:=FILTER(REF(sssww2,1)<20 AND sssww2>REF(sssww2,1),5);
fffcc1:=MA((2*C+H+L)/4,5);
fffcc2:=fffcc1*(200-102)/100;
fffcc3:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
fffcc4:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
fffcc5:=3*SMA(fffcc4,3,1)-2*SMA(SMA(fffcc4,3,1),3,1);
fffcc6:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
fffcc7:=fffcc2<fffcc3&&fffcc5>REF(fffcc5,1)&&REF(fffcc5,1)<REF(fffcc5,2)&&fffcc6<-100
&&fffcc6>REF(fffcc6,1);
dddcs1:=STICKLINE(fffcc7,0,0.5,2,0),COLORYELLOW;
dddcs2:=fffcc7,COLORRED,LINETHICK3;
dddcs3:SS1 AND dddcs2,,STICK,COLORRED,LINETHICK4;