老师能帮忙给改成变色的 [博易POBO]
咨询内容:
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;
可自定义颜色,颜色函数 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; 来源 程序化久久网
老师能帮忙给改成变色的
老师能帮忙把这个指标改成变色的,我的版本是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; 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
相关文章
-
没有相关内容