飞狐满仓指标公式
2015-1-15 21:08:36点击:
input:n(500,100,2000);
M_C1:=EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and c/ref(c,1)<1.05 and c/ref(c,1)>0.905 and V/CAPITAL*100<5;
M_C2:=MIN(ref(C,2)*0.865,ref(c,13)*0.772);
M_C3:(C-M_C2)/C;//这是满仓信号源码的核心曲线,这里我让它显示在附图上供大家观察
k1:=hhv(M_C3,n)-llv(M_C3,n);//界定曲线振动区域
k2:=llv(M_C3,n)+0.05*k1;//界定信号的极限下区域
k3:=llv(M_C3,n)+0.2*k1;//界定信号的极限上区域
M_C4:if(llv(M_C3,60)>k3,k3,if(llv(M_C3,60)<k2,k2,llv(M_C3,60)));//界定信号的确定
新信号:0.3*(M_C3<=M_C4+0.02*k1),colorred;
原满仓:0.6*(M_C1 and M_C3<0.03 ),coloryellow;
M_C1:=EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and c/ref(c,1)<1.05 and c/ref(c,1)>0.905 and V/CAPITAL*100<5;
M_C2:=MIN(ref(C,2)*0.865,ref(c,13)*0.772);
M_C3:(C-M_C2)/C;//这是满仓信号源码的核心曲线,这里我让它显示在附图上供大家观察
k1:=hhv(M_C3,n)-llv(M_C3,n);//界定曲线振动区域
k2:=llv(M_C3,n)+0.05*k1;//界定信号的极限下区域
k3:=llv(M_C3,n)+0.2*k1;//界定信号的极限上区域
M_C4:if(llv(M_C3,60)>k3,k3,if(llv(M_C3,60)<k2,k2,llv(M_C3,60)));//界定信号的确定
新信号:0.3*(M_C3<=M_C4+0.02*k1),colorred;
原满仓:0.6*(M_C1 and M_C3<0.03 ),coloryellow;
- 上一篇:飞狐资金突破主图指标公式 2015/1/15
- 下一篇:飞狐巫山风景指标公式 2015/1/15