程序

电梯幅图主程序

QX:=EMA(CLOSE,N);

快:COUNT(QX>REF(QX,1),3)/3*100,COLOR00FF00;

慢:COUNT(QX>REF(QX,1),6)/6*100,COLORFFFFFF;

备钱:IF(快=0 AND 慢>20,20,0),COLORFF00FF;

低买:IF(快=0 AND BETWEEN(慢,1,20),50,0),COLORRED;

关注:IF(快=0 AND 慢=0,10,0),COLORFF8800;

JC:=(CROSS(快,1) AND 慢<=40) OR (CROSS(慢,20) AND 快<=50);

进场:IF(FILTER(JC,3),20,0),COLOR00FFFF,LINETHICK0;

STICKLINE(进场,0,100,0,-1),COLOR00FFFF;

QSXS:=快>=50 AND 快>=REF(快,1) AND 慢>=REF(慢,1);

上楼:IF(QSXS,1,0),COLOR0000FF,NODRAW;

风险:IF(快=100 AND 慢>=80,90,100),COLORFF00FF;

FXSJ:=BARSLAST(风险=90);

快跑:IF(FXSJ=1,1,0),COLORFFFF00,POINTDOT,NODRAW;

QSXX:=快<=REF(快,1) AND 慢<=REF(慢,1);

下楼:IF(FXSJ>=2 AND COUNT(QSXX,FXSJ)=FXSJ,1,0),COLOR00FFFF,NODRAW;

{以下设置副图显示方式}

A1:=IF(上楼,慢,快);

A2:=IF(下楼,慢,快);

DRAWBAND(快,RGB(255,0,0),A1,RGB(0,255,0));


参数设置:


主图叠加赵云

LC:=REF(CLOSE,1);

RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;

DIF:IF(EMA(C,12)>EMA(C,26),EMA(C,12),EMA(C,26));

DEA:IF(EMA(EMA(C,12),9)>EMA(EMA(C,26),9),EMA(EMA(C,12),9),EMA(EMA(C,26),9));



魏延天知

ADVANCE,COLORRED,NODRAW;

DECLINE,COLORRED,NODRAW;

BTIQ:=100*ADVANCE/(ADVANCE+DECLINE);

判明大盘:MA(BTIQ,5);

买入:判明大盘<30,NODRAW,COLORYELLOW;

DRAWICON(买入,30*0.99,1);

25,COLORLICYAN;

80,COLORLIRED;




原创者 有限次重复博弈

你可能感兴趣的:(程序)