源码
Var1:=REF(HIGH,1)*1.1;
Var2:=HIGH*1.1;
Var3:=(Var2*VOL+Var1*(CAPITAL-VOL))/CAPITAL;
Var4:=REF(LOW,1)*0.9;
Var5:=LOW*0.9;
Var6:=(Var5*VOL+Var4*(CAPITAL-VOL))/CAPITAL;
Var7:=EMA(Var6,30);
Var8:=EMA(Var3,30);
Var9:=Var8-2;
VarA:=IF(CLOSE<=Var7,Var9,Var8);
底: VarA;
趋: Var9;
AA:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
BB:=MA(AA,20);
【趋势线】:SMA(BB,30,1)/20;
【底部线】:(HHV(HIGH,30)/LLV(LOW,30));
【进入底部】:IF(CROSS(【底部线】,【趋势线】),10,0);
【冲出底部】:IF(CROSS(【趋势线】,【底部线】),10,0);