做波段的精品指标-精品通达信指标公式源码分享
通达信免费指标
08-15
阅读:107
评论:0
N:=12;
A1:=SMA(AMOUNT,10,1)/10000000;
{C5:DMA(SMA(VAR1,3,1),VOL/0.02/CAPITAL);
C13: DMA(SMA(VAR1,5,1),VOL/0.1/CAPITAL);
C34: DMA(SMA(VAR1,8,1),VOL/0.18/CAPITAL);
突破:CROSS(VAR1,C5) AND CROSS(VAR1,C13) AND CROSS(VAR1,C34);}
B1:=C>REF(C,1);B2:=C<=REF(C,1);
ZF:=(C-REF(C,1))/REF(C,1)*100;
DD:=SUM(IF (B1,A1*ZF,0),N);
KK:=SUM(IF (B2,A1*ZF,0),N);
DF:=SMA(DD,3,1);
KF:=-1*SMA(KK,3,1);
DLGT:DF-KF;
DLMA:SMA(DLGT,3,1);
0;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!