 | |  |  |
通达信多空交锋源码公式:
SK:(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8*0.0001,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, COLORSTICK;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK,1,0),COLORRED;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK,1,0),COLOR6633CC;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,1,0),COLORFFAA66;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,1,0),COLORGREEN;
STICKLINE(CROSS(多方,空方),RC,RC+DK,1,0),COLORYELLOW; 红柱代表趋强,黄柱代表转强,橙柱代表强势,蓝柱代表趋弱,绿柱为弱势.初现黄柱子买入,黄柱子越小越好,负的更好 !
STICKLINE(CROSS(空方,多方),RC,RC+DK,1,0),COLORGREEN;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK,1,0),COLORGREEN; |
| |  | |  |
|