资源描述:
《预测目标涨幅:主图指标公式》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、预测目标涨幅:主图指标公式十天:=125;目标线:=1;缺口线:=1;{缺口与涨停}STICKLINE(L>REF(H,1)AND缺口线=1,REF(H,1),L,6,-1),COLORYELLOW;STICKLINE(H<REF(L,1)AND缺口线=1,REF(L,1),H,6,0),COLORBLUE;DRAWKLINE(H,O,L,C);ZT:=CLOSE/REF(CLOSE,1)>=1.095;STICKLINE(ZTAND缺口线=1,O,C,-1,0),COLORRED;{涨幅预测}CURR:=CURRBARSCOUNT;BCL:=CONST(FINDL
2、OW(L,0,十天10,1));DTT:=CONST(BARSLAST(BCL=L))+1;SXL:=CONST(IF(DTT=1,L,REF(L,DTT-1)));GTHT:=IF(DTT,DTT,DRAWNULL);底:=IF(CURR<=GTHTAND目标线=1,SXL,DRAWNULL);一:=IF(CURR<=GTHTAND目标线=1,SXL1.146,DRAWNULL);二:=IF(CURR<=GTHTAND目标线=1,SXL1.191,DRAWNULL);三:=IF(CURR<=GTHTAND目标线=1,SXL1.236,DRAWNULL);四:
3、=IF(CURR<=GTHTAND目标线=1,SXL1.382,DRAWNULL);五:=IF(CURR<=GTHTAND目标线=1,SXL1.5,DRAWNULL);六:=IF(CURR<=GTHTAND目标线=1,SXL1.618,DRAWNULL);七:=IF(CURR<=GTHTAND目标线=1,SXL1.764,DRAWNULL);八:=IF(CURR<=GTHTAND目标线=1,SXL1.809,DRAWNULL);九:=IF(CURR<=GTHTAND目标线=1,SXL1.854,DRAWNULL);十:=IF(CURR<=GT
4、HTAND目标线=1,SXL2,DRAWNULL);起点:=STRCAT('BASE:',CON2STR(SXL,3));一6:=STRCAT('19.1%:',CON2STR(SXL1.191,2));二6:=STRCAT('38.2%:',CON2STR(SXL1.382,2));三6:=STRCAT('50.0%:',CON2STR(SXL1.5,2));四6:=STRCAT('61.8%:',CON2STR(SXL1.618,2));五6:=STRCAT('80.9%:',CON2STR(SXL1.819,2));六6:=STRCAT('100%:',CON2STR(SXL2
5、,2));七6:=STRCAT('150%:',CON2STR(SXL2.5,2));八6:=STRCAT('200%:',CON2STR(SXL3,2));九6:=STRCAT('300%:',CON2STR(SXL4,2));十6:=STRCAT('400%:',CON2STR(SXL5,2));十一6:=STRCAT('500%:',CON2STR(SXL6,2));最高涨幅%:(H-SXL)/SXL100,NODRAW,COLORLIGRAY;DRAWBAND(底,RGB(0,120,120),底,RGB(0,0,0));DRAWBAND(一,RGB(0,0,0),一,RGB
6、(0,0,0)),DOTLINE,COLOR666600;DRAWBAND(二,RGB(0,120,120),二,RGB(0,0,0));DRAWBAND(三,RGB(0,0,0),三,RGB(0,0,0)),DOTLINE,COLOR666600;DRAWBAND(四,RGB(0,120,120),四,RGB(0,0,0));DRAWBAND(五,RGB(0,120,120),五,RGB(0,0,0));DRAWBAND(六,RGB(0,120,120),六,RGB(0,0,0));DRAWBAND(七,RGB(0,0,0),七,RGB(0,0,0)),DOTLINE,COLOR6
7、66600;DRAWBAND(八,RGB(0,120,120),八,RGB(0,0,0));DRAWBAND(九,RGB(0,0,0),九,RGB(0,0,0)),DOTLINE,COLOR666600;DRAWBAND(十,RGB(0,120,120),十,RGB(0,0,0));XJ:=STRCAT('现价:',CON2STR(C,2));ZF:=STRCAT('涨幅:',CON2STR(((C-SXL)/SXL)100,2));ZF1:=STRCAT