源码

{公称名称: 清风斜阳搏杀指标}

PP:=(((CLOSE / OPEN) > 1.03) AND ((HIGH / LOW) < ((CLOSE / OPEN) + 0.018)));
M1:EMA(CLOSE,3);
M2:EMA(CLOSE,5);
M3:EMA(CLOSE,10);
M4:EMA(CLOSE,20);
三日均量:=INTPART(SMA((VOL * CLOSE),3,1));
五日均量:=INTPART(SMA((VOL * CLOSE),5,1));
十日均量:=INTPART(SMA((VOL * CLOSE),10,1));
能量增减:=INTPART(((CLOSE * VOL) – REF(十日均量,1)));
能量选股:=(FILTER(((CROSS(能量增减,三日均量) AND (三日均量 > 五日均量)) AND (MA(CLOSE,3) > MA(CLOSE,5))),5) = 1);
DRAWICON((能量选股 AND (MA(CLOSE,3) > MA(CLOSE,5))),LOW,4);
DR:=(能量选股 AND (MA(CLOSE,3) > MA(CLOSE,5)));
A:=((VOL * (((OPEN + CLOSE) + LOW) + HIGH)) / 400000);
LC:=REF(CLOSE,1);
P1:=((SMA(MAX((CLOSE – LC),0),4,1) / SMA(ABS((CLOSE – LC)),4,1)) * 100);
P2:=((SMA(MAX((CLOSE – LC),0),12,1) / SMA(ABS((CLOSE – LC)),12,1)) * 100);
P3:=((SMA(MAX((CLOSE – LC),0),24,1) / SMA(ABS((CLOSE – LC)),24,1)) * 100);
MA10:=EMA(A,10);
MA30:=EMA(A,30);
SG:=(CROSS("KDJ.J",MA10) AND ((CLOSE / REF(CLOSE,1)) > 0.91));
XG:=(CROSS("KDJ.J",MA30) AND ((CLOSE / REF(CLOSE,1)) > 0.91));
SG1:=(CROSS(P1,P2) AND ((CLOSE / REF(CLOSE,1)) > 0.91));
SG2:=(CROSS(P2,P3) AND ((CLOSE / REF(CLOSE,1)) > 0.91));
SG3:=(CROSS(P1,P3) AND ((CLOSE / REF(CLOSE,1)) > 0.91));
JS:=FILTER((SG AND XG),10);
JC:=FILTER((SG1 AND SG2),10);
BS:=(JS AND JC);
BSD:=((PP AND JC) AND 能量选股);
DRAWICON(FILTER(JS,10),LOW,4);
DRAWTEXT((JS OR DR),(LOW – 0.108),’博’),ALIGN0,colorFF00FF;
DW:=(JS OR DR);
VAR1:=((IF((CLOSE > REF(CLOSE,1)),99,0) AND (M1 > M2)) AND DR);
VAR2:=IF(((((CLOSE / REF(CLOSE,1)) > 1.01) AND ((HIGH / CLOSE) < 1.01)) AND (VAR1 > 0)),91,0);
DRAWTEXT(FILTER(((VAR2 > 89) AND PP),10),(LOW – 0.188),’★/n杀’),ALIGN0,colorFF00;
选股:((JS OR DR) = 1),LINETHICK0;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。