均线:=(MA(C,3)+MA(C,5)+MA(C,8)+MA(C,13)+MA(C,21))/5, COLORBLUE;
均线XMA:=(REFX(MA(C,3),3/2)+REFX(MA(C,5),5/2)+REFX(MA(C,8),8/2)+REFX(MA(C,13),13/2)+REFX(MA(C,21),21/2))/5,COLORBLUE;
DIFF:=均线XMA*2-均线, COLORRED,NODRAW;
DEA:均线,LINETHICK1,COLORRED;
绿降:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORMAGENTA,LINETHICK1;
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,1.5,0),COLORRED;
STICKLINE(TJ,O,C,5,1),COLORRED;
STICKLINE(TJ1 AND TJ,H,L,1.5,0),COLORRED;
STICKLINE(TJ1 AND TJ,O,C,5,1),COLORRED;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TR1,13);
VAR1:=REF(CLOSE,1)-REF(ATR,1);
多空分界:HHV(VAR1,21),LINETHICK1,COLORBLUE,NODRAW;
STICKLINE(DIFF<=多空分界,H,L,1.5,0),COLORFFDE00;
STICKLINE(DIFF<=多空分界,O,C,5,1),COLORFFDE00;
DRAWTEXT(CROSS(DIFF,多空分界) ,DEA,’多’),COLORRED;
DRAWTEXT(CROSS(多空分界,DIFF) ,DIFF,’空’),COLORBLACK;
DRAWCOLORLINE(DEA>=REF(DEA,1),DEA,COLORMAGENTA,COLORFFDE00);
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(BU,OPEN,CLOSE,5,0),COLORYELLOW;
STICKLINE(SEL,OPEN,CLOSE,5,0),COLORBLUE;

文华财经波段交易系统指标公式源码

指标下载声明:1、指标下载前请认真阅读详情内容,不提供具体使用方法,自行学习研究;2、您已下载代表对本指标认可,虚拟物品不予退款和调换;3、下载后如需修改或者定制编写指标,另收取费用;4、指标仅是分析辅助工具,不可依赖,理性使用,盈亏自负! 转载文章声明:本网站转载文章仅为传播更多期货行业信息,并不代表本网站赞同其观点,本网站也不保证文章内容的真实性、准确性和可靠性、完整性。 文章解释权归原作者所有,依次操作,所有后果自行承担,与本站无任何关系。如该文章涉及作品内容、版权或禁止转载的,请及时联系,我们将在第一时间处理。