DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,DYBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.1,0,GNBLOCK),COLORRED;
STICKLINE(CLOSE/REF(CLOSE,1)>=1.097 AND HIGH>LOW,CLOSE,OPEN,3,0),COLORMAGENTA;
STICKLINE(REF(CLOSE,1)/CLOSE>=1.097 AND HIGH>LOW,CLOSE,OPEN,3,0),COLORLIBLUE;
STICKLINE(HIGH/REF(CLOSE,1)>=1.097 AND HIGH>CLOSE,HIGH,CLOSE,0,0),COLORMAGENTA;
STICKLINE(REF(CLOSE,1)/LOW>=1.097 AND HIGH>LOW,CLOSE,LOW,0,0),COLORLIBLUE;
涨幅:=(C/REF(C,1)-1)*100;
X_1:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
X_2:=65;
X_3:=80;
X_4:=50;
X_5:=20;
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,60);
X_6:=crOSS(MA1,MA2);
X_7:=CROSS(X_1,X_5);
X_8:=X_6 AND X_7 AND CROSS(HIGH,MA(CLOSE,10));
DRAWTEXT(CROSS(X_1,X_3) AND 涨幅>5,MA2,’爆发’),COLORYELLOW;
STICKLINE(CROSS(X_1,X_3) AND 涨幅>5,CLOSE,OPEN,3,0),COLORYELLOW;
DRAWTEXT(X_8 AND 涨幅>5,MA3,’吸筹’),COLORWHITE;
DRAWTEXT(CROSS(X_1,X_4) AND 涨幅>5,LOW*0.94,’加仓’),COLORMAGENTA;
DRAWTEXT(CROSS(X_1,X_2) AND 涨幅>5,LOW*0.96,’加仓’),COLORMAGENTA;
DRAWTEXT(CROSS(X_3,X_1) AND 涨幅>5,HIGH*1.01,’减仓’),COLORGREEN;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/180771.html,转载请注明出处。