白黄两线金叉、红蓝两线金叉同时出现或紧接着先后出现时买入超准!更多用法等待您的开发。当然任何指标都不会百分之百(除了有未来函数的指标),然和一个指标都要配合其他指标使用
DRAWTEXT_FIX(1,0.0,0.00,0,EXTERNSTR(0,1))COLOR0077FF;
EXP1:EXPMA(CLOSE,M1)LINETHICK2;
EXP2:EXPMA(CLOSE,M2)LINETHICK2;
A:IF(CLOSE>SAR(N,S,M),SAR(N,S,M),DRAWNULL),CIRCLEDOT,COLORRED;
B:IF(CLOSE<SAR(N,S,M),SAR(N,S,M),DRAWNULL),CIRCLEDOT,COLORCYAN;
高1:=REF(HHV(H,150),3);
低1:=REF(LLV(L,150),3);
H3:=高1-(高1-低1)*0.5;
中轴:REFDATE(H3,DATE),POINTDOT,COLORLIGRAY,LINETHICK3;
B1:=EMA(C,12);
B2:=EMA(C,26);
B3:=(B1-B2)*2;
WDIF:中轴+B3,COLORFF00FF,LINETHICK2;
WDEA:EMA(WDIF,9),LINETHICK2;
MACD:=2*(WDIF-WDEA);
STICKLINE(MACD>0,中轴,中轴+MACD,0,1),COLORYELLOW;
STICKLINE(MACD<0,中轴,中轴+MACD,0,1),COLORLIBLUE;
股价趋势:=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);
买入信号:STICKLINE(CROSS(股价趋势,10),L*0.97,L,6,0)COLORLIMAGENTA;
卖出信号:STICKLINE(CROSS(90,股价趋势),H*1.03,H,6,0)COLORGREEN;