飞狐云开日出副图指标
源码
N:=3;
Var1:=MA(HHV(HIGH, 485), 17);
Var2:=MA(HHV(HIGH, 222), 17);
Var3:=MA(HHV(HIGH, 96), 17);
Var4:=MA(LLV(LOW, 485), 17);
Var5:=MA(LLV(LOW, 222), 17);
Var6:=MA(LLV(LOW, 96), 17);
Var7:=MA((Var4*0.960+Var5*0.960+Var6*0.960+Var1*0.558+Var2*0.558+Var3*0.558)/6, 17);
Var8:=MA((Var4*1.25+Var5*1.230+Var6*1.200+Var1*0.550+Var2*0.550+Var3*0.650)/6, 17);
Var9:=MA((Var4*1.300+Var5*1.300+Var6*1.300+Var1*0.680+Var2*0.680+Var3*0.680)/6, 17);
Var10:=MA((Var7*3+Var8*2+Var9)/6*1.738, 17);
Var11:=IF(DATE<=1150531, Var10, Var10*DAY);
Var12:=LOW;
Var13:=REF(LOW, 1);
Var14:=SMA(ABS(Var12-Var13), 3, 1)/SMA(MAX(Var12-Var13, 0), N, 1)*100;
Var15:=MA(IF(CLOSE*1.350<=Var11, Var14*10, Var14/10), N);
Var16:=LLV(LOW, 30);
Var17:=HHV(Var15, 30);
Var18:=1150831;
日出:IF(DATE<=Var18, MA(IF(LOW<=Var16, (Var15+Var17*2)/2, 0), N), 100000000);
Var19:=COST(10)*0;