XA_1:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
XA_2:=EMA(XA_1,5);
XA_3:=REFDATE(REF(HHV(HIGH,96),5),DATE);
XA_4:=REFDATE(REF(LLV(LOW,96),5),DATE);
XA_5:=(XA_3+XA_4)/2;{WWW.GOODGUPIao.COM}
旗帜顶:IF(XA_1>0 AND XA_1-XA_2<=0,XA_3,XA_3),COLORGREEN,LINETHICK3;
旗帜腰:IF(XA_1>0 AND XA_1-XA_2<=0,XA_5,XA_5),COLORGREEN,LINETHICK3;
旗帜底:IF(XA_1>0 AND XA_1-XA_2<=0,XA_4,XA_4),COLORGREEN,LINETHICK3;
五:IF(CURRBARSCOUNT=6,LOW*0.992-0.02,DRAWNULL),crOSSDOT,COLORWHITE,LINETHICK3;
十:IF(CURRBARSCOUNT=11,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;
二十:IF(CURRBARSCOUNT=21,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORRED,LINETHICK3;
三十:IF(CURRBARSCOUNT=31,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORCYAN,LINETHICK3;
六十:IF(CURRBARSCOUNT=61,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;
九十:IF(CURRBARSCOUNT=91,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;
高1:IF(XA_1>0 AND XA_1-XA_2>0,XA_3,DRAWNULL),COLORRED,LINETHICK3;
中1:IF(XA_1>0 AND XA_1-XA_2>0,XA_5,DRAWNULL),COLORRED,LINETHICK3;
低1:IF(XA_1>0 AND XA_1-XA_2>0,XA_4,DRAWNULL),COLORRED,LINETHICK3;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/172767.html,转载请注明出处。