飞狐心态纪律指标公式
2020/7/18 18:51:38
a:=vol/if(CAPITAL=0,ESTDATA(8),CAPITAL)*100;
b:=(c/ref(c,1)-1)*100;d:=(h-l)/l*100;
STICKLINE(d>if(CAPITAL=0,4,10),30,30+d,8,0),COLOR440044;
STICKLINE(d>if(CAPITAL=0,4,10),30,30+d,5,0),COLOR880088;
STICKLINE(d>if(CAPITAL=0,4,10),30,30+d,3,0),COLORaa00aa;
振幅大于10:STICKLINE(d>if(CAPITAL=0,4,10),30,30+d,1,0),COLORff00FF;
STICKLINE(d<if(CAPITAL=0,4,10),30,30+d,8,0),COLOR444400;
STICKLINE(d<if(CAPITAL=0,4,10),30,30+d,5,0),COLOR888800;
STICKLINE(d<if(CAPITAL=0,4,10),30,30+d,3,0),COLORaaaa00;
振幅小于10:STICKLINE(d<if(CAPITAL=0,4,10),30,30+d,1,0),COLORffFF00;
STICKLINE(a>if(CAPITAL=0,1,5),15,15+a,8,0),COLOR004444;
STICKLINE(a>if(CAPITAL=0,1,5),15,15+a,5,0),COLOR00aaaa;
STICKLINE(a>if(CAPITAL=0,1,5),15,15+a,3,0),COLOR00dddd;
换手大于5:STICKLINE(a>if(CAPITAL=0,1,5),15,15+a,1,0),COLOR00FFFF;
STICKLINE(a<if(CAPITAL=0,1,5),15,15+a,8,0),COLOR444400;
STICKLINE(a<if(CAPITAL=0,1,5),15,15+a,5,0),COLOR884400;
STICKLINE(a<if(CAPITAL=0,1,5),15,15+a,3,0),COLORAA8800;
换手小于5:STICKLINE(a<if(CAPITAL=0,1,5),15,15+a,1,0),COLORffcc00;
STICKLINE(b>0,0,0+b,8,0),COLOR000044;
STICKLINE(b>0,0,0+b,5,0),COLOR000088;
STICKLINE(b>0,0,0+b,3,0),COLOR0000AA;
上涨:STICKLINE(b>0,0,0+b,1,0),COLOR0000FF;
STICKLINE(b<0,0,0+b,8,0),COLOR004400;
STICKLINE(b<0,0,0+b,5,0),COLOR008800;
STICKLINE(b<0,0,0+b,3,0),COLOR00AA00;
下跌:STICKLINE(b<0,0,0+b,1,0),COLOR00FF00;
心理线:ma(a+b+d,4)*2;预期值:wma(心理线,8);
预期:cross(心理线,预期值),LINETHICK;纪律:cross(预期值,心理线),LINETHICK;
投股票 网 www.tou18.c n
股市公式下载推荐