散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK5,COLORFFFF00;
主筹估算:EMA(WINNER(C)*70,3),COLORLIMAGENTA,NODRAW;
筹码锁定:散筹估算-主筹估算,COLORBLUE;
STICKLINE(筹码锁定>0,筹码锁定,散筹估算,5,1),COLOR009900;
STICKLINE(筹码锁定<=0,0,散筹估算,2,1),COLOR009900;
STICKLINE(筹码锁定>0,0,筹码锁定,2,1),COLORFFBB00;
STICKLINE(筹码锁定<0,0,筹码锁定,2,1),COLORFFBB00;
动态底部:EMA(IF(L<=LLV(L,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3),COLORBROWN;
STICKLINE(动态底部>0,0,动态底部,2,1),COLORYELLOW;
涨:CROSS(主筹估算,筹码锁定),COLORWHITE;
强:CROSS(主筹估算,散筹估算) AND 筹码锁定<-15,COLORLIRED;
第1买点:CROSS(主筹估算,动态底部),COLORYELLOW,NODRAW;
第2买点:CROSS(主筹估算,筹码锁定),COLORLIBLUE,NODRAW;
第3买点:CROSS(主筹估算,散筹估算),COLORGREEN,NODRAW;
STICKLINE(涨,0,筹码锁定,2,0),COLORWHITE;
STICKLINE(强,0,散筹估算,2,0),COLORLIRED;
STICKLINE(第1买点,0,散筹估算,2,0),COLORYELLOW;
STICKLINE(第2买点,0,散筹估算,2,0),COLORLIBLUE;
STICKLINE(第3买点,0,散筹估算,2,0),COLORGREEN;
红线:主筹估算,LINETHICK2,COLORRED;
XG:(第1买点 OR 第2买点 OR 第3买点) AND (涨 OR 强) AND 筹码锁定<-15 AND NOT(C/REF(C,1)>1.0975 AND H=O);
DRAWTEXT(XG,动态底部,'买入'),COLORRED;