以下是一眼就明白的事 为什么要复杂化指标

一眼就明白的事 为什么要复杂化指标

源码

A1:MA(CLOSE,M1);
 A2:MA(CLOSE,M2);
 A3:MA(CLOSE,M3);
 A4:MA(CLOSE,M4);
 A5:MA(CLOSE,M5),COLORBLUE,LINETHICK2;
 A6:MA(CLOSE,M6),COLORFFFFFF;
 A7:MA(CLOSE,M7),COLOR3300CC,LINETHICK2;
 XG1:=FILTER(LONGCROSS(MA(C,M1),MA(C,M7),3),3);
 STICKLINE(XG1 AND C>REF(C,1) AND C>A7,H,L,0,0),COLORRED;
 STICKLINE(XG1 AND C>REF(C,1) AND C>A7,O,C,4,0),COLORRED;
 DRAWTEXT(XG1 AND C>REF(C,1) AND C>A7,H+0.052,’要涨?’);
TY:=C;
 AA:=BARSLAST(A5>A4 AND (A4=A3 OR A4>A3));
 BB:=REF(COUNT(C<A5,AA)=AA,1);
 CC:=CROSS(C,A5) AND VOL>MA(VOL,4) AND (C-REF(C,1))/REF(C,1)*100>3;

芙蓉出水:=BB AND CC AND C>A7 AND A1>A2 AND A2>A3,COLOR00FF00;
 DRAWTEXT(芙蓉出水,L-0.12,’芙蓉出水’),COLORGREEN;
 STICKLINE(芙蓉出水,H,L,0,0),COLORYELLOW;
 STICKLINE(芙蓉出水,O,C,4,0),COLORYELLOW;
 DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
 DEA:=EMA(DIF,MID);
 MACD:=(DIF-DEA)*2;
 Y1:=0;
 SS:=DIF>=Y1;

 VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
 OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
 MAOBV:=MA(OBV,B1);
 CQ:=OBV>=MAOBV;
 DRAWICON(芙蓉出水 AND SS,L-0.02,5);
 DRAWICON(芙蓉出水 AND CQ,L-0.15,11);

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