通信达卖三量公式 绝卖绝买副图公式源码(3)
MA13:=EMA(C,13);
买:= 买入 AND COUNT(买入,6)=1,NODRAW,COLORRED;
DRAWTEXT(买 AND SHOU,DWN-3,'买'),LINETHICK1,COLORMAGENTA;
卖:=(CROSS(3.5,价位线) OR (CROSS(慢,快)) AND COUNT(CROSS(3.5,价位线) OR (CROSS(慢,快)),6)=1),NODRAW,COLORGREEN;
买多:(买 OR 持多 AND 快>=REF(快,1)) AND NOT(卖) AND 持多 AND 斜率B>=0 AND SHOU ,NODRAW,COLORRED;
买空:(卖 OR 空 AND 快<REF(快,1)) AND NOT(买多) AND SHOU,NODRAW,COLORGREEN;
买绝:IF(买多 AND 斜率B>0.03 AND COUNT(买多,6)=1 ,1,0),STICK,COLORRED,LINETHICK5,NODRAW;
卖绝:=IF(卖 ,1,0),STICK,COLORCYAN,LINETHICK3;
MA3:MA(CLOSE,M3);
MA4:=MA(CLOSE,M4),COLORYELLOW,LINETHICK2;
STICKLINE(买多 AND SHOU AND 斜率B>0.03 ,MA3,UPR,4,0),COLORMAGENTA;
STICKLINE(空 AND SHOU,MA3,BBI,4,0),COLORLICYAN;
DRAWTEXT_FIX(1,0.32,1-0.08,0,STRCAT('买空:',CON2STR(卖绝*100,0))),COLORGREEN;
DRAWTEXT_FIX(1,0.32,1-0.15,0,STRCAT('买多:',CON2STR(买多*100,0))),COLORMAGENTA;
DRAWTEXT_FIX(1,0.40,1-0.15,0,STRCAT('持多:',CON2STR(持多*100,0))),COLORMAGENTA;
DRAWTEXT_FIX(1,0.40,1-0.08,0,STRCAT('持空:',CON2STR(空*100,0))),COLORGREEN;
DRAWTEXT_FIX(1,0.850,1-0.08,0,STRCAT('绝卖:',CON2STR(卖绝*100,0))),COLORCYAN;
DRAWTEXT_FIX(1,0.850,1-0.15,0,STRCAT('绝买:',CON2STR(买绝*100,0))),COLORRED;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com)