通达信金蜘蛛强势【源码奉献】【原创】指标源码
TP1:=DYNAINFO(4)>0;
Q300:=IF(CODELIKE('300'),0,1);
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
ST1:=S1 AND S2 AND Q300 AND TP1 ;
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,20);
P2:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA3);
均线粘合:CROSS(P2/C<5/100 AND MA1>REF(MA1,1)
AND MA2>REF(MA2,1) AND C<25 AND ST1 AND CROSS(MA1,MA3)
AND MA3>REF(MA3,1),0.382);
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
TP1赋值:开盘价>0
Q300赋值:IF(CODELIKE('300'),0,1)
S1赋值:IF(NAMELIKE('S'),0,1)
S2赋值:IF(NAMELIKE('*'),0,1)
ST1赋值:S1 AND S2 AND Q300 AND TP1
MA1赋值:C的5日简单移动平均
MA2赋值:C的10日简单移动平均
MA3赋值:C的20日简单移动平均
P2赋值:MA1-MA2的绝对值+ABS(MA2-MA3)+ABS(MA1-MA3)
输出
均线粘合:CROSS(P2/C<5/100 AND MA1>1日前的MA1
AND MA2>1日前的MA2 AND C<25 AND ST1 AND CROSS(MA1,MA3)
AND MA3>1日前的MA3,0.382)