通达信——大金条强势牛股通达信指标公式源...
通达信——大金条强势牛股通达信指标公式
源码:
强势牛股:=4;N2:=8;N3:=16;N:=34;M:=6;
HH:=MAX(HIGH,REF(CLOSE,1));
CCCS:=MIN(LOW,REF(CLOSE,1));
AA:=SUM(CLOSE-CCCS,强势牛股)/SUM(HH-CCCS,强势牛股);
BB:=SUM(CLOSE-CCCS,N2)/SUM(HH-CCCS,N2);
CC:=SUM(CLOSE-CCCS,N3)/SUM(HH-CCCS,N3);
B:(AA/强势牛股+BB/N2+CC/N3)*强势牛股*N2*N3/(强势牛股*N2+N2*N3+强势牛股*N3)*100,COLORRED,LINETHICK2;
S:EMA(B,M),COLORCYAN,LINETHICK2;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));
CCCS1:IF(SAT>1,1,SAT)*100;
CCCS2:STICKLINE(CCCS1<=5,5,CCCS1+20,4,0),COLORWHITE;
CCCS3:STICKLINE((CCCS1>5 AND CCCS1< 80),5,CCCS1+8,4,0),COLOR5290FF;
CCCS4:STICKLINE((CCCS1>80 AND CCCS1< 97),5,CCCS1,4,0),COLORRED;
CCCS5:STICKLINE(CCCS1>=97,5,CCCS1,4,0),COLORRED;
赞 (0)