通达信多空概率主图指标公式

通达信宝塔线威廉CCI主图指标公式

R5:=EMA(C,3);

R2:=EMA(CLOSE,13);

AA:=R5>=R2;

BB:=R2>R5;

买入:DRAWICON(crOSS(AA,BB),L*0.98,1);

卖出:DRAWICON(CROSS(BB,AA),H*1.02,2);

stICKLINE(AA,C,O,3,0),COLORFFBBFF;

STICKLINE(AA,H,L,0,0),COLOR00FFFF;

STICKLINE(BB,C,O,3,0),COLOR00FF00;

STICKLINE(BB,H,L,0,0),COLORGREEN;

STICKLINE(AA,CLOSE,OPEN,3.0,0),COLORFF00FF;

STICKLINE(AA,CLOSE,OPEN,2.6,0),COLORFF22FF;

STICKLINE(AA,CLOSE,OPEN,2.2,0),COLORFF44FF;

STICKLINE(AA,CLOSE,OPEN,1.8,0),COLORFF66FF;

STICKLINE(AA,CLOSE,OPEN,1.4,0),COLORFF88FF;

STICKLINE(AA,CLOSE,OPEN,1,0),COLORFF99FF;

STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORFFAAFF;

STICKLINE(AA,CLOSE,OPEN,0.1,0),COLORFFBBFF;

STICKLINE(BB,CLOSE,OPEN,3,0),COLOR008800;

STICKLINE(BB,CLOSE,OPEN,2.6,0),COLOR009900;

STICKLINE(BB,CLOSE,OPEN,2.2,0),COLOR00AA00;

STICKLINE(BB,CLOSE,OPEN,1.8,0),COLOR00BB00;

STICKLINE(BB,CLOSE,OPEN,1.4,0),COLOR00CC00;

STICKLINE(BB,CLOSE,OPEN,1,0),COLOR00DD00;

STICKLINE(BB,CLOSE,OPEN,0.6,0),COLOR00EE00;

STICKLINE(BB,CLOSE,OPEN,0.2,0),COLOR00FF00;

ZJJ:=(DCLOSE#WEEK+DOPEN#WEEK+DHIGH#WEEK+DLOW#WEEK)/4;

ZJ:=REF(ZJJ,5);

做空68:ZJ*(1+0.0618)LINETHICK2,COLORYELLOW;

做空95:ZJ*(1+0.1226)LINETHICK2,COLORBLUE;

做多68:ZJ*(1-0.0618)LINETHICK2,COLORGREEN;

做多95:ZJ*(1-0.1226)LINETHICK2,COLOR8409FF;

LC:=REF(CLOSE,1);

rsi1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;

STICKLINE(RSI1<15,OPEN,CLOSE,3,0),COLORFF0000;

STICKLINE(RSI1<15,H,L,0,0),COLORFF0000;

PMA:MA(C,13),COLORWHITE,LINETHICK2;

IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2;

IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2;

通达信牛股机会选股指标公式