请老师将该指标修改为博易版本,谢谢。 [博易POBO]
咨询内容:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A1:=REF(COUNT(K<=50,3)>=1,DAYBARPOS) AND K>=REF(K,1);
B1:=REF(COUNT(K>=50,3)>=1,DAYBARPOS) AND K<=REF(K,1);
{MACD}
DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : =EMA(DIFF,M),LINETHICK2;
MACD := 2*(DIFF-DEA),COLORSTICK;
C1:=MACD<0 AND MACD>=REF(MACD,1) AND REF(MACD,1)<=REF(MACD,2);
D1:=MACD>0 AND MACD<=REF(MACD,1) AND REF(MACD,1)>=REF(MACD,2);
AA:=A1 AND C1;
BB:=B1 AND D1;
FILTER(AA,1)||FILTER(BB,1),SPARK;
PLAYSOUND(FILTER(AA,1),'A');
PLAYSOUND(FILTER(BB,1),'A');
请老师将该指标修改为博易版本,谢谢。
{KD}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A1:=REF(COUNT(K<=50,3)>=1,DAYBARPOS) AND K>=REF(K,1);
B1:=REF(COUNT(K>=50,3)>=1,DAYBARPOS) AND K<=REF(K,1);
{MACD}
DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : =EMA(DIFF,M),LINETHICK2;
MACD := 2*(DIFF-DEA),COLORSTICK;
C1:=MACD<0 AND MACD>=REF(MACD,1) AND REF(MACD,1)<=REF(MACD,2);
D1:=MACD>0 AND MACD<=REF(MACD,1) AND REF(MACD,1)>=REF(MACD,2);
AA:=A1 AND C1;
BB:=B1 AND D1;
FILTER(AA,1)||FILTER(BB,1),SPARK;
PLAYSOUND(FILTER(AA,1),'A');
PLAYSOUND(FILTER(BB,1),'A');
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 目前不支持声音提醒。 不支持声音的话,就把声音摒弃掉,其他的条件预警可否成立? 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容