龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2020-3-30 11:14

文华《PP》模型源码

[code]TB:=IF(HIGH>REF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW);
TS:=IF(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE);
VOL1:=(TB-TS)*VOL/(TB+TS)/10000;
VOL0:=DMA(VOL1,0.07);
VOL2:=DMA(VOL1,0.01);
SHORT:=VOL0-VOL2,COLORSTICK;
MA1:=MA(SHORT,N);
CROSS(SHORT,MA1),BPK;
CROSS(MA1,SHORT),SPK;[/code]

期货新兵 发表于 2020-4-5 20:30

学习学习

页: [1]