通达信 蓝色变黄色 修改为选股公式

N:=20;
N1:=7;
N2:=69;
T1:=IF((DATE<=1341231),1,0);
M3:=EMA(CLOSE,3);
M8:EMA(CLOSE,8),COLORWHITE;
M13:EMA(M8,13),COLORMAGENTA;
VAR1:=EMA(M13,62);
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10))*(T1);
VAR4:=(REF(VAR3,1))*(T1);
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLORYELLOW;
STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF6633;
VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);
VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);
DRAWICON(CROSS(VAR3,VAR4),L*0.985,7);
DRAWICON(CROSS(VAR5,VAR6),H*1.01,15);
VAR7:=REF(CLOSE,1);
VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(100);
VAR9:=CROSS(N2,VAR8);
VARA:=(FILTER(VAR9,4))*(T1);
DRAWICON(VARA,HIGH*1.01,8);

第1个回答  2019-10-03
操盘线:=SMA(V3,2,1);

V5:=SMA(操盘线,2,1);

抄底:=IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)

BB AND AA AND CC AND 抄底;
第2个回答  2019-10-04
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10));
VAR4:=(REF(VAR3,1));
XG:BARSLAST(VAR3>VAR4=0)=1;本回答被提问者和网友采纳
相似回答