请老师改一下指标 [博易POBO]
咨询内容:
CAPITAL:=GETPRICE1('流通股本');
流通盘:CAPITAL/1000000,NODRAW;
量比:GETPRICE1('量比'),NODRAW;
利润率:GETPRICE1('利润%'),NODRAW;
LC := REF(CLOSE,1);//前一周期收盘价
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
DIFF : =EMA(CLOSE,9) - EMA(CLOSE,18);
DEA : =EMA(DIFF,6);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
//买,卖改为竖线
H1:=MAX(GETPRICE('YSETTLE'),GETPRICE('HIGH'));
L1:=MIN(GETPRICE('YSETTLE'), GETPRICE('LOW'));
P1:=H1-L1;
阻力:=L1+P1*7/8;
支撑:=L1+P1*0.5/8;
中线:=(支撑+阻力)/2,COLORWHITE,POINTDOT;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3),LINETHICK2,COLORMAGENTA;
BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线;
//DRAWTEXT(BB0,0,'买'),COLORRED,FONTSIZE20;
VERTLINE(BB0,COLORRED);
DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线;
//DRAWTEXT(DD0,0,'卖'),COLORWHITE,FONTSIZE17;
VERTLINE(DD0,COLORGREEN);
来源 程序化久久网
请老师改一下指标
CAPITAL:=GETPRICE1('流通股本');
流通盘:CAPITAL/1000000,NODRAW;
量比:GETPRICE1('量比'),NODRAW;
利润率:GETPRICE1('利润%'),NODRAW;
LC := REF(CLOSE,1);//前一周期收盘价
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
DIFF : =EMA(CLOSE,9) - EMA(CLOSE,18);
DEA : =EMA(DIFF,6);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
//买,卖改为竖线
H1:=MAX(GETPRICE('YSETTLE'),GETPRICE('HIGH'));
L1:=MIN(GETPRICE('YSETTLE'), GETPRICE('LOW'));
P1:=H1-L1;
阻力:=L1+P1*7/8;
支撑:=L1+P1*0.5/8;
中线:=(支撑+阻力)/2,COLORWHITE,POINTDOT;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3),LINETHICK2,COLORMAGENTA;
BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线;
//DRAWTEXT(BB0,0,'买'),COLORRED,FONTSIZE20;
VERTLINE(BB0,COLORRED);
DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线;
//DRAWTEXT(DD0,0,'卖'),COLORWHITE,FONTSIZE17;
VERTLINE(DD0,COLORGREEN);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 老师辛苦修改一下,谢谢!! 搏奕这是怎么啦?人家文华5分钟就有回复!我的问题二天啦还没反应?来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容