以下是同花员GBS新看盘指标公式

 VAR3:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*500;

VAR4:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*500;

VAR5:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*500;

VAR6:=(VAR3+VAR4+VAR5)/3;

VAR7:=EMA(VAR6,90);

指标: EMA(EMA(VAR3,90),300)*500,colorred,LINETHICK0;

指标1:=EMA(指标,15);

STICKLINE(指标>0 AND 指标>指标1,指标,VAR7,1,0),colorred;

STICKLINE(指标>0 AND 指标<指标1,指标,VAR7,1,0),colorblue;

STICKLINE(指标<0 AND 指标<指标1,指标,VAR7,1,0),colorblue;

STICKLINE(指标<0 AND 指标>指标1,指标,VAR7,1,0),colorred;

VAR8:=IF(VAR6<=-20,10,0);

VAR9:=HHV(VAR8,10);

STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;

VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

K:EMA(VAR7,180)*100,coloryellow,LINETHICK2;

D:EMA(K,180),  colorwhite,LINETHICK2;

J:K*3-D*2, colormagenta,LINETHICK2;

VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;

DRAWTEXT(VARA=20  AND 指标>指标1,J-20,’底部’),colormagenta;

STICKLINE((VARA=20),0,-20,5,0),colormagenta;

VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG

(3,5),2)<=REF(ZIG(3,5),3));

VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG

(3,5),2)>=REF(ZIG(3,5),3));

趋线1:EMA(100*(C-LLV(LOW,50))/(HHV(H,50)-LLV(LOW,50)),510)-50,colorwhite,LINETHICK0;

警戒线: 40,colorblue,LINETHICK1;

卖出线: 50,colorgreen,LINETHICK1;

趋势: 3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,45,1)-2*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,45,1),45,1)-50,colorred,LINETHICK0;

底部: -40,LINETHICK1;

底线: -50,LINETHICK1,colorred;

买入警戒1: IF(趋势<=-50 AND 趋线1<0,30,-50),colorred,LINETHICK2;

买入警戒2: IF(趋势<=-45 AND 趋线1>0 AND 趋线1<30,20,-50),colorred,LINETHICK4;

卖出警戒4: IF(趋势>=40 AND 趋线1<0,指标+20,0),colorgreen,LINETHICK3;

卖出警戒1: IF(趋势>=45 AND 趋线1>0,指标+20,0),colorblue,LINETHICK3;

VAR1BS:=(HIGH+LOW+CLOSE)/3;

VAR2B:=(VAR1BS-MA(VAR1BS,20))/(0.015*AVEDEV(VAR1BS,20));

VAR3B:=(VAR1BS-MA(VAR1BS,110))/(0.015*AVEDEV(VAR1BS,110));

VAR4B:=IF(VAR2B>=180 AND VAR2B<230 AND VAR3B>=180 AND VAR3B<230 AND 趋线1<0,-70,0),LINETHICK1,colorblue;

VAR5B:=IF(VAR2B<=-200 AND VAR2B>-230 AND VAR3B<=-50 AND VAR3B>-230 AND 趋线1<0,50,0);

天线:IF(BARSCOUNT(CLOSE)<95,100,IF(VAR3B>=229 AND VAR2B>=229 AND 趋线1<0,-100,VAR4B)+50),LINETHICK3,colorgreen;

天线1:IF(BARSCOUNT(CLOSE)<95,100,IF(VAR3B>=229 AND VAR2B>=229  AND 趋势>30,-100,VAR4B)+50),LINETHICK3,colorgreen;

STICKLINE((VARC=1) AND 指标>指标1,(-60),J,6,0),coloryellow;

DRAWTEXT((VARC=1) AND 指标>指标1,D-30,’必买’),colorred;

STICKLINE((VARD=1) AND 指标<指标1,100,J,6,0),colorwhite;

DRAWTEXT((VARD=1) AND 指标<指标1,D+30,’必卖’),colorgreen;

DRAWTEXT(CROSS(指标,50),55,’拿好’),colorred;

DRAWTEXT(CROSS(-50,指标),-58,’逃命’),colorgreen;

DRAWTEXT(CROSS(0,趋线1),45,’转弱转弱’),colorgreen;

DRAWTEXT(CROSS(趋线1,0) AND J<50,-25,’转强转强’),colorwhite;

DRAWTEXT(CROSS(0,趋线1) AND 趋势>-30  AND 趋势<趋线1,25,’先跑先跑’),colorgreen;

DRAWTEXT(CROSS(趋线1,趋势) AND 趋线1<0 AND 指标<指标1 AND J<K,20,’必须跑’),colorwhite;

DRAWTEXT(CROSS(趋势,趋线1) AND 趋线1>0 AND 指标>指标1 AND K>D,D-15,’放心买点’),colorred;

DRAWTEXT(CROSS(趋势,趋线1) AND 趋线1<0 AND K>D  AND 指标>指标1,D-15,’买点’),colorwhite;

DRAWTEXT(CROSS(J,D) AND 指标>指标1 AND 指标>-50,J-15,’金叉买点’),colorwhite;

DRAWTEXT(CROSS(D,J) AND 指标<指标1 AND 指标<50,J+15,’死叉卖点’),colorgreen;

DRAWTEXT(CROSS(J,趋势) AND 趋势>0 AND 趋线1<0 AND 指标>0 AND 指标<50,J-15,’卖卖点’),colorgreen;

DRAWTEXT(CROSS(趋势,J) AND 趋势<0 AND 趋线1>0 AND 指标<0 AND 指标>-50,J+15,’买买点’),colorred;

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