通达信大黑马判断点指标(源码)
公式源码
RSV:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
GVV:=EMA(CLOSE,12) - EMA(CLOSE,15);
AA1:=CROSS(K,D);
AA2:=CROSS(DIFF,DEA);
AA3:=CROSS(DIFF,0);
AA4:=CROSS(GVV,(-0.01));
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
OK1:=(CLOSE > MA5) AND (CLOSE > MA10) AND (CLOSE > MA20) AND (CLOSE > MA30) AND ((LOW)*(0.9) < MA5) AND ((LOW)*(0.9) < MA10) AND ((LOW)*(0.9) < MA20) AND ((LOW)*(0.9) < MA30);
OK2:=(CLOSE > MA5) AND (CLOSE > MA10) AND (CLOSE > MA20) AND (CLOSE > MA30) AND (CLOSE > MA30) AND ((LOW)*(0.9) < MA5) AND ((LOW)*(0.9) < MA10) AND ((LOW)*(0.9) < MA20) AND ((LOW)*(0.9) < MA30) AND ((LOW)*(0.9) < MA60);
银疙瘩1:=AA1 AND (BARSLAST(AA2) < 6) AND OK1;
银疙瘩2:=AA2 AND (BARSLAST(AA1) < 6) AND OK1;
银疙瘩3:=AA3 AND (BARSLAST(AA1) < 6) AND OK1;
银疙瘩4:=AA4 AND (BARSLAST(AA1) < 6) AND OK1;
需要判研点:银疙瘩1 OR 银疙瘩2 OR 银疙瘩3 OR 银疙瘩4,COLORYELLOW;
银疙瘩5:=AA1 AND (BARSLAST(AA2) < 6) AND OK2;
银疙瘩6:=AA2 AND (BARSLAST(AA1) < 6) AND OK2;
银疙瘩7:=AA3 AND (BARSLAST(AA1) < 6) AND OK2;
银疙瘩8:=AA4 AND (BARSLAST(AA1) < 6) AND OK2;
重点判研点:银疙瘩5 OR 银疙瘩6 OR 银疙瘩7 OR 银疙瘩8,COLOR00FF00;
综合信号点:银疙瘩5 OR 银疙瘩6 OR 银疙瘩7 OR 银疙瘩8,COLORFF50FF;
下面为通达信大黑马判断点指标公式演示图片
- 上一篇公式:通达信四线归零选股指标(源码)
- 下一篇公式:通达信出击必胜指标(源码)