1、多头分时 MA30:=EMA(CLOSE,30); {强弱:EMA(CLOSE,900); STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF; STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;} H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*7/8,COLOR00DD00; 支撑:L1+P1*0.5/8,COLOR00DD00; 现价:CLOSE,COLORWHITE,LINETHICK1; STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW; DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'买'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★卖'),COLORRED;{抛}; 日时转换:=IF(PERIOD=5,120,240); QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2; VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2; VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2; VAR3:=(VAR1+VAR2)/2; VAR4:=EMA(VAR3,30); VAR5:=EMA(VAR3,60); VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5); DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30)); 牵引线:VAR1,COLORYELLOW; 强弱线:EMA(VAR1,日时转换),POINTDOT,COLORWHITE; 趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED; 量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE; 冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW; 强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED; 止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN; STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF; STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORYELLOW; DRAWICON(趋势关注=1,EMA(VAR1,60),13); DRAWTEXT(量价关注=1,EMA(VAR1,60),'★'),COLORWHITE; 2、天马1号 天马1号是以为尊崇的大师所做。指标含有未来函数,需要用在三优股票上或者结合核心概率算搭配使用,不过参照看还不错,后期得到核心指标继续上传 公式用法: 跌破买入线预示有机会到来,要结合量能去看,连续跌停的ST的就算了 突破卖出线的就要当心回调 关于参数,参数M 默认是60,我习惯10,自己选择吧。 {天马1号 主图源码} VAR1:=(C+H+O+L)/4; 卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2; 买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2; 幅度:100*(卖出-买入)/买入,NODRAW; MA1:=MA(VAR1,3); STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN; STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN; STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN; STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN; STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN; STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA; STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA; STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA; STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA; STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA; DRAWTEXT(CROSS(C,买入) OR (L<买入),LOW*0.95,'安全'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(C,卖出) OR (H>卖出),HIGH*1.02,'风险'),COLORGREEN; A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; A4:=SMA(A3,3,1); A5:=SMA(A4,3,1); A6:=3*A4-2*A5; A7:=C-REF(C,1); A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6); 买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买=1,5),LOW-0.05,'有异动'),COLORYELLOW; STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW; 黄金线:EMA(C,18),POINTDOT,LINETHICK4,COLORYELLOW; 3、逃顶抄底 逃顶抄底公式使用方法: 红色向上箭头,为最佳卖入时机。 绿色向下箭头,为逃顶时机。( 顶尖财经 股票学院: http://58188.com ) 红色柱子为持股阶段。 绿色柱子为清仓阶段。 建议在60分钟线比较好用。 {逃顶抄底 副图源码} VAR2:=LLV(LOW,10); VAR3:=HHV(HIGH,25); 阶段卖出: 3.2,COLORC6C600; 3.5,COLOR0088FF; 清仓卖出: 3.5,COLORFF75FF; 动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4); STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLOR70DB93; 关注:0.5,COLORYELLOW; DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1); DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2); DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1); DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2); 强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93; 数值:动力线,COLORA8A8A8; |