通达信鑫鑫操盘主图指标公式
通达信光光指标公式
P1:=6;P2:=5;
SX1:=EMA(CLOSE,P1);
SX2:=EMA(CLOSE,P2);
牛: (CLOSE-SX1)*2/(5+1)+SX1,COLOR00F5FF;
SX3:=(CLOSE-SX2)*2/(10+1)+SX2,COLOR00F5FF;
DRAWICON(FILTER(crOSS(牛,SX3),20),牛,1);
DRAWICON(FILTER(CROSS(SX3,牛),20),牛,2);
熊: IF(牛>SX3,SX3,牛),COLOR00670F;
零点: SX3,COLOR00FFFF;
DRAWBAND(牛,RGB(255,0,0),零点,RGB(0,0,0)),COLOR009DFC;
DRAWBAND(零点,RGB(0,255,0),熊,RGB(0,0,0)),COLOR26F8FC;
DK:=MA(((SLOPE(C,20)*5)+C),20);
{指标网-股票公式网站 www.gupAng.com}
stICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),COLORRED,COLOREC0E00;
STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,3,1),COLORRED,COLOREC0E00;
STICKLINE(DK<=C AND CLOSE<OPEN,HIGH,LOW,0.1,0),COLORRED,COLOREC0E00;
STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORRED,COLOREC0E00;
STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),COLORGREEN,COLOR002E13;
STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,3,1),COLORGREEN,COLOR002E13;
STICKLINE(DK>C AND CLOSE<OPEN,HIGH,LOW,0.1,0),COLORGREEN,COLOR002E13;
STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORGREEN,COLOR002E13;
DRAWTEXT(CROSS(C,DK),LOW*0.99,'B'),COLORLIBLUE,COLOR931A62;
DRAWTEXT(CROSS(DK,C),H*1.01,'S'),COLORLIGRAY,COLORC35B9A;
通达信主力提款机指标公式