请高手把下面通达信副图修改为主图信号,谢谢

2024-12-12 05:41:23
推荐回答(2个)
回答1:

MA5:MA(C,5);

MA10:MA(C,10);

MA20:MA(C,20);

MA60:MA(C,60);

MA120:MA(C,120);

MA250:MA(C,250);

VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; 

VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; 

VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; 

VAR4:=(VAR1+2*VAR2+3*VAR3)/6; 

VAR5:=MA(VAR4,3)-STD(VAR4,3); 

VAR6:=STICKLINE(VAR5<-4 AND VAR5>-6,-17,-30,5,0); 

VAR7:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50; 

VAR8:=EMA(VAR7,9); 

VAR9:=2*(VAR7-VAR8); 

VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 

K:=SMA(VARA,3,1),COLORYELLOW; 

VARB:=SMA(K,3,1); 

J:=3*K-2*VARB,COLORGREEN; 

DRAWTEXT(CROSS(J,VARB) AND COUNT(VAR5<-9,4)>=1,L*0.98,'试探介入')COLORYELLOW;

DRAWTEXT(CROSS(J,VARB) AND COUNT(VAR5<-12,3)>=1,L*0.93,'果断介入')COLORRED;

DRAWTEXT(CROSS(J,VARB) AND COUNT(VAR5<-16,4)>=1,L*0.90,'主力介入')COLORMAGENT

回答2:

是不是要把它设置成交易系统指示的那种形式嘛?  如果是图片的这种我就可以