请老师帮我改成博易的,谢谢 [博易POBO]
咨询内容:
M1:=INPUT(1,100,5,5)
M2:=INPUT(1,100,20,20)
LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
买:EMA(RSI1,M1),COLORRED,LINETHICK2;
卖:EMA(RSI2,M2),LINETHICK2,COLORFFFF00;
DRAWK:=FALSE
VAR1:=REF(CLOSE,1);
VAR2:SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
好财神:=CROSS(80,VAR2);
DRAWICON(好财神>0,买*1.15,2);
DRAWTEXT(好财神>0,买,财神跑);
VAR3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR4:SMA(SMA(VAR3,3,1),3,1),COLOR00FF00;
VAR5:=EMA(VAR4,5);
VAR7:3*VAR4-2*VAR5,COLORGREEN;
DRAWTEXT(CROSS(VAR7,VAR4) AND VAR7<21,VAR4,财神到),COLORYELLOW;
DRAWICON(CROSS(VAR7,VAR4)>0 AND VAR7<21,VAR4,1);
RSI1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
买:EMA(RSI1,5),COLORRED,LINETHICK2;
卖:EMA(RSI2,20),LINETHICK2,COLORFFFF00;
//DRAWK:=FALSE
VAR1:=REF(CLOSE,1);
VAR2:SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
好财神:=CROSS(80,VAR2);
DRAWICON(好财神>0,买*1.15,2);
DRAWTEXT(好财神>0,买,'财神跑');
VAR3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR4:SMA(SMA(VAR3,3,1),3,1),COLOR00FF00;
VAR5:=EMA(VAR4,5);
VAR7:3*VAR4-2*VAR5,COLORGREEN;
DRAWTEXT(CROSS(VAR7,VAR4) AND VAR7<21,VAR4,'财神到'),COLORYELLOW;
DRAWICON(CROSS(VAR7,VAR4)>0 AND VAR7<21,VAR4,1);
来源 程序化久久网
请老师帮我改成博易的,谢谢
N2:=INPUT(1,100,10,10)M1:=INPUT(1,100,5,5)
M2:=INPUT(1,100,20,20)
LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
买:EMA(RSI1,M1),COLORRED,LINETHICK2;
卖:EMA(RSI2,M2),LINETHICK2,COLORFFFF00;
DRAWK:=FALSE
VAR1:=REF(CLOSE,1);
VAR2:SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
好财神:=CROSS(80,VAR2);
DRAWICON(好财神>0,买*1.15,2);
DRAWTEXT(好财神>0,买,财神跑);
VAR3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR4:SMA(SMA(VAR3,3,1),3,1),COLOR00FF00;
VAR5:=EMA(VAR4,5);
VAR7:3*VAR4-2*VAR5,COLORGREEN;
DRAWTEXT(CROSS(VAR7,VAR4) AND VAR7<21,VAR4,财神到),COLORYELLOW;
DRAWICON(CROSS(VAR7,VAR4)>0 AND VAR7<21,VAR4,1);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: LC:= REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
买:EMA(RSI1,5),COLORRED,LINETHICK2;
卖:EMA(RSI2,20),LINETHICK2,COLORFFFF00;
//DRAWK:=FALSE
VAR1:=REF(CLOSE,1);
VAR2:SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
好财神:=CROSS(80,VAR2);
DRAWICON(好财神>0,买*1.15,2);
DRAWTEXT(好财神>0,买,'财神跑');
VAR3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR4:SMA(SMA(VAR3,3,1),3,1),COLOR00FF00;
VAR5:=EMA(VAR4,5);
VAR7:3*VAR4-2*VAR5,COLORGREEN;
DRAWTEXT(CROSS(VAR7,VAR4) AND VAR7<21,VAR4,'财神到'),COLORYELLOW;
DRAWICON(CROSS(VAR7,VAR4)>0 AND VAR7<21,VAR4,1);
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容