龙听期货论坛's Archiver

龙听 发表于 2018-12-24 14:53

大智慧玄黄心跳公式源码[大智慧公式]

[code]
{大智慧玄黄心跳公式源码}
Var1:=100*(INDEXC-ref(INDEXC,1))/ref(INDEXC,1);
Var2:=100*(CLOSE-ref(CLOSE,1))/ref(CLOSE,1);
Var3:=MA(Var1,10);
Var4:=MA(Var2,10);
Var5:=(Var4-Var3)/Var3;
Var6:=MA((MA(LLV(LOW,485),17)*1.3+MA(LLV(LOW,222),17)*1.3+MA(LLV(LOW,222),17)*1.3+MA(HHV(HIGH,485),17)*0.68+MA(HHV(HIGH,222),17)*0.68+MA(HHV(HIGH,96),17)*0.68)/6,17);
心跳频率: IF(CLOSE<Var6 AND CLOSE>MA(CLOSE,3),Var5,0),stick,linethick3,colorred;
DRAWTEXT(心跳频率>0 OR 心跳频率<0 AND LOW=LLV(LOW,34) ,心跳频率 ,'买' ),coloryelLOW;
[/code]

页: [1]