以下是同花顺OBV压力支撑副图指标

同花顺OBV压力支撑副图指标

源码

obvg:SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE 压力:HHV(MA(obvg,3),13),colorgreen;中轴:MA(obvg,13),;支撑:LLV(MA(obvg,3),13),coloryellow; AA:=REF(obvg,N1)=HHV(obvg,2*N1+1);BB:=BACKSET(AA,N1+1);CC:=FILTER(BB,N1) AND obvg=HHV(obvg,N1+1);A1:=BARSLAST(REF(CC,1));顶背离:=REF(H,A1+1)obvg AND CC;DRAWTEXT(顶背离,obvg*1.2,’顶背离’),;STICKLINE(FILTER(顶背离>0,5),支撑,obvg,10,0),;DRAWLINE(CC,obvg,FILTER(顶背离>0,5),obvg,0),colorwhite;DRAWICON(顶背离,obvg*1.1,2); AA2:=REF(obvg,N1)=LLV(obvg,2*N1+1);BB2:=BACKSET(AA2,N1+1);CC2:=FILTER(BB2,N1) AND obvg=LLV(obvg,N1+1);A2:=BARSLAST(REF(CC2,1));底背离:=REF(L,A2+1)>L AND REF(obvg,A2+1)DRAWTEXT(底背离,obvg*1.2,’底背离’),;STICKLINE(FILTER(底背离>0,5),压力,obvg,10,0),;DRAWLINE(CC2,obvg,FILTER(底背离>0,5),obvg,0),colorwhite;DRAWICON(底背离,obvg*0.98,1);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。