说明;指标来源于网络,与大家共享。
长牛排队源码
使用方法.A段.股价从均线下拉到六条均线以上.60平均线上蹿120平均线.B段.macd指标回拉0轴.股价回踩长期均线.指标发出买入信号.开仓.C段恭喜发财..
AA1:=CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK") AND "MACD.DIF#WEEK"<0;
AA2:=CROSS("MACD.DEA#WEEK","MACD.DIF#WEEK");
AAA:=BARSLAST(AA2)>BARSLAST(AA1) AND BARSLAST(AA1)>0 AND "MACD.MACD#WEEK">0;
BB1:=CROSS("MACD.DIF","MACD.DEA") AND "MACD.DIF"<0;
BB2:=CROSS("MACD.DEA","MACD.DIF") AND "MACD.DIF">0;
BB3:=CROSS("MACD.DIF","MACD.DEA");
BBB:=BARSLAST(BB1)>BARSLAST(BB2) AND BARSLAST(BB3)>BARSLAST(BB2) AND BARSLAST(BB2)>0;
CCC:=C>MA(C,60) AND EXIST(CROSS(MA(C,60),MA(C,120)),60);
长牛排队:AAA AND BBB AND CCC;