《黑牛均线》底背离的选股公式 通达信选股指标 源码 贴图 有朋友说这个指标太美了
《黑牛均线》底背离的选股公式 通达信选股指标 源码 贴图
以下是选股公式源码:
点击下载《黑牛均线》底背离的选股公式 通达信选股指标 源码 贴图
底背离的选股公式:
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
CROSS(FF,MA15);
跟进的选股公式:
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW));
ATR:=MA(TR,14);
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
HH:B1 = 1;
加码的选股公式:
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW));
ATR:=MA(TR,14);
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
GG:B2=1;
把这些买点综合在一起的选股公式:
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
EE:=CROSS(FF,MA15);
TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW));
ATR:=MA(TR,14);
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
HNJX:(BU OR B1=1 OR B2=2 OR EE);
操盘线上穿界点:
选股公式:
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
操盘:=MA(CLOSE,9);
界点:=MA(CLOSE,20);
BU:CROSS(买线,卖线) and CROSS(操盘,界点);
黑牛均线黄色柱和黄买蓝出黄色柱和底背离共同出现的选股公式:
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
JJ:=(C*2+H+L)/4;
SKK:=(EMA(JJ,13) - EMA(JJ,21))*180,COLORGRAY;
SDD:=EMA(SKK,2),COLORGRAY;
多方:=(SKK-SDD)*0.000000001,COLORRED,LINETHICK0;
空方:=-1*(SKK-SDD)*0.000000001,COLORGREEN,LINETHICK0;
FF:=EMA(CLOSE,3);
DD:=EMA(CLOSE,21);
ZZ:=CROSS(FF,DD);
AA:CROSS(多方,空方) AND BU AND ZZ;