循环指标自编
2014-11-6 15:23:59点击:
低位红线上穿绿线买入,高位红线下穿绿线卖出
JL:=EMA(VOL,13)/100;
JE:=EMA(AMOUNT,13);
JX:=((JE/JL)/100);
GL:=(((CLOSE-JX)/JX)*100);
绝对底:GL<(0-18),colorred;
大底:GL<(0-14),colorblue;
中底:GL<(0-10),coloryellow;
短底:GL<(0-6),colorwhite;
STICKLINE(绝对底,60,80,8,0),colorred;
STICKLINE(大底,40,60,8,0),colorblue;
STICKLINE(中底,20,40,8,0),coloryellow;
STICKLINE(短底,0,20,8,0),colorwhite;
高卖:80,colorred;
低吸:20,colorgreen;
VAR1:=LLV(LOW,4);
VAR2:=HHV(HIGH,4);
K:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5),colorred,LINETHICK1;
D:EMA(0.667*REF(K,1)+0.333*K,2),colorgreen,LINETHICK1;
代理编写(对转)通达信 飞狐 同花顺 大智慧 文华财经 博易大师 依天财经等软件指标!