10;
神奇筹码:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORDEBC56;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MA4:=MA(CLOSE,60);
最高价天数:= BArslAST(HHV(H,100)=H);
底部放量:MA(V,5)>MA(V,20) AND C
一级买入:COUNT(神奇筹码=14 OR COUNT(神奇筹码=12 OR COUNT(神奇筹码=8 AND 神奇筹码
二级买入:COUNT(神奇筹码<15,5)>=4 AND 神奇筹码<15;
三级买入:COUNT(神奇筹码<10,4)>=1 AND V
{四级买入:COUNT((一级买入 AND 二级买入) OR (一级买入 AND 三级买入) OR (二级买入 AND 三级买入),5)>=1 AND 神奇筹码<15;}
四级买入:((COUNT(一级买入,4)>=1 AND COUNT(二级买入,4)>=1) OR (COUNT(一级买入,4)>=1 AND COUNT(三级买入,4)>=1) OR (COUNT(二级买入,4)>=1 AND COUNT(三级买入,4)>=1)) AND 神奇筹码<15;
五级买入:(COUNT(一级买入,4)>=1 AND COUNT(二级买入,4)>=1 AND COUNT(三级买入,4)>=1) AND 神奇筹码<15;
六级买入:(COUNT(一级买入,2)>=1 AND COUNT(二级买入,2)>=1 AND COUNT(三级买入,2)>=1 AND COUNT(四级买入,2)>=1 AND COUNT(五级买入,2)>=1) AND 神奇筹码<15;
小三W底:COUNT(crOSS(神奇筹码,10),42)=2 AND 神奇筹码<6,COLOR6666FF;
大三w底:COUNT(CROSS(神奇筹码,50),100)=2 AND 神奇筹码<10 AND 最高价天数>90,COLORWHITE;
{STICKLINE(三级买入,100,0,1,-1),COLORYELLOW;}{底部放量之后缩量买进}
{STICKLINE(一级买入,100,50,2,0),COLORRED;}
{DRAWICON(COUNT(神奇筹码<20,9)>=7 AND 神奇筹码<20,110,24); }
DRAWICON(一级买入,90,9);
DRAWICON(二级买入,100,13);
DRAWICON(三级买入,110,24);
DRAWICON(四级买入,120,25);
DRAWICON(五级买入,130,26);
DRAWICON(六级买入,140,14);
满足条件天数:=IF(大三W底,最高价天数,0);
STICKLINE(大三W底,10,90,1,0),COLORWHITE;
STICKLINE(小三W底,10,80,1,0),COLOR6666FF;
STICKLINE(六级买入,10,70,1,0),COLORGREEN;
STICKLINE(五级买入,10,60,2,0),COLORMAGENTA;
STICKLINE(四级买入,10,50,3,0),COLORYELLOW;
STICKLINE(三级买入,10,40,4,0),COLORRED;
STICKLINE(二级买入,10,30,5,0),COLORBLUE;
STICKLINE(一级买入,10,20,6,0),COLORLIGRAY;
{一级买入的思路,围绕神奇筹码线连续下跌做文章,灵感来自TD序列9连环,19天内有14个下跌,或15天内有12个下跌,或9天内有8个下跌,神奇筹码小于前一日,小于10,两天加一起平均值小于30}
{二级买入思路,神奇筹码5天内有4天低于15,而且当前神奇筹码低于15,这是找的一个底部区域}
{三级买入思路,低神奇筹码加底部放量}
{四级买入思路,一二三级任意两个思路组合外加神奇筹码小于15}
{五级买入思路,4天之内,一二三级三个信号全都出现过外加神奇筹码小于15}
{六级买入思路,2天之内,一二三四五级思路全都出现过外加神奇筹码小于15}
EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORDEBC56;
{主力筹:=WINNER(C)*100,NODRAW;
散户筹:=(WINNER(C*1.1)-WINNER(C*0.9))*100,NODRAW;
STICKLINE(神奇筹码>散户筹,-10,-6,6,0),COLORRED;
STICKLINE(主力筹>散户筹,-5,0,6,0),COLORMAGENTA;
STICKLINE(神奇筹码>50,1,5,6,0),COLORFF9900;
STICKLINE(主力筹>80 AND 散户筹
{ZJX1:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;}
{ZJX2:=EMA(CLOSE,2)-EMA(CLOSE,89);
ZJX3:=2*(ZJX2-EMA(ZJX2,30))*10;
ZJX4:=EMA(CLOSE,2)-EMA(CLOSE,150);
ZJX5:=2*(ZJX4-EMA(ZJX4,100));
背离值:(POW(ZJX3,3)*0.1+POW(ZJX3,2))/45+(POW(ZJX5,3)*0.1+POW(ZJX5,1))*5,COLORYELLOW;
正常值:EMA(背离值,5),COLORWHITE;
STICKLINE(正常值>REF(正常值,1),0,正常值,1,1),COLORMAGENTA;
STICKLINE(正常值<=REF(正常值,1),0,正常值,1,1),COLORCYAN;
DRAWICON(CROSS(背离值,正常值),正常值*1.2,34);
DRAWICON(CROSS(正常值,背离值),正常值*0.8,35);};