N赋值:7
N1赋值:14
N2赋值:28
TH赋值:最高价和1日前的收盘价的较大值
TL赋值:最低价和1日前的收盘价的较小值
TR赋值:TH-TL
XR赋值:收盘价-TL
XRM赋值:XR的N日累和/真实波幅的N日累和
XRN赋值:XR的N1日累和/真实波幅的N1日累和
XRO赋值:XR的N2日累和/真实波幅的N2日累和
US赋值:(N1*N2*XRM+N*N2*XRN+N*N1*XRO)/(N1*N2+N*N2+N*N1)*100/100
MAUS赋值:US的6日指数移动平均
输出买1:US>1日前的USANDUS<MAUSANDCLOSE>OPENANDMAUS<1日前的MAUS上穿0.5 AND 最近10日那部分成本以收盘价价格卖出的获利盘比例<0.6
输出买2:统计5日中满足US>1日前的USANDUS<MAUSANDCLOSE>OPENANDMAUS<1日前的MAUS上穿0.5的天数=2上穿0.5
N:=7;N1:=14;N2:=28;
TH:=MAX(H,REF(C,1));
TL:=MIN(L,REF(C,1));
TR:=TH-TL;XR:=C-TL;
XRM:=SUM(XR,N)/SUM(TR,N);XRN:=SUM(XR,N1)/SUM(TR,N1);
XRO:=SUM(XR,N2)/SUM(TR,N2);
US:=(N1*N2*XRM+N*N2*XRN+N*N1*XRO)/(N1*N2+N*N2+N*N1)*100/100;
MAUS:=EMA(US,6);
买1:CROSS(US>REF(US,1) AND US<MAUS AND CLOSE>OPEN AND MAUS<REF(MAUS,1),0.5) AND LWINNER(10,CLOSE)<0.6;
买2:CROSS(COUNT(CROSS(US>REF(US,1) AND US<MAUS AND CLOSE>OPEN AND MAUS<REF(MAUS,1),0.5),5)=2,0.5);
该公式包含未来函数:WINNER
该公式包含未来函数:LWINNER
联系客服