以下是黑马路道(第三代K线形态学指标公式,包括说明源码和附图)(无源码的请下载附件导入)
{加速跑道}
跑道AA:=MA(C,2);
跑道BB:=MA(C,9);
跑道AF:=CROSS(跑道AA,跑道BB);
跑道AF1:=CROSS(跑道BB,跑道AA);
上穿天数:=BARSLAST(跑道AF);
周期涨幅:=(HHV(C,上穿天数+8)-LLV(C,上穿天数+8))/LLV(C,上穿天数+8);
加速跑道:=周期涨幅<=0.15 AND 上穿天数>=6 AND COUNT(跑道AF1,上穿天数)<=0{ AND COUNT(底,20)>=1};
STICKLINE(加速跑道,0.65,0.68,0.1,0),COLORRED,LINETHICK3;
DRAWTEXT(加速跑道 AND COUNT(加速跑道,2)=1,0.62,'!加速跑道'),COLORRED;
747222681.jpg
|