LC:=REF(CLOSE,1);
rsi5:=((SMA(MAX((CLOSE – LC),0),5,1) / SMA(Abs((CLOSE – LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH – LOW),ABS((HIGH – REF(CLOSE,1)))),ABS((LOW – REF(CLOSE,1)))),10);
HD:=(HIGH – REF(HIGH,1));
LD:=(REF(LOW,1) – LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
pdi:=((DMP * 100) / TR1);
mdi:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI – PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
wr10:=((100 * (HHV(HIGH,10) – CLOSE)) / (HHV(HIGH,10) – LLV(LOW,10)));
NEWvol:=(RSI5 – WR10);
SX:=IF(DATE>1110415,0,1);
阶段底部:=(AV + NEWVOL);
趋势线:=LLV(阶段底部,1);
DRAWICON((趋势线 >238 ),C*1.03,14);
AA:=VOL*(3*C+H+L+O)/6*SX;
AB:=EMA(AA*SX,19)/EMA(VOL,17)*SX;
ac:=6*HHV(AB*SX,2)-5*AB*SX ;
AD:=2*AB-AC*SX;
STICKLINE(C>AB*1.018,O,C,3.08*SX,1)COLORRED;
STICKLINE(C>AB*1.018 AND O<C,C,H*SX,0,0*SX)COLORRED;
STICKLINE(C>AB*1.018 AND O<C,O*SX,L,0,0*SX)COLORRED;
STICKLINE(C>AB*1.018 AND O>C,C,L*SX,0,0*SX)COLORRED;
STICKLINE(C>AB*1.018 AND O>C,O,H*SX,0,0*SX)COLORRED;
STICKLINE(C<=AB*1.018,O,C,3.08*SX,0)COLORCYAN;
STICKLINE(C<=AB*1.018,L,O,0,0)COLORCYAN;
STICKLINE(C<=AB*1.018,C,H,0,0)COLORCYAN;
ZT:=(C/REF(C,1)>=1.095 OR BETWEEN(C/REF(C,1),1.0495,1.051)) AND H=C;
STICKLINE(ZT,O,C,3.08,0)COLORRED;
HF:=(3*C+H+L+O)/6;
M0:=EMA(HF*SX,9*SX) COLORGREEN;
A0:=M0>REF(M0,1);
BB:IF(A0,M0,DRAWNULL)*SX COLORYELLOW;
DRAWICON((C/M0 >1.2 ),C*1.03,13);
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/167942.html,转载请注明出处。