飞狐初级要塞主图指标公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
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,BARSLAST(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","KDJ.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;
选股票看什么指标最好 >股票指标网
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
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,BARSLAST(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","KDJ.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;
选股票看什么指标最好 >股票指标网
精彩评论