飞狐大般若线主图指标公式,飞狐MACD优化指标公式
admin888
|飞狐大般若线主图指标公式,飞狐MACD优化指标公式
飞狐大般若线主图指标公式
VAR1:=ema(CLOSE,3);
VAR2:=Ema(CLOSE,8);
MA21:=EMA(CLOSE,21);
stICKLINE((VAR1 < MA21),CLOSE,OPEN,8,0),color10A111;
STICKLINE((VAR1 < MA21),CLOSE,OPEN,6,0),color10B222;
STICKLINE((VAR1 < MA21),CLOSE,OPEN,4,0),color10C333;
STICKLINE((VAR1 < MA21),CLOSE,OPEN,2,0),color10D444;
STICKLINE((VAR1 < MA21),HIGH,LOW,0,0),color10E555;
STICKLINE((VAR1 > MA21),CLOSE,OPEN,8,0),colorAAFF;
STICKLINE((VAR1 > MA21),CLOSE,OPEN,6,0),color11BBFF;
STICKLINE((VAR1 > MA21),CLOSE,OPEN,4,0),color22CCFF;
STICKLINE((VAR1 > MA21),CLOSE,OPEN,2,0),color33ddfF;
STICKLINE((VAR1 > MA21),HIGH,LOW,0,0),color44EEFF;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),CLOSE,OPEN,8,0),colorBBBBBB;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),CLOSE,OPEN,6,0),colorCCCCCC;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),CLOSE,OPEN,4,0),colorDDDDDD;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),CLOSE,OPEN,2,0),colorEEEEEE;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),HIGH,LOW,0,0),colorFFFFFF;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),CLOSE,OPEN,8,0),colorFF00FF;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),CLOSE,OPEN,6,0),colorFF22FF;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),CLOSE,OPEN,4,0),colorFF44FF;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),CLOSE,OPEN,2,0),colorFF66FF;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),HIGH,LOW,0,0),colorFF77FF;
A1:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),3) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),6)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),9)) / 3);
A2:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),5) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),10)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),20)) / 3);
A3:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),7) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),14)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),28)) / 3);
A4:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),9) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),18)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),36)) / 3);
A5:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),11) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),22)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),44)) / 3);
A6:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),13) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),26)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),52)) / 3);
A:(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),21) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),34)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),55)) / 3);
PARTLINE((A1 > REF(A1,1)),A1),colorFF00FF;
PARTLINE((A1 < REF(A1,1)),A1),colorFF00;
PARTLINE((A2 > REF(A2,1)),A2),colorFF00FF;
PARTLINE((A2 < REF(A2,1)),A2),colorFF00;
PARTLINE((A3 > REF(A3,1)),A3),colorFF00FF;
PARTLINE((A3 < REF(A3,1)),A3),colorFF00;
PARTLINE((A4 > REF(A4,1)),A4),colorFF00FF;
PARTLINE((A4 < REF(A4,1)),A4),colorFF00;
PARTLINE((A5 > REF(A5,1)),A5),colorFF00FF;
PARTLINE((A5 < REF(A5,1)),A5),colorFF00;
PARTLINE((A6 > REF(A6,1)),A6),colorFF00FF;
PARTLINE((A6 < REF(A6,1)),A6),colorFF00;
PARTLINE((A > REF(A,1)),A),LINETHICK3,colorFF00FF;
PARTLINE((A < REF(A,1)),A),LINETHICK3,colorFF00;
飞狐MACD优化指标公式
difF:ema(CLOSE,12)-Ema(CLOSE,27);
DEA:EMA(DIFF,9);
macd:2*(DIFF-DEA), COLORstICK,LINETHICK2;
低位金叉:=crOSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;
DRAWICON(二次金叉,DEA*0.9,1) ;
DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;
底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;
DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)
顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;
DRAWTEXT(低位金叉 AND 二次金叉 AND 底背离,0.25,'三全项'),COLOR0000FF,LINETHICK2;
建仓:IF(DIFF<0,DIFF,0),COLORYELLOW,LINETHICK2;
加仓:IF(DIFF<0,0,DIFF),COLORRED,LINETHICK2;
破仓:IF(DIFF
趋势强弱:IF(DIFF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;
绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,0.5,0),COLOR009700;
红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,0.5,0),COLORRED;
STICKLINE(DEA>=0,0,DEA,0,0),COLORBLUE;
STICKLINE(DEA<0,0,DEA,0,0),COLORYELLOW;
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。