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

老师能帮忙给改成变色的 [博易POBO]

咨询内容:

老师能帮忙给改成变色的

老师能帮忙把这个指标改成变色的,我的版本是5.2.11比较老
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,10,1);
慢速:=SMA(VAR2,5,1);
RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;
RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FATK:=SMA(RSV1,3,1);
形态:=SMA(FATK,3,1);
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB:=SMA(VARA,3,1);
VARC:=SMA(VARB,3,1);
加速: EMA(3*VARB-2*VARC,2),COLORYELLOW;
底:6,COLOR00BF00;
大底:-6,COLOR007300;
顶:90,COLORFFA500;
大顶:100,COLORWHITE;
VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
买入:=VAR11 AND VAR22,LINETHICK2,COLORRED;
VAR3:=REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
卖出:=CROSS(80,VAR4),LINETHICK2,COLORGREEN;
VAR5:=CROSS(加速,100);VAR6:=CROSS(加速,-6);
VAR7:=CROSS(80,加速);VAR8:=CROSS(加速,6);
DRAWTEXT(VAR5,85,'顶'),COLORBLUE;
DRAWTEXT(VAR6,0,'底'),COLORRED;
DRAWTEXT(VAR7,95,'空'),COLORGREEN;
DRAWTEXT(VAR8,5,'多'),COLORMAGENTA;

 

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

博易技术人员: 最新版本5.5.19,合同甲方官网升级
可自定义颜色,颜色函数 COLOR~ VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,10,1);
慢速:=SMA(VAR2,5,1);
RSV:=((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FATK:=SMA(RSV1,3,1);
形态:=SMA(FATK,3,1);
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB:=SMA(VARA,3,1);
VARC:=SMA(VARB,3,1);
加速:=EMA(3*VARB-2*VARC,2),COLORYELLOW;
PARTLINE2(加速,加速>REF(加速,1),COLORRED,加速<REF(加速,1),COLORGREEN);
底:6,COLOR00BF00;
大底:-6,COLOR007300;
顶:90,COLORFFA500;
大顶:100,COLORWHITE;
VAR11:=LLV(LOW,5)=LLV(LOW,45)ANDCLOSE>=OPEN*1.04;
VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
买入:=VAR11ANDVAR22,LINETHICK2,COLORRED;
VAR3:=REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
卖出:=CROSS(80,VAR4),LINETHICK2,COLORGREEN;
VAR5:=CROSS(加速,100);VAR6:=CROSS(加速,-6);
VAR7:=CROSS(80,加速);VAR8:=CROSS(加速,6);
DRAWTEXT(VAR5,85,'顶'),COLORBLUE;
DRAWTEXT(VAR6,0,'底'),COLORRED;
DRAWTEXT(VAR7,95,'空'),COLORGREEN;
DRAWTEXT(VAR8,5,'多'),COLORMAGENTA;  来源 程序化久久网

 

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

可联系技术人员 QQ: 511411198  有需要帮忙请点击这里留言!!!或微信:cxhjy888 进行 有偿 编写!

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


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

相关文章

    没有相关内容