MACD绿色箭头三角形选股
MACD绿色箭头三角形选股
编写条件:
UPD:COUNT(C>=O OR C>=REF(C,1),8) NODRAW; CM60:BARSLAST(LONGCROSS(C,MA(C,60),8))+1 NODRAW COLORRED; DIFF:=EMA(CLOSE,12)-EMA(CLOSE,24); DEA:=EMA(DIFF,9); ADIF:ATAN((DIFF/REF(DIFF,1)-1)*100)*180/3.1416 NODRAW; RADIF:REF(ADIF,1) NODRAW; C2:=IF(V>MA(V,150)*0.98,0.1,-0.1); C1:=IF(V
LB; BLLDT:BARSLAST(BLTJ ) NODRAW; JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)); A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)) COLORRED NODRAW; 底背离:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA) NODRAW; STICKLINE(底背离,0,0.03,1.2,1),COLOR00FF00; {底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2 CROSSDOT;} DRAWTEXT(底背离,0.1,' 底背离'),COLORFF00FF; A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)) ; 顶背离:REF(CLOSE,A2+1)
DIFF AND CROSS(DEA,DIFF) CROSSDOT COLORRED NODRAW; {顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORBLUE,LINETHICK2 CROSSDOT;} 底背D:BARSLAST(底背离)+1 NODRAW COLORRED; 顶背D:A2+1 COLORGREEN NODRAW; {判断天地量} AA:=SUMBARS(VOL,CAPITAL); 地量:=VOL
0; 天量:=VOL>MA(VOL,AA)*34/10 ; MACDA:2*(DIFF-DEA), STICK,LINETHICK1 COLORCYAN; NOTEXT3:IF(地量 AND PERIOD>4,MACD*1.5,DRAWNULL) STICK LINETHICK6 COLORYELLOW; NOTEXT4:IF(天量 AND PERIOD>4,MACD*1.5,DRAWNULL) STICK LINETHICK6 COLORAAAAFF; NOTEXT5:IF(V<=MA(V,5)*0.22,MACD,DRAWNULL) STICK LINETHICK4 COLORBLUE; NOTEXT:IF(REF(MACD,1)<=MACD,MACD,DRAWNULL) STICK COLORRED; NOTEXT1:0 LINETHICK3 COLORGRAY; NOTEXT8:IF(V>MA(V,150)*0.98,0,DRAWNULL) COLORRED LINETHICK2 CIRCLEDOT ; DEAA:DEA COLORYELLOW; DIFA:DIFF COLORWHITE ; DIFF1:EMA(CLOSE,12)-EMA(CLOSE,26) DOTLINE COLORGREEN NODRAW; DEA1:EMA(DIFF1,9) DOTLINE COLORCYAN NODRAW; 底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2 CROSSDOT; 顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORBLUE,LINETHICK2 CROSSDOT; 强:IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED LINETHICK2; 弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA LINETHICK2; 必买: DRAWICON(REF(TROUGHBARS(3,15,1),1)=0 AND HIGH>LOW,0,25),COLORRED ,LINETHICK4; 必卖: DRAWICON(REF(PEAKBARS(3,15,1),1)=1,0,27),COLORRED,LINETHICK8;
编写方法:
REF(TROUGHBARS(3,15,1),1)=0 AND HIGH>LOW;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!
是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。
把任我行指标绿线消失时时做个选股指标
把任我行指标绿线消失时时做个选股指标