鑫鑫操盘(主图 源码 贴图)
P1 1 100 6
P2 1 100 25}
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);
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;
- 上一篇公式:一主图公式,类似趋势买卖,大家可以借鉴
- 下一篇公式:天堂柱(源码 副图 贴图)