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;

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