以下是文华财富铜模型源码(无源码的请下载附件导入)
模型源码:
[N1,1.000000,50.000000,18.000000]
UP:=REF(HHV(HIGH,N1),1);
DOWN:=REF(LLV(LOW,N1),1);
Y:=UP-DOWN;
A:=UP*0.001/2;
AUP:=UP+A;
ADOWN:=DOWN-A;
UP1:=IF(Y/UP<0.0045,AUP,UP);
DOWN1:=IF(Y/UP<0.0045,ADOWN,DOWN);
Z:=REF(HHV(HIGH,1),1);
T:=REF(LLV(LOW,1),1);
HIGH>UP1&&TIME>0959&&TIME<1424&&Z<>T,BK;
DOWN1>LOW&&TIME>0959&&TIME<1424&&Z<>T,SK;
HIGH>UP1||TIME>1456||Z=T,BP;
DOWN1>LOW||TIME>1456||Z=T,SP;
|