老师你好帮我改一下 [博易POBO]
咨询内容:
M2:=10;
M1:=10;
M3:=20;
LC:=REF(CLOSE,1);
WRSI:=SUM(MAX(CLOSE-LC,0),M1)/SUM(ABS(CLOSE-LC),M1)*100;
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
B:=(CROSS(WRSI,M2));
S:=(CROSS(M2,WRSI)) OR (CROSS(M3,WRSI));
BM:=BARSLAST(B);
SM:=BARSLAST(S);
BM1:=IF(REF(BM,1)=-1 AND B,1,IF(REF(BM,1)<>-1 AND REF(SM,1)<>-1 AND REF(BM,1)>REF(SM,1) AND B AND REF(B,1)=0,1,0));
SM1:=IF(REF(SM,1)=-1 AND REF(BM,1)<>-1 AND S,1,IF( REF(SM,1)<>-1 AND REF(BM,1)<>-1 AND REF(SM,1)>REF(BM,1) AND S AND REF(S,1)=0,1,0));
BM1>0,BPK;
SM1>0,SPK;
AUTOFILTER;
这个帮我改一下
M1:=10;
M3:=20;
LC:=REF(CLOSE,1);
WRSI:=SUM(MAX(CLOSE-LC,0),M1)/SUM(ABS(CLOSE-LC),M1)*100;
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
B:=(CROSS(WRSI,M2));
S:=(CROSS(M2,WRSI)) OR (CROSS(M3,WRSI));
BM:=BARSLAST(B);
SM:=BARSLAST(S);
BM1:=IF(REF(BM,1)=-1 AND B,1,IF(REF(BM,1)<>-1 AND REF(SM,1)<>-1 AND REF(BM,1)>REF(SM,1) AND B AND REF(B,1)=0,1,0));
SM1:=IF(REF(SM,1)=-1 AND REF(BM,1)<>-1 AND S,1,IF( REF(SM,1)<>-1 AND REF(BM,1)<>-1 AND REF(SM,1)>REF(BM,1) AND S AND REF(S,1)=0,1,0));
BM1>0,FLAGBUY;
SM1>0,FLAGSELL;
AUTOFILTER; 来源 程序化久久网
老师你好帮我改一下
M2:=10;
M1:=10;
M3:=20;
LC:=REF(CLOSE,1);
WRSI:=SUM(MAX(CLOSE-LC,0),M1)/SUM(ABS(CLOSE-LC),M1)*100;
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
B:=(CROSS(WRSI,M2));
S:=(CROSS(M2,WRSI)) OR (CROSS(M3,WRSI));
BM:=BARSLAST(B);
SM:=BARSLAST(S);
BM1:=IF(REF(BM,1)=-1 AND B,1,IF(REF(BM,1)<>-1 AND REF(SM,1)<>-1 AND REF(BM,1)>REF(SM,1) AND B AND REF(B,1)=0,1,0));
SM1:=IF(REF(SM,1)=-1 AND REF(BM,1)<>-1 AND S,1,IF( REF(SM,1)<>-1 AND REF(BM,1)<>-1 AND REF(SM,1)>REF(BM,1) AND S AND REF(S,1)=0,1,0));
BM1>0,BPK;
SM1>0,SPK;
AUTOFILTER;
这个帮我改一下
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: M2:=10;M1:=10;
M3:=20;
LC:=REF(CLOSE,1);
WRSI:=SUM(MAX(CLOSE-LC,0),M1)/SUM(ABS(CLOSE-LC),M1)*100;
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
B:=(CROSS(WRSI,M2));
S:=(CROSS(M2,WRSI)) OR (CROSS(M3,WRSI));
BM:=BARSLAST(B);
SM:=BARSLAST(S);
BM1:=IF(REF(BM,1)=-1 AND B,1,IF(REF(BM,1)<>-1 AND REF(SM,1)<>-1 AND REF(BM,1)>REF(SM,1) AND B AND REF(B,1)=0,1,0));
SM1:=IF(REF(SM,1)=-1 AND REF(BM,1)<>-1 AND S,1,IF( REF(SM,1)<>-1 AND REF(BM,1)<>-1 AND REF(SM,1)>REF(BM,1) AND S AND REF(S,1)=0,1,0));
BM1>0,FLAGBUY;
SM1>0,FLAGSELL;
AUTOFILTER; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容