源码来自本论坛,本人觉得不错,适合我这种新手,高手请绕行,谢谢!配合MACD和量价关系成功率很高!! M5:MA(C,5); M10:MA(C,10); M20:MA(C,20); M30:MA(C,30); M60:MA(C,60); M120:MA(C,120);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,7),LOW-0.15,'买进'),COLORYELLOW; STICKLINE(买,OPEN,CLOSE,2.5,0),COLORYELLOW; VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; DRAWTEXT(CROSS(84,VARC),H*1.01,'---卖出'),COLORYELLOW ;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
源码来自本论坛,本人觉得不错,适合我这种新手,高手请绕行,谢谢!配合MACD和量价关系成功率很高!!
M5:MA(C,5);
M10:MA(C,10);
M20:MA(C,20);
M30:MA(C,30);
M60:MA(C,60);
M120:MA(C,120);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,7),LOW-0.15,'买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2.5,0),COLORYELLOW;
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWTEXT(CROSS(84,VARC),H*1.01,'---卖出'),COLORYELLOW ;