通达信乾坤决策眼 + 超级涨停最新优化分时副图 源码
CB1:CONST(SUM(IF(BB1,REF(C,1),DRAWNULL),0)),COLORRED,LINETHICK2;
HH2:=CROSS(SUM(HH AND C>CS1*1.03,0),0.5);
LL2:=CROSS(SUM(LL AND C<CB1*0.97,0),0.5);
SS2:=SUM(HH2,0)*CROSS(COUNT(C<REF(C,1),BARSLAST(HH2)),0.5);
BB2:=SUM(LL2,0)*CROSS(COUNT(C>REF(C,1),BARSLAST(LL2)),0.5);
CS2:CONST(SUM(IF(SS2,REF(C,1),DRAWNULL),0)),COLORGREEN,LINETHICK1;
CB2:CONST(SUM(IF(BB2,REF(C,1),DRAWNULL),0)),COLORRED,LINETHICK1;
DRAWICON(HH1 OR HH2,C*1.01,39);
DRAWICON(LL1 OR LL2,C*0.99,38);
DRAWICON(BB1 OR BB2,REF(C,1)*0.99,7);
DRAWICON(SS1 OR SS2,REF(C,1)*1.01,8);
{无尽T+0}
{VARY1:=LLV(LOW,100);
VARY2:=HHV(HIGH,250);
操盘线:=EMA((CLOSE-VARY1)/(VARY2-VARY1)*4,4);
DRAWICON(CROSS(操盘线,0.3),L,1);
DRAWICON(CROSS(操盘线,3.5),H,2);};
{}
GG:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(V*100,BARSCOUNT(C))),1.05,0.95);
ZZ:=IF(GG=0,MA(C,BARSCOUNT(C)),SUM(AMOUNT,BARSCOUNT(C))/SUM(V*100,BARSCOUNT(C)));
AAA:=IF(PERIOD<1,POW(C/ZZ,3)*100,0);
BB8:=EXPMA(AAA,20),COLORFFFFFF;
DRAWICON(AAA-BB8<-4 AND AAA<=92 AND C=LLV(C,30),C,1);
DRAWICON(AAA-BB8>4 AND AAA>=108 AND C=HHV(C,30),C,2);
- 上一篇公式:通达信芈月剑副图源码
- 下一篇公式:通达信经典分时主图 源码