白剑斩贪魔白色柱体是主升的标志通达信指标 副图 源码附图
JJ:=(2*C+H+L+O)/5;
STICKLINE(JJ>EMA(JJ,10),4,5.5,1,0),COLOR3320FF;
STICKLINE(JJ<EMA(JJ,10),4,5.5,1,0),COLORFF7700;
LC:=REF(C,1);
XX:=REF(LLV(LC,2),1);
ET2:=HHV(HHV(LC,2),20);
YY:=IF(MA(C,3)>MA(C,21),MA(C,21),MA(C,3));
STICKLINE(MA(C,8)<REF(MA(C,8),1),5.5,4.8,1,1),COLOR00FF00;
STICKLINE(YY>REF(YY,1) AND YY=MA(C,21),5.5,4.8,1,1),COLORFF00FF;
VAR1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100;
VAR3:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
VAR6:=VAR3-VAR1;{股票指标网}
趋势线:=EMA((C-LLV(L,11))/(HHV(H,25)-LLV(L,11))*4,8)*10;
DRAWICON(HHV(趋势线,5)>34 AND (C=HHV(C,10) OR H=HHV(H,10)),3.5,2);
DRAWICON(LLV(趋势线,5)<3 AND (C=LLV(C,10) OR L=LLV(L,10)),3.5,9);
STICKLINE(LLV(MA(VAR6,5),5)<-45 AND (C=LLV(C,10) OR L=LLV(L,10)),3.8,5,1,0),COLOR00FFFF;
斩贪魔:STICKLINE(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.5,6.5,1,0),,COLORFFFFFF;
STICKLINE(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),8.9,8.85,4,0),,COLORFFFF00;
IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.4,DRAWNULL),crOSSDOT,COLORCC3333,LINETHICK2;
IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.2,DRAWNULL),CROSSDOT,COLORCC3333,LINETHICK2;
IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9,DRAWNULL),CROSSDOT,COLORCC3333,LINETHICK2;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
JJ赋值:(2*C+H+L+O)/5
STICKLINE(JJ>JJ的10日指数移动平均,4,5.5,1,0),COLOR3320FF
STICKLINE(JJ
LC赋值:1日前的C
XX赋值:REF(2日内LC最低值,1)
ET2赋值:2日内LC最高值,20)
YY赋值:IF(C的3日简单移动平均>C的21日简单移动平均,C的21日简单移动平均,C的3日简单移动平均)
STICKLINE(C的8日简单移动平均[
STICKLINE(YY>1日前的YY AND YY=C的21日简单移动平均,5.5,4.8,1,1),COLORFF00FF]
VAR1赋值:(21日内H最高值-C)/(21日内H最高值-21日内L最低值)*100
VAR3赋值:(C-21日内L最低值)/(21日内H最高值-21日内L最低值)*100
VAR6赋值:VAR3-VAR1
{股票指标网}
趋势线赋值:EMA((C-11日内L最低值)/(25日内H最高值-11日内L最低值)*4,8)*10
DRAWICON(5日内趋势线最高值>34 AND (C=10日内C最高值 OR H=10日内H最高值),3.5,2)
DRAWICON(5日内趋势线最低值<3 AND (C=10日内C最低值 OR L=10日内L最低值),3.5,9)
STICKLINE(LLV(VAR6的5日简单移动平均,5)<-45 AND (C=LLV(C,10) OR L=LLV(L,10)),3.8,5,1,0),COLOR00FFFF
输出斩贪魔:STICKLINE(HHV(VAR6的5日简单移动平均,5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.5,6.5,1,0),,COLORFFFFFF
STICKLINE(HHV(VAR6的5日简单移动平均,5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),8.9,8.85,4,0),,COLORFFFF00
IF(HHV(VAR6的5日简单移动平均,5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.4,DRAWNULL),CROSSDOT,COLORCC3333, 线宽为2
IF(HHV(VAR6的5日简单移动平均,5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.2,DRAWNULL),CROSSDOT,COLORCC3333, 线宽为2
IF(HHV(VAR6的5日简单移动平均,5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9,DRAWNULL),CROSSDOT,COLORCC3333, 线宽为2