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;
202108211200.jpg
|