您现在的位置:程序化交易>> 期货公式>> 博易大师>> 博易大师知识>>正文内容

老师您好;请帮忙修改一个指标,谢谢 [博易POBO]

咨询内容:

老师您好;请帮忙修改一个指标,谢谢


MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;
G1:=IF(MMS<-95,0,20);
UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);
KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);
AA:=-100*(趋势线-CLOSE)/趋势线;
AC:=(EMA(AA,5) );
SSL:=EMA(CLOSE,3);
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
MM:=MA(MMV,1);
AAA:ZIGZAG(C,10,1);
SA:=(MM*0.985);

GG:=(MA(CLOSE,21));
捞钱手:=IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;
能量线:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4)));
上开:=O;
上收:=C;
上高:=H;
上低:=L;
JJ:=(上开+上高+上低)/3;
A:=EMA(JJ,6);
智能黄金线:=A,COLORYELLOW,LINETHICK2;
B:=REF(A,1);

VA1:=EMA(上收,8);
VA2:=EMA(上收,20);
DRAWTEXT(CROSS(ZIGZAG(C,8,1),REF(ZIGZAG(C,8,1),1)),LOW,'★绝佳') ,LINETHICK2,COLORRED;
DRAWTEXT(CROSS(REF(ZIGZAG(C,10,1),1)>ZIGZAG(C,10,1),0.5),HIGH,'★卖');
//DRAWTEXT(CROSS(VA1,VA2)&&(C>=O)&& 智能黄金线>REF(智能黄金线,1),VA1,'★买'),COLOR00FF00;
选手A:=MA(上收,3);
箱顶A:=MA(REF(HHV(上收,6),1),3);
箱底A:=MA(REF(LLV(上收,3),1),3);
T1:=MA(上收,20)>=REF(MA(上收,20),1);
T2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND T1;
T3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100;
选手:=MA(上收,2);
箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;
T4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;
T5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;
VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);

//DRAWTEXT(CROSS(VAR3,VAR4)&&(C>=O)&& VAR3<40 AND UOO>0,LOW,'★'),COLORF00FF0;
//STICKLINE(C>=O,C,O,5,0),COLORRED;
//STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
//STICKLINE(C<=O,C,O,5,0),COLORGREEN;
//STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
//DRAWTEXT(CROSS(买线,卖线)&& 箱顶>=REF(箱顶,1),LOW,'★跟'),COLOR00FFFF;
//STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;
EMA1:EMA(C,5),COLOR99CC32;
EMA21:EMA(C,10),COLORWHITE;
EMA3:=EMA(C,20),COLOR9F5F9F;
EMA4:EMA(C,40),COLORFF00FF;
EMA5:EMA(C,60),COLORFFCC66;
EMA6:EMA(C,120),COLORBC8F8F;
EMA7:=EMA(C,240),COLORFF0000;

 

 来源:程序化99网( WWW.CXH99.COM )

博易技术人员: MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;
G1:=IF(MMS<-95,0,20);
UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);
KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);
AA:=-100*(趋势线-CLOSE)/趋势线;
AC:=(EMA(AA,5) );
SSL:=EMA(CLOSE,3);
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
MM:=MA(MMV,1);
AAA:ZIG(C,10,1);
SA:=(MM*0.985);

GG:=(MA(CLOSE,21));
捞钱手:=IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;
能量线:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4)));
上开:=O;
上收:=C;
上高:=H;
上低:=L;
JJ:=(上开+上高+上低)/3;
A:=EMA(JJ,6);
智能黄金线:=A,COLORYELLOW,LINETHICK2;
B:=REF(A,1);

VA1:=EMA(上收,8);
VA2:=EMA(上收,20);
DRAWTEXT(CROSS(ZIG(C,8,1),REF(ZIG(C,8,1),1)),LOW,'★绝佳') ,LINETHICK2,COLORRED;
DRAWTEXT(CROSS(REF(ZIG(C,10,1),1)>ZIG(C,10,1),0.5),HIGH,'★卖');
//DRAWTEXT(CROSS(VA1,VA2)&&(C>=O)&& 智能黄金线>REF(智能黄金线,1),VA1,'★买'),COLOR00FF00;
选手A:=MA(上收,3);
箱顶A:=MA(REF(HHV(上收,6),1),3);
箱底A:=MA(REF(LLV(上收,3),1),3);
T1:=MA(上收,20)>=REF(MA(上收,20),1);
T2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND T1;
T3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100;
选手:=MA(上收,2);
箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;
T4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;
T5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;
VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);

//DRAWTEXT(CROSS(VAR3,VAR4)&&(C>=O)&& VAR3<40 AND UOO>0,LOW,'★'),COLORF00FF0;
//STICKLINE(C>=O,C,O,5,0),COLORRED;
//STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
//STICKLINE(C<=O,C,O,5,0),COLORGREEN;
//STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
//DRAWTEXT(CROSS(买线,卖线)&& 箱顶>=REF(箱顶,1),LOW,'★跟'),COLOR00FFFF;
//STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;
EMA1:EMA(C,5),COLOR99CC32;
EMA21:EMA(C,10),COLORWHITE;
EMA3:=EMA(C,20),COLOR9F5F9F;
EMA4:EMA(C,40),COLORFF00FF;
EMA5:EMA(C,60),COLORFFCC66;
EMA6:EMA(C,120),COLORBC8F8F;
EMA7:=EMA(C,240),COLORFF0000; 谢谢老师,祝老师国庆节快乐,感谢 来源 程序化久久网

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容