简单趋势顶底: X1:=HHV(H,34)-C; X2:=HHV(H,14)-C; Y1:=HHV(H,34)-LLV(L,34); Y2:=HHV(H,14)-LLV(L,14); SS:100-100*X2/Y2,colorgray; MM:100-EMA(100*X1/Y1,4),colorwhite; LL:100-MA(100*X1/Y1,19),colormagenta; 金叉:(LL<20 AND CROSS(MM,LL)); STICKLINE(金叉,10,30,3,0),colorred; 死叉:(LL>80 AND CROSS(LL,MM)); STICKLINE(死叉,90,70,3,0),colorcyan; 减仓:MM<REF(MM,1) AND REF(MM,1)>90 AND CROSS(MM,SS); ............. 多空捉妖股更新版: ssl:=EMA(C,3); ssl,colorgreen; mm:EMA((SLOPE(C,22)*20+C),55),colorwhite; STICKLINE(ssl>mm,ssl,mm,1,0),colormagenta; STICKLINE(ssl<=mm,ssl,mm,1,0),colorgreen; STICKLINE(C>=O,C,O,8,0),colorred; STICKLINE(C>=O,H,L,0,0),colorred; STICKLINE(C<=O,C,O,8,0),colorgreen; STICKLINE(C<=O,H,L,0,0),colorgreen; DRAWTEXT(mm<=ssl AND mm=HHV(mm,1+BARSLAST(CROSS(mm,ssl))),mm,'↑'); 均线法则1250: 本指标适合中长线看盘,含有多种买卖点。标注涨停,天缘买点,平安买点。( 顶尖财经 股票学院: http://www.58188.com ) //{跳空} STICKLINE(REF(L,1)>H,H,REF(L,1),10,1),colorgreen ; STICKLINE(REF(H,1)<L,L,REF(H,1),10,1),coloryellow; //{画20均线} MA20:MA(CLOSE,20),COLORFF33CC; //{大均线,大多头} MA60:MA(CLOSE,60),colorgreen; MA120:MA(CLOSE,120),COLORFFCC66; MA250:MA(CLOSE,250),colorred; MA500:MA(CLOSE,500),COLOR0099CC; //{涨停} STICKLINE(C>REF(C,1)*1.098 AND PERIODNAME=='日线',O,C,9,0),colorred; //{角买} MTM:=C-REF(C,1); DXD:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 买:=LLV(DXD,2)=LLV(DXD,7) AND COUNT(DXD<0,2) AND CROSS(DXD,MA(DXD,2)); STICKLINE(FILTER(买=1,5),H,L,1,0),colormagenta; STICKLINE(FILTER(买=1,5),C,O,10,0),colormagenta; ////{准备买入} //LC:=REF(CLOSE,1); //RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100); //TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10); //HD:=(HIGH - REF(HIGH,1)); //LD:=(REF(LOW,1) - LOW); //DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10); //DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10); //PDI:=((DMP * 100) / TR1); //MDI:=((DMM * 100) / TR1); //ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5); //AV:=(RSI5 + ADX); //DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5); //WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); //NEWVOL:=(RSI5 - WR10); //{天缘买} //天缘买:=(AV + NEWVOL); //DRAWICON(PERIODNAME=='日线' AND CROSS(天缘买,0),L*0.98,1); |