input:N1(3,1,100),N(2,1,100),Q(10,0,100);
AA1:=(REF(HIGH,N1) = HHV(HIGH,((2 * N1) + 1)));AAA:=FILTER(AA1,N1);BB1:=BACKSET(AAA,(N1 + 1));CC1:=FILTER(BB1,N1);CC:=(CC1 OR ISLASTBAR);AA2:=(REF(LOW,N1) = LLV(LOW,((2 * N1) + 1)));AAA2:=FILTER(AA2,N1);BB2:=BACKSET(AAA2,(N1 + 1));CC22:=FILTER(BB2,N1);GG1:=(ISLASTBAR AND REF(CC1,BARSLAST(CC1)));HH:=BACKSET(GG1,(BARSLAST(CC1) + 1));II:=(HH > REF(HH,1));JJ1:=REF(BARSLAST(CC1),1);KK:=BACKSET(II,(JJ1 + 2));LL:=(KK > REF(KK,1));DRAWLINE(LL,HIGH,II,HIGH,1),POINTDOT,colorFFFF00;CS:=((REF(HIGH,BARSLAST(II)) - REF(HIGH,BARSLAST(LL))) / (BARSLAST(LL) - BARSLAST(II)));阻力线:=(REF(HIGH,BARSLAST(II)) + (BARSLAST(II) * CS));阻力值:阻力线,LINETHICK0,colorFF0000;DRAWICON(CROSS(HIGH,阻力线),(阻力线 * 1.01),4);GG2:=(ISLASTBAR AND REF(CC22,BARSLAST(CC22)));HH2:=BACKSET(GG2,(BARSLAST(CC22) + 1));II2:=(HH2 > REF(HH2,1));JJ2:=REF(BARSLAST(CC22),1);KK2:=BACKSET(II2,(JJ2 + 2));LL2:=(KK2 > REF(KK2,1));DRAWLINE(LL2,LOW,II2,LOW,1),POINTDOT,colorFF00;CS1:=((REF(LOW,BARSLAST(II2)) - REF(LOW,BARSLAST(LL2))) / (BARSLAST(LL2) - BARSLAST(II2)));阻力线1:=(REF(LOW,BARSLAST(II2)) + (BARSLAST(II2) * CS1));阻力值1:阻力线1,LINETHICK0,colorFF00;DRAWICON(CROSS(阻力线1,LOW),(阻力线1 * 0.99),5);DRAWICON(LL2,LOW,13);DRAWICON(II2,LOW,13);A91:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,N) + 1));A92:=(A91 > REF(A91,1));B91:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,(N + 1)) + 1));B92:=(B91 > REF(B91,1));A9:=LINEVALUE(B92,HIGH,A92,HIGH,0,0);DRAWICON(CROSS(CLOSE,A9),LOW,4);A1:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,1) + 1));A2:=(A1 > REF(A1,1));B1:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,2) + 1));B2:=(B1 > REF(B1,1));D1:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,3) + 1));D2:=(D1 > REF(D1,1));DRAWLINE(D2,HIGH,B2,HIGH,1),color66CCFF;DRAWLINE(B2,HIGH,A2,HIGH,1),colorFFCC;DRAWICON(A2,HIGH,13);DRAWICON(B2,HIGH,13);DRAWICON(D2,HIGH,13);股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的飞狐分析趋势主图指标公式的问题一些解决方案仅供辅助你学习飞狐公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。
声明:飞狐分析趋势主图指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。
随便说说