博易大师模型 添财柱指标源码[博易大师公式]


Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
DIFF :=EMA(Q,36)-EMA(Q,81),COLORFF00FF,LINETHICK3;
DEA:=EMA(DIFF,17),COLORRED,LINETHICK3;
MACD :=2*(DIFF-DEA), COLORSTICK,LINETHICK7;
资金流量:=DIFF;
STICKLINE(DIFF>=0,0,DIFF,5,0),COLOR0000B3;
STICKLINE(DIFF>=0,0,DIFF,4,0),COLOR0000C8;
STICKLINE(DIFF>=0,0,DIFF,3,0),COLOR0000D7;
STICKLINE(DIFF>=0,0,DIFF,2,0),COLOR0000EA;
STICKLINE(DIFF>=0,0,DIFF,1,0),COLOR0000FF;{红柱消失卖出}
STICKLINE(DIFF<0,0,DIFF,5,0),COLOR00A600;
STICKLINE(DIFF<0,0,DIFF,4,0),COLOR00B500;
STICKLINE(DIFF<0,0,DIFF,3,0),COLOR00C600;
STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00D500;
STICKLINE(DIFF<0,0,DIFF,1,0),COLOR00E600;{绿柱消失买入}
STICKLINE(DEA>=0,0,DEA,5,0),COLORYELLOW;
STICKLINE(DEA>=0,0,DEA,4,0),COLORYELLOW;
STICKLINE(DEA>=0,0,DEA,3,0),COLORYELLOW;
STICKLINE(DEA>=0,0,DEA,2,0),COLORYELLOW;
STICKLINE(DEA>=0,0,DEA,1,0),COLORYELLOW;
STICKLINE(DEA<0,0,DEA,5,0),COLOR2266FF;
STICKLINE(DEA<0,0,DEA,4,0),COLOR2266FF;
STICKLINE(DEA<0,0,DEA,3,0),COLOR2266FF;
STICKLINE(DEA<0,0,DEA,2,0),COLOR2266FF;
STICKLINE(DEA<0,0,DEA,1,0),COLOR3388FF;
DRAWNUMBER(ISLASTBAR,资金流量,资金流量,2),COLORRED,ALIGN0;

相关信息