通达信公式改为飞狐交易师所用
答案:1 悬赏:70 手机版
解决时间 2021-11-30 19:16
- 提问者网友:愿为果
- 2021-11-30 06:20
通达信公式改为飞狐交易师所用
最佳答案
- 五星知识达人网友:患得患失的劫
- 2021-11-30 07:02
n:=6;
EXP1:EMA(CLOSE,5),COLORRED;
EXP2:EMA(CLOSE,10),COLORMAGENTA;
EXP3:EMA(CLOSE,15),linedot;
EXP4:EMA(CLOSE,20),linedot;
EXP5:EMA(CLOSE,30),linedot,COLORYELLOW;
EXP6:EMA(CLOSE,50),linedot;
DIRECTION:=CLOSE-REF(CLOSE,6);
VOLATILITY:=SUM(ABS((CLOSE-REF(CLOSE,1))),8);
ER:=ABS(DIRECTION/VOLATILITY);
FASTSC:=2/(2 + 1);
SLOWSC:=2/(30 + 1);
SSC:=ER*(FASTSC-SLOWSC)+SLOWSC;
CONSTANT:=SSC*SSC;
AMAHIGH:REF(EMA(HIGH,N),1)+CONSTANT*(HIGH- REF(EMA(HIGH,N),1)),COLORWHITE;
AMALOW:REF(EMA(LOW,N),1)+CONSTANT*(LOW- REF(EMA(LOW,N),1)),COLORWHITE;
EXP1:EMA(CLOSE,5),COLORRED;
EXP2:EMA(CLOSE,10),COLORMAGENTA;
EXP3:EMA(CLOSE,15),linedot;
EXP4:EMA(CLOSE,20),linedot;
EXP5:EMA(CLOSE,30),linedot,COLORYELLOW;
EXP6:EMA(CLOSE,50),linedot;
DIRECTION:=CLOSE-REF(CLOSE,6);
VOLATILITY:=SUM(ABS((CLOSE-REF(CLOSE,1))),8);
ER:=ABS(DIRECTION/VOLATILITY);
FASTSC:=2/(2 + 1);
SLOWSC:=2/(30 + 1);
SSC:=ER*(FASTSC-SLOWSC)+SLOWSC;
CONSTANT:=SSC*SSC;
AMAHIGH:REF(EMA(HIGH,N),1)+CONSTANT*(HIGH- REF(EMA(HIGH,N),1)),COLORWHITE;
AMALOW:REF(EMA(LOW,N),1)+CONSTANT*(LOW- REF(EMA(LOW,N),1)),COLORWHITE;
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯