以下是再发精品指标–过左峰源码附图

DRAWGBK((CLOSE > 1),RGB(0,0,0),RGB(0,0,255),0,0,0);
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
前高:=REF(H,BARSLAST(HD));
 倍量:=VOL/REF(VOL,1)>=1.9;
 突破前高:=CROSS(C,前高);
 Y:= 倍量 AND 突破前高;
STICKLINE(Y,50,48,2,0),COLORRED;
STICKLINE(Y,50,29,1,0),COLORRED;
STICKLINE(Y,50,16,0.5,0),COLORRED;
STICKLINE(Y,50,8,0.1,0),COLORRED;
STICKLINE(Y,50,0,0,-1),COLORRED;
SJ:=BARSLAST(Y);
NOTEXT11:CONST(1.2),COLORBLACK;
DRAWTEXT(CURRBARSCOUNT=CONST(SJ)+2,45,’过左峰’),COLORYELLOW;

 

 

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