以下是同花顺ENE轨道主图标公式

绿线减仓,跌倒白线加仓,红线满仓,配合主力

UPPER:(1+M1/100)*MA(CLOSE,N);
 LOWER:(1-M2/100)*MA(CLOSE,N);
 ENE:(UPPER+LOWER)/2;
 MA25:EMA(CLOSE,25),COLORFF1CAE,LINETHICK1;
花:=EMA(SLOPE(1,1)+C,3),colorred;
女:=EMA(SLOPE(1,1)+C,7),colorblue;
 DRAWTEXT(COUNT (花<女,5)=4 AND 花>=女,C*0.95,’↖买’), colorred;
 DRAWTEXT(COUNT (花>=女,5)=4 AND 花<女,C*1.14,’↙卖’), coloryellow;
 //DRAWGBKLAST(CLOSE>OPEN,STRIP(RGB(55,50,0),RGB(0,25,1000),1));
 //DRAWGBKLAST(CLOSE<OPEN,STRIP(RGB(80,0,0),RGB(100,20,1000),1));
 EMA13:=EMA(C,20),COLORFF8080;
 EMA34:=EMA(C,60),COLORFFFF00;
 EMA55:=EMA(C,80),COLORFF00FF;
 YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
 YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);
 Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
 YZ:=YZ1 AND YZ2 AND Y>10;
 X11:DRAWTEXT(YZ,HIGH+0.2,’↙减仓’),COLORF00FF0;
 GR1:=BARSLAST(BETWEEN(“BIAS.BIAS2″(6,13,24),0,5) );
 GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
 GR3:=COUNT(“BIAS.BIAS2″(6,13,24)>10 AND H=HHV(H,GR1),GR1);
 GR4:=H=HHV(H,GR1);
 GR5:=”MACD.MACD”(12,26,9)<REF(“MACD.MACD”(12,26,9),1);
 GR6:=GR2 AND GR3 AND GR4;
 GR7:=GR2 AND GR3 AND GR4 AND GR5;
 DRAWTEXT(GR6 AND GR7,H+0.13,’↙高抛低吸’),COLOR00FF00;
 A1:=EMA(C,14),colorwhite,LINETHICK1;
 A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
支撑位:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colorred,LINETHICK1;
阻力位:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),colorgreen,LINETHICK1;
 STICKLINE(CROSS(A1X,0),C,O,2,0),coloryellow;
 STICKLINE(CROSS(0,A1X),C,O,2,0),colorgreen;
 DRAWICON(CROSS(花,女) AND CLOSE/REF(CLOSE,1)>1.03,LOW/1.06,25);
花2:=EMA(SLOPE(1,1)+C,3),colorred;
女2:=EMA(SLOPE(1,1)+C,7),colorblue;
花1=MA(CLOSE, 5);
女1=MA(CLOSE, 60);
花仙=CROSS(花2,女2) AND 花1>女1;
仙女=CROSS(女2,花2) AND 花1>女1 AND COUNT(CROSS(花,女) AND 花1>女1 ,30);
 DRAWTEXT(花仙,LOW/1.03,’↖买’),colorwhite;
 DRAWTEXT(仙女,HIGH*1.06,’↙卖’),coloryellow;
 IF (CROSS(花2,女2) AND 花1>女1) {
 BUY;
 }
 IF (CROSS(女2,花2) AND 花1>女1 AND COUNT(CROSS(花,女) AND 花1>女1 ,30)) {
 SELL;
 }
买入条件:=花仙;
卖出条件:=仙女;
D1:=BARSLAST(买入条件);
D2:=FLOOR(((C-REF(C,D1))/REF(C,D1))*100);
 IF(D2>=3 AND D2<7,’5′,DRAWNULL);
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。