通达信出现信号时最好是在大于上方胜算比较大 95%公式
VAR2:=ma(CLOSE, 5){GPGS};
VAR3:=MA(CLOSE, 10){GPGS};
VAR4:=MA(CLOSE, 20){GPGS};
VAR5:=MA(CLOSE, 30){GPGS};
VAR6:=(VAR2+VAR3+VAR4+VAR5)/4{GPGS};
VAR7:=(VAR6-REF(VAR6, 15))/REF(VAR6, 15)*100{GPGS};
VAR8:=(VAR6-REF(VAR6, 15))/REF(VAR6, 15)*100{GPGS};
VAR9:=ema(VAR7, 8){GPGS};
反转:STICKLINE(VAR9>1*REF(VAR9, 1), VAR7, 0, 5, 0), COLOREE00EE{GPGS};
持股:STICKLINE(VAR7>1*REF(VAR7, 1), VAR7, VAR9, 5, 0), COLORWHITE{GPGS};
持币:STICKLINE(VAR7<1*REF(VAR7, 1), VAR7, VAR9, 5, 1), COLORCYAN{GPGS};
洗盘:STICKLINE(VAR7<1*REF(VAR7, 1) AND VAR9>1*REF(VAR9, 1), VAR7, VAR9, 10, 0), COLOR00EEFF{GPGS};
VAR10:=(CLOSE-MA(CLOSE, 58))/MA(CLOSE, 58)*100{GPGS};
VAR11:=(VAR10>1*REF(VAR10, 1) AND VAR10<-26 AND VAR10>-40)*1.5{GPGS};
VAR12:=vol/CAPITAL*100{GPGS};
VAR13:=LLVBARS(LOW, 50){GPGS};
VAR14:=SUM(VOL, VAR13){GPGS};
VAR15:=HHVBARS(HIGH, 50){GPGS};
VAR16:=SUM(VOL, VAR15){GPGS};
VAR17:=(CLOSE-REF(OPEN, VAR15))/REF(OPEN, VAR15)*100{GPGS};
VAR18:=VAR16/CAPITAL*100{GPGS};
VAR19:=(CLOSE-REF(OPEN, VAR13))/REF(OPEN, VAR13)*100{GPGS};
VAR20:=VAR14/CAPITAL*100{GPGS};
VAR21:=MA(CLOSE, 3){GPGS};
VAR22:=REF(CLOSE, 2)*0.865{GPGS};
VAR23:=REF(CLOSE, 13)*0.772{GPGS};
VAR24:=MIN(VAR22, VAR23){GPGS};
VAR25:=MA(CLOSE, 13){GPGS};
抄底王:IF((CLOSE-VAR24)/CLOSE<0.030 AND VAR17<(-35) AND SUM(VAR12, 5)/5<1.800, 1, 0)*10, COLORRED{GPGS};
DRAWTEXT(抄底王, 抄底王, ' 成功率 90.22 %,共发出指示1289 次.底 追 '), COLORFFAA00{GPGS};
VAR26:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100{GPGS};
VAR27:=(EMA(CLOSE, 12)-EMA(CLOSE, 26))*100{GPGS};
VAR28:=EMA(VAR27, 9);{公式在线提供:www.xg51.cn}
VAR29:=2*(VAR27-VAR28){GPGS};
DRAWTEXT(VAR27<(-50) AND VAR26>7 AND VAR27<VAR28, (-10), '底'), COLORRED{GPGS};
DRAWTEXT(VAR27<(-50) AND VAR26>7 AND VAR27>=VAR28, 5, '追'), COLORRED{GPGS};
STICKLINE(VAR27<(-50) AND VAR26>7, 0,(-10), 5, 0), COLORFFFF66{GPGS};
VAR7>REF(VAR7,1) AND REF(VAR7,1)<REF(VAR7,2) AND VAR7<0,COLORRED,LINETHICK3{GPGS};
抄底:IF((VAR7>REF(VAR7,1) AND REF(VAR7,1)<REF(VAR7,2))>0,8,0),COLORBLUE,LINETHICK3{GPGS};
反转1:IF((VAR9>REF(VAR9,1) AND REF(VAR9,1)<REF(VAR9,2))>0,8,0),COLOREE00EE,LINETHICK3;
{~W.W.W_G~P-G^S?C_N~{_}