飞狐与庄干杯指标公式,飞狐初级要塞主图指标公式
admin888
|飞狐与庄干杯指标公式,飞狐初级要塞主图指标公式
飞狐与庄干杯指标公式
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(Sma(VAR2,3,1),3,1)/28.57;
VAR4:=ema(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=crOSS(VAR5,VAR3) AND VAR3<2.1 and c>o;
var6:=(2*CLOSE+HIGH+LOW)/4;
var7:=LLV(LOW,13);
var8:=HHV(HIGH,13);
var9:=EMA((var6-var7)/(var8-var7)*100,13);
varA:=EMA(0.667*REF(var9,1)+0.333*var9,2);
多:var9,COLORRED,POINTDOT;
空: EMA(0.382*REF(var9,2)+0.618*var9,12),COLOR00FF00;
stICKLINE(var9>varA,var9,varA,6,0), COLORWHITE;
STICKLINE(var9<=varA,var9,varA,6,0), COLORFFCC66;
{啤酒瓶画图源码}STICKLINE(AA,0,30,40,1),coloryellow;
STICKLINE(AA,16,29,38,0),colorgreen;
STICKLINE(AA,1,14,38,0),colorgreen;
STICKLINE(AA,15,15,40,1),coloryellow;
STICKLINE(AA,30,50,10,0),coloryellow;
STICKLINE(AA,53,55,10,1),colorred;
STICKLINE(AA,57,59,10,1),colorred;
STICKLINE(AA,61,63,10,1),colorred;
STICKLINE(AA,65,67,10,1),colorred;
STICKLINE(AA,69,75,12,0),colorffcccc;
DRAWTEXT(AA,85,'干杯'),coloryellow;
DRAWTEXT(AA,26,'五粮液'),coloryellow;
DRAWTEXT(AA,12,'XO'),coloryellow;
飞狐初级要塞主图指标公式
ma5:=(((((3 * CLOSE) + OPEN) + LOW) + HIGH) / 6);
A:=(((((((((((((((((((((20 * MA5) + (19 * REF(MA5,1))) + (18 * REF(MA5,2))) + (17 * REF(MA5,3))) + (16 * REF(MA5,4))) + (15 * REF(MA5,5))) + (14 * REF(MA5,6))) + (13 * REF(MA5,7))) + (12 * REF(MA5,8))) + (11 * REF(MA5,9))) + (10 * REF(MA5,10))) + (9 * REF(MA5,11))) + (8 * REF(MA5,12))) + (7 * REF(MA5,13))) + (6 * REF(MA5,14))) + (5 * REF(MA5,15))) + (4 * REF(MA5,16))) + (3 * REF(MA5,17))) + (2 * REF(MA5,18))) + REF(MA5,20)) / 210);
B:=MA(A,3);
B1:=MA(A,5);
B2:=MA(A,13);
B3:=MA(A,21);
B4:=MA(A,34);
B5:=REF(B2,BA
rslAst(crOSS("macd.MacD",0)));
X5:=REF(B3,BARSLAST(CROSS("MACD.MACD",0)));
X6:=REF(B2,BARSLAST(CROSS(0,"MACD.MACD")));
X7:=REF(B3,BARSLAST(CROSS(0,"MACD.MACD")));
VAR1:IF(("MACD.MACD" > 0),B5,X6),colorFFFFFF;
VAR2:IF(("MACD.MACD" > 0),X5,X7),colorFFFFFF;
FILLRGN((VAR1 > VAR2),VAR1,VAR2),colorFFFF;
FILLRGN((VAR1 < VAR2),VAR1,VAR2),colorFFFF00;
X8:=REF(B,BARSLAST(CROSS("kdj.K","kJ.D")));
X1:=REF(B1,BARSLAST(CROSS("KDJ.D","KDJ.K"))) COLORMAGENTA ;
X2:=REF(B,BARSLAST(CROSS("KDJ.d","KDJ.j")));
X3:=REF(B1,BARSLAST(CROSS("KDJ.j","KDJ.d"))) COLORGRAY;
VAR3:IF(("KDJ.K" > "KDJ.D"),X8,X2),colorFFFFFF;
VAR4:IF(("KDJ.D" > "KDJ.K"),X1,X3),colorFFFFFF;
FILLRGN((VAR3 > VAR4),VAR3,VAR4),colorFF00FF;
FILLRGN((VAR3 < VAR4),VAR3,VAR4),colorFFFFFF;
X4:=REF(B4,BARSLAST(CROSS("MACD.MACD",0)));
FILLRGN((X4 < MIN(VAR1,VAR2)),X4,MIN(VAR1,VAR2)),colorFF0000;
FILLRGN((X4 > MAX(VAR1,VAR2)),X4,MAX(VAR1,VAR2)),color808080;
STICKLINE((CLOSE >= REF(CLOSE,1)),CLOSE,OPEN,8,0),colorFF;
STICKLINE((CLOSE < REF(CLOSE,1)),CLOSE,OPEN,8,0),colorFF00;
STICKLINE((CLOSE >= REF(CLOSE,1)),HIGH,LOW,0,0),colorFF;
STICKLINE((CLOSE < REF(CLOSE,1)),HIGH,LOW,0,0),colorFF00;
PARTLINE(((CLOSE > MAX(VAR3,VAR4)) AND ("KDJ.k" > 50)),(MA(CLOSE,15) * 1.1)),LINETHICK2,colorFF00;
PARTLINE(((CLOSE > MAX(VAR3,VAR4)) AND ("KDJ.K" > 50)),((MA(CLOSE,15) * 1.1) - (((MA(CLOSE,15) * 1.1) - (MA(CLOSE,15) * 0.9)) * 0.191))),LINETHICK2,colorFF00;
STICKLINE(((CLOSE > MAX(VAR3,VAR4)) AND ("KDJ.k" > 50)),(MA(CLOSE,15) * 1.1),((MA(CLOSE,15) * 1.1) - (((MA(CLOSE,15) * 1.1) - (MA(CLOSE,15) * 0.9)) * 0.191)),0,0),colorFF00;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。