飞狐散户同盟副图指标
源码
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
HLP:=EMA(WINNER(CLOSE*0.98)*100,10);
Var1:=CLOSE/MA(CLOSE,40)*100<78;
Var2:=CLOSE/MA(CLOSE,60)*100<74;
Var3:=HIGH>LOW*1.051 AND J<55 AND HLP<30 ;
Var4:=Var3 AND COUNT(Var3,5)>=3;
散户:=close/ma(close,12);
散户同盟:sum( ma(散户,10),9)/5.557 * 6;
抢钱:9.1;
水平线:9.3;
拉升在即:9.6;
警戒线:9.8;
逃命线:9.9;
跳水线:10.25;
DRAWICON(散户同盟<9.0 AND count(c>ref(c,1),6)>=3
DRAWICON(cross(跳水线,散户同盟) ,10.35,2);
DRAWICON(cross(散户同盟,水平线) and count(c>ref(c,1),3)=1 and
DRAWICON(cross(散户同盟,拉升在即) and count(c>ref(c,1),3)>=1 and ma(v,6)> ma(v,10) and hhv(h,6)/(llv(l,6)>=1.10 and ref(c,6)/ref(c,1)<=1.35),9.72,1);
DRAWTEXT(CLOSE 65,散户同盟,'↓'),colorGREEN,linethick4;
DRAWTEXT(CLOSE80,散户同盟,'↓'),colorBLUE,linethick4;
DRAWTEXT(CLOSE 11.1,散户同盟,'↓'),coloryellow,linethick4;
DRAWTEXT(h/l>1.08 and h/c>1.05 and HLP>60 and
DRAWTEXT((cross(散户同盟,警戒线) and c>ref(c,3) and h/ma(c,5)<1.015
and l/ma(c,5)>0.98