请老师帮忙修改 [博易POBO]
咨询内容:
MA30:=EMA(CLOSE,30);
H1:=MAX(GETPRICE('YCLOSE'),GETPRICE('HIGH'));
L1:=MIN(GETPRICE('YCLOSE'),GETPRICE('LOW'));
P1:=H1-L1;
日时转换:=IF(PERIOD=5,120,240);
QZS:=(EMA(CLOSE,20)+EMA(CLOSE,64))/2;
VAR1:=(EMA(CLOSE,125)+EMA(CLOSE,125))/2;
VAR2:=(EMA(VOL,20)+EMA(VOL,64))/2;
强弱线:EMA(VAR1,日时转换),COLORMAGENTA,LINETHICK2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
FILLRGN(VAR1>EMA(VAR1,60),EMA(VAR1,60),VAR1,RGB(150,30,30));
FILLRGN(VAR1<EMA(VAR1,60),EMA(VAR1,60),VAR1,RGB(0,110,30));
牵引线:VAR1,COLORCYAN,LINETHICK3;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORGREEN;
强势区:IF(VAR1>强弱线,1,NULL),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,NULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORLIGHTRED;
STICKLINE(冲击量=1,QZS,VAR1,1,0),RGB(128,0,255);
YCLOSE:=STKDATA('',9,'c');
H1:=MAX(YCLOSE,HIGH);
L1:=MIN(YCLOSE,LOW);
P1:=H1-L1;
日时转换:=IF(DATAPERIOD=5,120,240);
QZS:=(EMA(CLOSE,20)+EMA(CLOSE,64))/2;
VAR1:=(EMA(CLOSE,125)+EMA(CLOSE,125))/2;
VAR2:=(EMA(VOL,20)+EMA(VOL,64))/2;
强弱线:EMA(VAR1,日时转换),COLORMAGENTA,LINETHICK2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=COUNT(VAR1>REF(VAR1,1),5) AND COUNT(VAR4>REF(VAR4,1),5);
FILLRGN(VAR1>EMA(VAR1,60),EMA(VAR1,60),VAR1),COLOR1E1E96;
FILLRGN(VAR1<EMA(VAR1,60),EMA(VAR1,60),VAR1),COLOR1E6E00;
牵引线:VAR1,COLORCYAN,LINETHICK3;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORGREEN;
强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORRED;
STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORFF0080; 来源 程序化久久网
请老师帮忙修改
老师辛苦修改一下MA30:=EMA(CLOSE,30);
H1:=MAX(GETPRICE('YCLOSE'),GETPRICE('HIGH'));
L1:=MIN(GETPRICE('YCLOSE'),GETPRICE('LOW'));
P1:=H1-L1;
日时转换:=IF(PERIOD=5,120,240);
QZS:=(EMA(CLOSE,20)+EMA(CLOSE,64))/2;
VAR1:=(EMA(CLOSE,125)+EMA(CLOSE,125))/2;
VAR2:=(EMA(VOL,20)+EMA(VOL,64))/2;
强弱线:EMA(VAR1,日时转换),COLORMAGENTA,LINETHICK2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
FILLRGN(VAR1>EMA(VAR1,60),EMA(VAR1,60),VAR1,RGB(150,30,30));
FILLRGN(VAR1<EMA(VAR1,60),EMA(VAR1,60),VAR1,RGB(0,110,30));
牵引线:VAR1,COLORCYAN,LINETHICK3;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORGREEN;
强势区:IF(VAR1>强弱线,1,NULL),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,NULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORLIGHTRED;
STICKLINE(冲击量=1,QZS,VAR1,1,0),RGB(128,0,255);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: MA30:=EMA(CLOSE,30);YCLOSE:=STKDATA('',9,'c');
H1:=MAX(YCLOSE,HIGH);
L1:=MIN(YCLOSE,LOW);
P1:=H1-L1;
日时转换:=IF(DATAPERIOD=5,120,240);
QZS:=(EMA(CLOSE,20)+EMA(CLOSE,64))/2;
VAR1:=(EMA(CLOSE,125)+EMA(CLOSE,125))/2;
VAR2:=(EMA(VOL,20)+EMA(VOL,64))/2;
强弱线:EMA(VAR1,日时转换),COLORMAGENTA,LINETHICK2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=COUNT(VAR1>REF(VAR1,1),5) AND COUNT(VAR4>REF(VAR4,1),5);
FILLRGN(VAR1>EMA(VAR1,60),EMA(VAR1,60),VAR1),COLOR1E1E96;
FILLRGN(VAR1<EMA(VAR1,60),EMA(VAR1,60),VAR1),COLOR1E6E00;
牵引线:VAR1,COLORCYAN,LINETHICK3;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORGREEN;
强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORRED;
STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORFF0080; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容