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;股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的飞狐初级要塞主图指标公式的问题一些解决方案仅供辅助你学习飞狐公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。
声明:飞狐初级要塞主图指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。
随便说说