副图公式源码:支持手机/电脑
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWKLINE(H,O,L,C);
GUA:EMA(C,3),COLORWHITE;
GUB:EMA(C,5),COLORYELLOW;
GUC:EMA(C,7),COLORBROWN;
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
今日量:=CCI*1.01-REF(CCI,1)*0.99,NODRAW;
昨日量:=REF(CCI*1.01,1)-REF(REF(CCI,1)*0.99,1),NODRAW;
注意:=REF(CCI,1)<50 AND 今日量>70;
抄底买入:=FILTER(注意,2);
DRAWTEXT(抄底买入,L-0.04,'抄底'),COLORMAGENTA;
DRAWICON(抄底买入,L-0.04,1);
逃顶卖出:=CCI>300;
GUD:=FILTERX(逃顶卖出,4);
DRAWTEXT(GUD,H,'逃顶'),COLORMAGENTA;
DRAWICON(GUD,H,2);
选股公式源码:
{选股公式:抄底}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
今日量:=CCI*1.01-REF(CCI,1)*0.99;昨日量:=REF(CCI*1.01,1)-REF(REF(CCI,1)*0.99,1);
注意:=REF(CCI,1)<50 AND 今日量>70;抄底买入:=FILTER(注意,2);
抄底:抄底买入; |