1、均线角度 角度副图指标适宜新手参考决策,高手请绕道 原理: 1、3日均线角度大于60度;( 顶尖财经 股票学院: http://www.58188.com ) 2、5日均线角度大于45度; 3、10日均线角度大于30度; 4、MA135多头向上; MA3:=MA(C,3); MA5:=MA(C,5); MA10:=MA(C,10); MA20:=MA(C,20); V0:=MA(C,5)>REF(MA(C,10),1) AND MA(C,10)>REF(MA(C,20),1); {均线排列并向上} 角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416; 角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416; 角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416; 选股:IF(角度MA3>60 AND 角度MA5>45 AND 角度MA10>30 AND MA(C,135)>REF(MA(C,135),1),1,0),COLOR00FF00; 2、金叉共振信号 {金叉共振信号} DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); DRAWICON(DIFF>DEA,1,1); DRAWICON(DIFF<DEA,1,2); MCDA金叉:DIFF>DEA; RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); DRAWICON(K>D,2,1); DRAWICON(K<D,2,2); KDJ金叉:K>D; LC:=REF(CLOSE,1); RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))/(SMA(ABS(CLOSE-LC),9,1))*100; RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100; DRAWICON(RSI1>RSI2,3,1); DRAWICON(RSI1<RSI2,3,2); RSI金叉:RSI1>RSI2; LWR1:=SMA(RSV,3,1); LWR2:=SMA(LWR1,3,1); DRAWICON(LWR1>LWR2,4,1); DRAWICON(LWR1<LWR2,4,2); LWR金叉:LWR1>LWR2; BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4; DRAWICON(CLOSE>BBI,5,1); DRAWICON(CLOSE<BBI,5,2); BBI金叉:CLOSE>BBI; MTM:=CLOSE-REF(CLOSE,1); MMS:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),3); MMM:=100*EMA(EMA(MTM,26),12)/EMA(EMA(ABS(MTM),26),12); DRAWICON(MMS>MMM,6,1); DRAWICON(MMS<MMM,6,2); MMS金叉:MMS>MMM; MCDA金叉 AND KDJ金叉 AND RSI金叉 AND LWR金叉 AND BBI金叉 AND MMS金叉,COLORRED,LINETHICK2; 3、冠军一号笑脸买入 多止损:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*3.5; 多止盈:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25); 空止损:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*3.5+XMA(XMA(H,25),25); 空止盈:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1; 短高H:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6) +13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12) +7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+ REF(H,20))/210; 短低L:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6) +13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12) +7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+ REF(L,20))/210; D90H:=EMA(短高H,90); D90L:=EMA(短低L,90); D90差:=D90H-D90L; D90顶:=D90H+D90差*2; D90底:=D90L-D90差*2; 高0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25); 低0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1; 多头定位:=低0>=D90底 AND 高0>=D90顶; 空头定位:=高0<=D90顶 AND 低0<=D90底; 震荡定位:=低0>=D90底 AND 高0<=D90顶; 短顶:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*2+XMA(XMA(H,25),25); 短底:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*2; 短线低盘:=(L-短底)/(短顶-短底)*100000; 做多:=10000; 多头多定位:=CROSS(做多,短线低盘) AND 多头定位=1; 空头平定位:=CROSS(做多,短线低盘) AND 空头定位=1 AND 震荡定位=0; 震荡多定位:=CROSS(做多,短线低盘) AND 震荡定位=1; 笑脸买入:空头平定位=1 OR 多头多定位=1 OR 震荡多定位=1; STICKLINE(H/L>1.06 AND H/MAX(C,O)<1.01 AND (MIN(C,O)-L)/(MAX(C,O)-MIN(C,O))>1.5,1,0,0.1,0),COLORAA00BB; DRAWTEXT(H/L>1.06 AND H/MAX(C,O)<1.01 AND (MIN(C,O)-L)/(MAX(C,O)-MIN(C,O))>1.5,0.8,'↖锤头5'),COLORAA00BB; |