GBS红绿买卖
买卖很明确的指标
VAR1高宝生:=(HHV(HIGH,18)-LLV(LOW,18));
VAR2高宝生:=(HHV(HIGH,18)-CLOSE);
VAR3高宝生:=(CLOSE-LLV(LOW,18));
VAR4高宝生:=VAR2高宝生/VAR1高宝生*100-70 ;
VAR5高宝生:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6高宝生:=(2*C+H+L)/4;
VAR7高宝生:=SMA((VAR3高宝生/VAR1高宝生*100),9,1);
VAR8高宝生:=LLV(LOW,68);
VAR9高宝生:=SMA(VAR7高宝生,3,1)-SMA(VAR4高宝生,9,1);
VAR10高宝生:= IF(VAR9高宝生>100,VAR9高宝生-100,0);
VARA高宝生:=HHV(HIGH,68);
防线B:=EMA((VAR6高宝生-VAR8高宝生)/(VARA高宝生-VAR8高宝生)*100,50),colorred;
B1:=EMA(防线B,60),colorgreen;
STICKLINE(防线B>0 AND 防线B-B1>=0 AND 防线B>50,79,80,6,0),colorred;
STICKLINE(防线B>0 AND 防线B-B1<0 AND 防线B<50,79,80,6,0),colorgreen;
STICKLINE(防线B>0 AND 防线B-B1>=0 AND 防线B>50,49,50,6,0),colorred;
STICKLINE(防线B>0 AND 防线B-B1<0 AND 防线B<50,49,50,6,0),colorgreen;
STICKLINE(防线B>0 AND 防线B-B1>=0 AND 防线B>50,19,20,6,0),colorred;
STICKLINE(防线B>0 AND 防线B-B1<0 AND 防线B<50,19,20,6,0),colorgreen;
STICKLINE(防线B-B1>0,防线B,B1,8,1),colorred;
STICKLINE(防线B-B1<0,防线B,B1,8,1),colorgreen;
趋线:EMA(100*(C-LLV(LOW,135))/(HHV(H,135)-LLV(LOW,135)),120),colorred,LINETHICK4;
强弱线:40,colormagenta,LINETHICK2;
转弱线:80,colorwhite,LINETHICK2;
中线:60,coloryellow,LINETHICK2;
关注线:20,colorred,LINETHICK2;
A4:=((C-LLV(L,75))/(HHV(H,75)-LLV(L,75)))*100;
VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2BS:=(EMA(EMA(EMA(VAR2A,15),10),15)-25)*2;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,20);
VAR2ES:=(VAR2A+VAR2C)/2/1.1;
超短:EMA(VAR2ES,42),colorwhite,LINETHICK0;
短线:EMA(超短,45),colorblue,LINETHICK0;
势线:EMA((VAR2BS+VAR2D)/2,150) ,colormagenta,LINETHICK3;
VAR1BS:=(HIGH+LOW+CLOSE)/3,colorred;
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,-10,0);
VAR5B:=IF(VAR2B<=-200 AND VAR2B>-230 AND VAR3B<=-200 AND VAR3B>-230,10,0);
天线:IF(BARSCOUNT(CLOSE)<95 AND 趋线>80,100,IF(VAR3B>=229 AND VAR2B>=229 AND 趋线>80,-100,VAR4B)+100),LINETHICK2,colorblue;
DRAWTEXT(CROSS(势线,60) AND 趋线>60,60,'加仓'),colorred;
DRAWTEXT(CROSS(势线,40) AND 趋线>40,40,'抄底'),colorred;
DRAWTEXT(CROSS(趋线,80) AND 势线>趋线,70,'大黑马'),colorred;
DRAWTEXT(CROSS(60,趋线) AND 势线<趋线 AND 势线>40,60,'还跌'),colorgreen;
DRAWTEXT(趋线>60 AND 势线<趋线 AND 势线>60 AND 防线B>B1,90,'强势'),colorred;
DRAWTEXT(CROSS(趋线,40) AND 势线>趋线 AND 势线>60,40,'买点'),colorred;
DRAWTEXT(CROSS(势线,趋线) AND 趋线>40 AND 趋线<60,趋线,'有反弹'),colorred;
DRAWTEXT(CROSS(势线,趋线) AND 趋线<40 AND 趋线<40,趋线,'挂低点'),colorwhite;
DRAWTEXT(CROSS(40,趋线) AND 势线<趋线,趋线,'清仓'),colorgreen;
DRAWTEXT(CROSS(趋线,势线) AND 势线<趋线 AND 势线<60 AND 势线>40,势线,'卖点'),colorgreen;
DRAWTEXT(CROSS(趋线,势线) AND 势线<40 AND 势线>20,势线,'还大跌'),colorgreen;
DRAWTEXT(CROSS(势线,60) AND 趋线>40 AND 趋线<60,势线,'平多点'),colorgreen;
DRAWTEXT(CROSS(趋线,60) AND 势线>趋线,趋线,'还涨'),colorred;
DRAWTEXT(CROSS(势线,20) AND 势线>趋线,势线,'反弹'),colorwhite;
DRAWTEXT(CROSS(趋线,20) AND 势线>趋线,趋线,'还反弹'),colorwhite;
DRAWTEXT(势线>40 AND 势线<趋线 AND 势线<60 AND 防线B>B1,50,'反转'),colorwhite;
DRAWTEXT(势线>40 AND 势线>趋线 AND 趋线>20 AND 防线B>B1 AND 趋线<78,30,'反弹'),coloryellow;
DRAWTEXT(CROSS(势线,80),势线,'卖点'),colorgreen;
DRAWTEXT(CROSS(势线,85),势线,'卖点'),colorgreen;
代理编写(对转)通达信 飞狐 同花顺 大智慧 文华财经 博易大师 依天财经等软件指标!