以上就是本篇文章【文华财经期货软件指标公式源码期货指标赢顺云指标移动止损止盈指标公式.doc】的全部内容了,欢迎阅览 ! 文章地址:http://keair.bhha.com.cn/quote/5677.html
动态
相关文章
文章
同类文章
热门文章
栏目首页
网站地图
返回首页 康宝晨移动站 http://keair.bhha.com.cn/mobile/ , 查看更多
文华财经期货软件指标公式源码期货指标赢顺云指标移动止损止盈指标公式.doc
2024-12-29 18:54
DIRECTION:=CLOSE-REF(CLOSE,10);
VOLATILITY:=SUM(ABS((CLOSE-REF(CLOSE,1))),10);
ER:=ABS(DIRECTION/VOLATILITY);
FASTSC:=2/(2+1);
SLOWSC:=2/(30+1);
SSC:=ER*(FASTSC-SLOWSC)+SLOWSC;
CONSTANT:SSC*SSC;
AMA1:EMA(DMA(CLOSE,CONSTANT),1),COLORGREEN,LINETHICK3;
AMA2:EMA(DMA(CLOSE,CONSTANT),10),COLORGREEN,LINETHICK3;
BK:=CROSS(AMA1 REF(AMA1, 1) AMA2 REF(AMA2, 1) AMA1 AMA2,0.5);
SK:=CROSS(AMA1 REF(AMA1, 1) AMA2 REF(AMA2, 1) AMA1 AMA2,0.5);
SP:=CROSS(AMA1 REF(AMA1, 1) || AMA2 REF(AMA2, 1) || AMA1 AMA2,0.5);
BP:=CROSS(AMA1 REF(AMA1, 1) || AMA2 REF(AMA2, 1) || AMA1 AMA2,0.5);
DRAWTEXT(BK,L,多),COLORRED,VALIGN0;
DRAWTEXT(SK,H,空),COLORGREEN,VALIGN2;
DRAWTEXT(SP,H,平多),COLORGREEN,VALIGN2;