{N、M、N1、M1,缺省:10,最小:1,最大:100}
散筹估算:EMA((WINNER((O+C*2+H+L)/5*1.1)-WINNER((O+C*2+H+L)/5*0.9))*80,N),COLORBLUE;
EMA((WINNER((O+C*2+H+L)/5*1.1)-WINNER((O+C*2+H+L)/5*0.9))*80,N1),COLORBLUE,LINETHICK2;
主筹估算:EMA(WINNER((O+C*2+H+L)/5)*70,M),COLOR0000ff;
EMA(WINNER((O+C*2+H+L)/5)*70,M1),COLOR0000ff,linethick2;
相对筹码:散筹估算-主筹估算,COLORff9900,linethick2;
STICKLINE(主筹估算>散筹估算,主筹估算,散筹估算,0,0),COLORRED;
STICKLINE(主筹估算<散筹估算 and 主筹估算>相对筹码,主筹估算,散筹估算,0,0),COLORWHITE;
STICKLINE(主筹估算<散筹估算 and 主筹估算<相对筹码,主筹估算,散筹估算,0,0),COLORGREEN;
亏损筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),Coloryellow;
动态底部:EMA(IF(L<= LLV(l,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1),0),3)*10,STICK,COLORYELLOW,LINETHICK4;
VAR1:=IF(C>=O,H,0);
VAR2:=IF(C<=O,REF(H,1),VAR1);
VAR3:=IF(C>=O,V,0);
VAR4:=IF(C<=O,REF(V,1),VAR3);
VAR5:=COUNT(VAR2>REF(VAR2,1) AND VAR4<REF(VAR4,1),3)>=2 AND C>O;
量价背离:VAR5*40,STICK,COLORGREEN,LINETHICK3;
cc:FILTER( (CROSS(5,主筹估算) and 散筹估算<20 )*60,10 ),colorgreen;
DRAWTEXT(cc ,-10 ,'海底捞活鱼(抄底)' ),colorff00ff;
aa:= ref(主筹估算,30)>40 or ref(主筹估算,20)>40;
aa1:=cross(主筹估算,散筹估算);
DRAWTEXT(AA1,70,'鸡雀升天'),color00ff00;
bb:=CROSS(28,主筹估算) and 散筹估算>40 and aa=1 and LLV(l ,60 )>LLV(l ,250 );
DRAWTEXT(bb,60,'决战诱空'),colorwhite;
IF(bb,30,60 ),colorwhite;