老师好!请你把指标加个射线和指示音,条件是K线压任何一条线正成十字就警音和射线,K线什么颜色射线就什么颜色,只保留最后两根不同颜色射线,图片就是压线应该发射线的样式,有可能K线来回压线哪就不停响警示音和发射线,谢谢!MA13:=MA(C,530);
MA1:MA13+16*MINPRICE;
MA3:MA13+288*MINPRICE;
MA5:MA13+198*MINPRICE;
MA2:MA13-16*MINPRICE;
MA4:MA13-128*MINPRICE;
MA6:MA13-258*MINPRICE;
FILLRGN(1,MA1,MA2,COLORGRAY);
DRAWCOLORLINE(MA1>=REF(MA1,1),MA1,COLORMAGENTA,COLORGREEN),LINETHICK2;
DRAWCOLORLINE(MA2>=REF(MA2,1),MA2,COLORMAGENTA,COLORGREEN),LINETHICK2;
DRAWCOLORLINE(MA3>=REF(MA3,1),MA3,COLORMAGENTA,COLORGREEN),LINETHICK2;
DRAWCOLORLINE(MA4>=REF(MA4,1),MA4,COLORMAGENTA,COLORGREEN),LINETHICK2;
DRAWCOLORLINE(MA5>=REF(MA5,1),MA5,COLORMAGENTA,COLORGREEN),LINETHICK2;
DRAWCOLORLINE(MA6>=REF(MA6,1),MA6,COLORMAGENTA,COLORGREEN),LINETHICK2;
DRAWKLINE1(H,O,L,C);
DRAWSL(ISLASTBAR,MA1,(MA1-REF(MA1,1)),3,0,COLORYELLOW),LINETHICK2;
DRAWSL(ISLASTBAR,MA2,(MA2-REF(MA2,1)),3,0,COLORYELLOW),LINETHICK2;
DRAWSL(ISLASTBAR,MA3,(MA3-REF(MA3,1)),3,0,COLORYELLOW),LINETHICK2;
DRAWSL(ISLASTBAR,MA4,(MA4-REF(MA4,1)),3,0,COLORYELLOW),LINETHICK2;
DRAWSL(ISLASTBAR,MA5,(MA5-REF(MA5,1)),3,0,COLORYELLOW),LINETHICK2;
DRAWSL(ISLASTBAR,MA6,(MA6-REF(MA6,1)),3,0,COLORYELLOW),LINETHICK2;
文件名:20226220134574165.png
(来源:文华财经)