以下是通达信私密信号副图/选股预警指标公式源码(无源码的请下载附件导入)
私密信号副图/选股预警 源码 通达信 贴图
VAR0:=(MA(C,3));
VAR1:=(MA(C,5));
VAR2:=(MA(C,10));
VAR3:=(MA(C,20));
VAR4:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));
VAR5:=(((ATAN(((VAR0 / (REF(VAR0,1))) - 1) * 100)) * 180) / (3.1416));
VAR6:=(((ATAN(((VAR1 / (REF(VAR1,1))) - 1) * 100)) * 180) / (3.1416));
VAR7:=(((ATAN(((VAR2 / (REF(VAR2,1))) - 1) * 100)) * 180) / (3.1416));
VAR8:=(((ATAN(((VAR3 / (REF(VAR3,1))) - 1) * 100)) * 180) / (3.1416));
私密信号:IF(VAR5>45 AND VAR6>45 AND VAR7>60 AND VAR8>45 AND MA(C,250)>REF(MA(C,250),1),1,0);
827366069.png
|