轨道买卖指标
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
老师好,在网上下载了一个轨道买卖指标.因要叠加均线主图,很花哨,看到眼花。故仅想提取部分内容,谢谢M5:MA(CLOSE,5)COLORRED;E40:=EMA(CLOSE,40),COLORFFFFFF;VAR1:=(C+H+O+L)/4;卖出:XMA(VAR1,12)*(1+60/1000),COLORGREEN,LINETHICK2;买入:XMA(VAR1,32)*(1-100/1000),COLOR4F2F4F,LINETHICK2;幅度:=100*(卖出-买入)/买入,NODRAW;最低位五:(L+0.00)*1.055,NODRAW,COLORFFFFFF;二:C*1.025,NODRAW,COLOR00FFFF;三:C*1.035,NODRAW,COLORGREEN;四:C*1.045,NODRAW,COLOR00FFFF;五:C*1.055,NODRAW,COLORGREEN;六:C*1.065,NODRAW;七:C*1.075,NODRAW,COLOR00FFFF;{划线明成立}BB: MAX(C,O)-(REF(MAX(C,O),2)-MAX(C,O))/2,COLORRED,NODRAW;{蓝线 }RL4:REF(L,1)*(1+5*0.01+0.005),COLORFF0000;DRAWTEXT(ISLASTBAR,L*(1+5*0.01+0.005),' -----ML5'),COLORFF0000;MA1:=MA(VAR1,3);STICKLINE(卖出>LOW AND 卖出MIN(C,O) AND 卖出LOW AND 卖出LOW AND 买入MIN(C,O) AND 买入LOW AND 买入HIGH,OPEN,CLOSE,3,0),COLOR4F2F4F;STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLOR4F2F4F;DRAWTEXT(CROSS(C,买入) OR (L<买入),LOW*0.95,'B'),COLORRED,LINETHICK2;DRAWTEXT(CROSS(C,卖出) OR (H>卖出),HIGH*1.02,'S'),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;想要的内容如下:1.仅要上下轨道,冲出上轨道变色,提示变色S2.不要蓝线,不要提示的买点,冲出下轨道变色B(我只要卖点)3.改好后叠加均线MA1:MA(CLOSE,5),COLORRED;MA2:MA(CLOSE,10),COLORWHITE;MA3:MA(CLOSE,20),COLORGREEN;MA4:MA(CLOSE,30),COLORYELLOW;
解答:
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,12)*(1+60/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,32)*(1-100/1000),COLOR4F2F4F,LINETHICK2;
MA1:MA(CLOSE,5),COLORRED;
MA2:MA(CLOSE,10),COLORWHITE;
MA3:MA(CLOSE,20),COLORGREEN;
MA4:MA(CLOSE,30),COLORYELLOW;
DRAWTEXT(CROSS(C,买入) OR (L<买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(C,卖出) OR (H>卖出),HIGH*1.02,'S'),COLORGREEN;
选股票看什么指标最好 >
股票指标网
精彩评论