底部极低买牛 强势到顶卖出【指标公式】(含选股)
第一部分 副图公式 手机/电脑N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK4;
DRAWTEXT(CROSS(200,CCI14),250,'下穿顶部线'),COLORGREEN;
DRAWTEXT(CROSS(100,CCI14),100,'下穿强势线'),COLORGREEN;
DRAWTEXT(CROSS(CCI14,-200),-150,'上穿极弱线'),COLORYELLOW;
DRAWTEXT(CROSS(CCI14,-100),-100,'上穿底部线'),COLORFF00FF;
STICKLINE(CCI14>0,0,CCI14,1,0),COLORRED;
STICKLINE(CCI14REF(CCI14,1),CCI14,0,1,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI14) AND CCI14
差:=CCI70-REF(CCI70,1);
IF(差>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK4;
IF(差-100 AND REF(CCI14,1)REF(CCI14,1)),CCI14-0.03,1);
DRAWICON(CROSS(100,CCI14) OR (REF(CCI14,1)95 AND CCI14
第二部分 选股公式
{选股公式一:红箭头图标}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
红箭头图标:CROSS(CCI14,-100) OR (REF(CCI14,1)>-100 AND REF(CCI14,1)REF(CCI14,1));
{选股公式二:黄柱}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
黄柱:CROSS(CCI14,-200) AND CCI14>REF(CCI14,1);
{选股公式三:上穿极弱线}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
上穿极弱线:CROSS(CCI14,-200);
{选股公式四:上穿底部线}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
上穿底部线:CROSS(CCI14,-100);
{卖出公式一:绿箭头图标}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
绿箭头图标:CROSS(100,CCI14) OR (REF(CCI14,1)95 AND CCI14
{卖出公式二:绿柱}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
绿柱:CROSS(200,CCI14) AND CCI14
{卖出公式三:下穿顶部线}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
下穿顶部线:CROSS(200,CCI14);
{卖出公式四:下穿强势线}
N:=14;TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
下穿强势线:CROSS(100,CCI14);
页:
[1]