飞狐指标公式精品主图
N2:=80;
N3:=10;
N4:=10;
Var1:=1;
Var2:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100*Var1;
Var3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100*Var1;
Var4:=MA(CLOSE,20);
Var5:=MA(CLOSE,5);
Var6:=LLV(LOW,N)*Var1;
涨1: Var6*1.236*Var1;
涨2: Var6*1.382*Var1;
涨3: Var6*1.618;
涨4: Var6*1.764;
Var7:=Var6*1.855;
Var8:=Var6*2;
Var9:=Var6*2.382;
VarA:=HHV(HIGH,N)*Var1;
跌1: VarA*0.855*Var1;
跌2: VarA*0.764*Var1;
跌3: VarA*0.618;
跌4: VarA*0.5;
跌5: VarA*0.382;
VarB:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VarC:=SMA(VarB,5,1)*Var1;
VarD:=SMA(VarC,3,1)*Var1;
VarE:=3*VarC-2*VarD*Var1;
头部: IF(CROSS(VarD,VarC) AND VarD>N2 AND Var2>N3,Var9*1.5,Var9)*Var1;
DRAWTEXT(CROSS(VarD,VarC) AND VarD>N2 AND Var2>N3,Var9*1.4,'头部');
底部: REVERSE(IF(CROSS(VarC,VarD) AND VarD4.5 AND Var2Var14)*20*Var1;
DRAWTEXT(Var1B,LOW,'10 AND Var2>5,Var9*1.3,'<---头部 ')*Var1;