通达信飞鹰操盘主图源码和副图
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,LOW*0.996,'B'),COLORRED,LINETHICK3;
DRAWTEXT(SEL,HIGH*1.028,'S'),COLORFFFF00,LINETHICK3;
STICKLINE(买线 =卖线,LOW,HIGH,0,0),COLORRED;
STICKLINE(买线 =卖线,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(买线 =卖线,CLOSE,OPEN,4,0),COLOR0000CC;
STICKLINE(买线 =卖线,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(买线 =卖线,CLOSE,OPEN,2,0),COLOR0000EE;
STICKLINE(买线 卖线,CLOSE,OPEN,4.5,0),COLORAAAA00;
STICKLINE(买线 卖线,CLOSE,OPEN,4,0),COLORBBBB00;
STICKLINE(买线 卖线,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE(买线 卖线,CLOSE,OPEN,2,0),COLOREEEE00;
STICKLINE(买线 卖线,LOW,HIGH,0,0),COLORFFFF00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;
界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;
通达信飞鹰操盘源码副图
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR25:=IF(VAR1F 0.015,VAR20,0)/45/4;
JJ:=(C*2+H+L)/4;
SKK:(EMA(JJ,13)-EMA(JJ,21))*180,COLORWHITE;
SDD:EMA(SKK,2),COLORYELLOW;
多方:=(SKK-SDD)*0.001,COLORRED,LINETHICK0;
空方:=-1*(SKK-SDD)*0.001,COLOR33FF33,LINETHICK0;
RC:REF(C,1),COLORWHITE;
MAV:=(2*C+H+L)/4;
SK:=(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8,COLORRED;
SD:=EMA(SK,2),COLORGREEN;
SJ:=2.8*SK-1.8*SD,COLORYELLOW;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6)*15*4*1.5;
STICKLINE(SK SD AND DK RC OR DK=RC,RC,RC+DK,2,0),COLORRED;
STICKLINE(DK 0 AND SK SD ,RC,RC+DK,2,0),COLOR6633CC;
STICKLINE(DK 0 AND SK SD ,RC,RC+DK,2,0),COLORFFAA66;
STICKLINE(DK 0 AND 多方 空方,RC,RC+DK,2,0),COLOR33FF33;
STICKLINE(CROSS(多方,空方),RC,RC+DK,2,0),COLORYELLOW;
STICKLINE(CROSS(空方,多方),RC,RC+DK,2,0),COLOR33FF33;
STICKLINE(DK 0 AND 多方 空方 AND SK SD,RC,RC+DK,1,0),COLOR33FF33;