财富铜 模型源码[文华财经公式]
财富铜 模型源码 公式 文华 财经 期货 专题参数:[N1,1,50,18]
[code]
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;
[/code]
页:
[1]