Var1:=1; Var2:=(2*CLOSE+HIGH+LOW)/4;
Var3:=IF(YEAR>=2099 AND MONTH>2,0,1);
Var4:=LLV(LOW,5);
Var5:=HHV(HIGH,4);
散户: EMA((Var2-Var4)/(Var5-Var4)*100,4)*Var3*Var1;
庄家: EMA(0.667*REF(散户,1)+0.333*散户,2)*Var3*Var1;
Var6:=(HHV(HIGH,4)-Var2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
Var7:=(Var2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
倒影: SMA(Var6,4,1)*Var1;
Var8:=SMA(Var7,2,1);
//ww w.fxjgsw.com
黄山: SMA(Var8,2,1)*Var1;
DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,20,'短进'),colorred;
DRAWTEXT(CROSS(庄家,散户) AND 散户>40 AND 71>散户,50,'短出'),colorgreen;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,0,'低吸'),colorred;
DRAWTEXT(CROSS(散户,庄家),散户,'始'),colorred;
DRAWTEXT(CROSS(庄家,散户),庄家,'终'),colorgreen;
高减:CROSS(庄家,散户) AND 散户>70,colorgreen,LINETHICK0;
低吸:CROSS(散户,庄家) AND 散户<30,colorred,LINETHICK0;
短进:CROSS(散户,庄家) AND 散户<50 AND 29<散户,LINETHICK0;
始:短进 OR 低吸,LINETHICK0;
|
