通达信涨幅公式
涨幅公式:JA:=MOD(MONTH,3); JD:=BARSLAST(CROSS(JA,0.5)); NA:=BARSLAST(YEAR!=REF(YEAR,1)); QT:=BACKSET(A=0,2); YQT:=BACKSET(YA=0,2); JQT:=BACKSET(JD=0,2); NQT:=BACKSET(NA=0,2); T:=BARSLAST(CROSS(QT=1,0.5)); YT:=BARSLAST(CROSS(YQT=1,0.5)); JT:=BARSLAST(CROSS(JQT=1,0.5)); NT:=BARSLAST(CROSS(NQT=1,0.5)); CC:=REF(REF(C,T),1);
移动线:IF(LLVBARS(V,5), REF (C,LLVBARS(V,5)),C),COLORGREEN,DOTLINE; TP线:PEAK(移动线,0.2,1),COLORLIRED,NODRAW; STICKLINE(TP线>0 ,TP线,TP线,4,-1),COLORLIRED; PW线:TROUGH(移动线,0.2,1),COLORCYAN,NODRAW; STICKLINE(PW线>0 ,PW线,PW线,4,-1),COLORCYAN; PW:=CONST(PW线); TP:=CONST(TP线); ZH:=IF(TP转换PW=1,PW,TP); 最低:=TROUGHBARS(移动线,0.2,1); 幅度:=1+(涨幅/100); 涨幅尺%:DRAWLINE(最低=0,ZH*幅度,ISLASTBAR,ZH*幅度,1),COLOR00BBFF; DRAWTEXT(ISLASTBAR,涨幅尺%,'涨幅尺'),COLOR00BBFF; SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)); 量能饱和:=IF(SAT>1,1,SAT)*100,NODRAW; 获利筹码:=WINNER(C)*100,NODRAW; LC:=REF(CLOSE,1); RSI值:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100; 活跃:=(RSI值-WR10); 活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2)),NODRAW; DRAWRECTREL(80,10,240,60,RGB(0,75,200)); DRAWRECTREL(80,10,160,60,RGB(0,100,0)); DRAWRECTREL(80,10,80+CONST(活跃度比*160/100),60,RGB(200,0,50)); DRAWTEXT_FIX(1,0.00,0.01,0,STRCAT(STRCAT('活跃度比: ',CON2STR(活跃度比,2)),'% ')),COLORYELLOW; DRAWRECTREL(80,70,240,120,RGB(0,75,200)); DRAWRECTREL(80,70,160,120,RGB(0,100,0)); DRAWRECTREL(80,70,80+CONST(获利筹码*160/100),120,RGB(200,0,50));
DRAWRECTREL(80,10,240,60,RGB(0,75,200)); DRAWRECTREL(80,10,160,60,RGB(0,通达信软件是多功能的证券信息平台,与其他行情软件相比,有简洁的界面和行情更新速度较快等优点。通达信允许用户自由划分屏幕,并规定每一块对应哪个内容。,0)); DRAWRECTREL(80,10,80+CONST(活跃度比*160/100),60,RGB(200,0,50)); DRAWTEXT_FIX(1,0.00,0.01,0,STRCAT(STRCAT('活跃度比: ',CON2STR(活跃度比,2)),'% ')),COLORYELLOW; DRAWRECTREL(80,70,240,120,RGB(0,75,200)); DRAWRECTREL(80,70,160,120,RGB(0,100,0)); DRAWRECTREL(80,70,80+CONST(获利筹码*160/100),120,RGB(200,0,50)); DRAWTEXT_FIX(1,0.00,0.07,0,STRCAT(STRCAT('获利筹码: ',CON2STR(获利筹码,2)),'% ')),COLORYELLOW; DRAWRECTREL(80,130,240,180,RGB(0,75,200)); DRAWRECTREL(80,130,160,180,RGB(0,100,0)); DRAWRECTREL(80,130,80+CONST(量能饱和*160/100),180,RGB(200,0,50)); DRAWTEXT_FIX(1,0.00,0.13,0,STRCAT(STRCAT('量能饱和: ',CON2STR(量能饱和,2)),'% ')),COLORYELLOW;
个人建议:通达信软件是多功能的证券信息平台,与其他行情软件相比,有简洁的界面和行情更新速度较快等优点。通达信允许用户自由划分屏幕,并规定每一块对应哪个内容。在中国股票分析软件领域,通达信的事业、研究开发的力量正处于鼎盛时期。公司一贯注重客户服务和售后支持,制定了一套完整健全的客户服务制度,开设了多个分支机构,形成以武汉为研发总部:北京、上海两个分公司,深圳、成都、沈阳、西安、南昌、海口为基地的全国性服务支持网络。凭借诚信严谨、始终如一的服务,赢得了业界广泛认同。