经过一段时间的使用,效果还是不错的,最好是结合热点提高成功率。
VAR1:=SMA(AMOUNT,10,1)/1000000;
VAR2:=REF(VAR1,1);
VAR3:=MA(REF(CLOSE,1),5);
最高:VAR1*HIGH/VAR3*1/10,POINTDOT,COLOR009900,colorgray;
最低:VAR1*LOW/VAR3*1/10,POINTDOT,COLOR009900,coloryellow;
开盘:VAR1*OPEN/VAR3*1/10,POINTDOT,COLOR009900,colormagenta;
收盘:VAR1*CLOSE/VAR3*1/10,COLOR009900,colorgreen,POINTDOT;
生命线:EMA(收盘,12),colorwhite;
昨收盘:=REF(收盘,1),POINTDOT,COLOR009900,LINETHICK3;
涨跌:=(收盘-REF(收盘,1))/REF(收盘,1)*100,POINTDOT,COLOR009900,LINETHICK0;
STICKLINE(收盘>开盘,收盘,开盘,6,0),colorred;
STICKLINE(收盘>开盘,最高,MAX(收盘,开盘),6,1),colorred;
STICKLINE(收盘>开盘,MIN(收盘,开盘),最低,6,1),colorred;
STICKLINE(收盘<开盘,收盘,开盘,6,0),colorgreen;
STICKLINE(收盘<开盘,最高,MAX(收盘,开盘),6,1),colorgreen;
STICKLINE(收盘<开盘,MIN(收盘,开盘),最低,6,1),colorgreen;
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
买线:EMA((VA-VB)/(VC-VB)*100,5),colorred;
卖线:EMA(买线,3),COLORFFFF00;
趋势:=3*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00FFFF;
秘密买点:IF(趋势<=3,20,0),COLOR00FF00,DOTLINE,LINETHICK3;
风险:80,COLORAABBDD,LINETHICK1,DOTLINE;
买点:20,colorred,LINETHICK1;
DRAWICON(CROSS(买线,买点),买点,1);
XG:(HREF(最高,1 AND 最低>生命线));
MACD牛逼顶底背离:
MACD牛逼顶底背离指标说明
MACD指数平滑异同移动平均线为两条长、短的平滑平均线。
其买卖原则为:
1.DIFF、DEA均为正,DIFF向上突破DEA,买入信号参考。
2.DIFF、DEA均为负,DIFF向下跌破DEA,卖出信号参考。
3.DEA线与K线发生背离,行情可能出现反转信号。(顶尖财经 股票学院: )
4.分析MACD柱状线,由红变绿(正变负),卖出信号参考;由绿变红,买入信号参考。
5.底背离提示股票底部反转,买入信号参考。
6.顶背离提示股票顶部反转,卖出信号参考。
7.顶底背离有时会有误差,需要自行确认。
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA);
Zero : 0;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,DEA*0.86,DEA*0.66,6,0),coloryellow;
DRAWTEXT(低位金叉,dea*0.86,' 低位金叉'),coloryellow;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,DEA*0.96,DEA*0.76,6,0),ColorFF00FF;
DRAWICON(二次金叉,dea*1.1,'BUY') ;
DRAWTEXT(二次金叉,DEA*0.96,' 二次金叉'),ColorFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,DEA*1.09,DEA*0.86,6,0),Color00FF00;
DRAWLINE(A1=0,DEA,底背离,DEA,0),colorred,linethick1;
DRAWTEXT(底背离,DEA*1.09,' 底背离'),Color6600FF;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)
DRAWLINE(A2=0,DEA,顶背离,DEA,0),colorgreen,linethick1;
DRAWTEXT(顶背离,DEA*1.2,' 顶背离'),Color00FF00;
机构活跃程度:
LC:=REF(CLOSE,1);
RSI5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;
WR10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
活跃度:RSI5-WR10,LINETHICK0,COLORFFFF00;
STICKLINE(活跃度>0,0,活跃度,6,1),COLORFF00FF;
STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,6,0),COLORFFFF00;
STICKLINE(活跃度>78,0,活跃度,6,0),COLOR00FFFF;
SC:100*(CLOSE-MA(CLOSE,20)),LINETHICK2,colorred;
MAO:EMA(SC,6),LINETHICK2,colorgreen;
80,POINTDOT,COLOR00FF00;
-100,POINTDOT,COLORFFFF00;