同花顺回归预值与均线公式
-
相关简介:同花顺回归预值与均线公式 IF (k=0) RETURN 0; 均$1:MA(CLOSE, N1); 预$1:FORCAST(CLOSE,n1); IF (k=1) RETURN 0; 均$2:MA(CLOSE, N2); 预$2:FORCAST(CLOSE,n2); IF (k=2) RETURN 0; 均$3:MA(CLOSE, N3); 预$3:FORCAST(CLOSE,n3); DRAWTEXT(CROSS(预$2,预$3),HIGH,买); VERLINE(CROSS(预$3,均$3
-
文章来源:股海网作者:股海网发布时间:2015-05-01浏览次数:
同花顺回归预值与均线公式
IF (k<=0)
RETURN 0;
均$1:MA(CLOSE, N1);
预$1:FORCAST(CLOSE,n1);
IF (k<=1)
RETURN 0;
均$2:MA(CLOSE, N2);
预$2:FORCAST(CLOSE,n2);
IF (k<=2)
RETURN 0;
均$3:MA(CLOSE, N3);
预$3:FORCAST(CLOSE,n3);
DRAWTEXT(CROSS(预$2,预$3),HIGH,"买");
VERLINE(CROSS(预$3,均$3),0);
IF (k<=3)
RETURN 0;
均$4:MA(CLOSE, N4);
预$4:FORCAST(CLOSE,n4);
DRAWTEXT(CROSS(预$3,预$4),HIGH,"买");
VERLINE(CROSS(预$4,均$4),1);
IF (k<=4)
RETURN 0;
均$5:MA(CLOSE, N5);
预$5:FORCAST(CLOSE,n5);
VERLINE(CROSS(预$5,均$5),2);
IF (k<=5)
RETURN 0;
均$6:MA(CLOSE, N6);
预$6:FORCAST(CLOSE,n6);
IF (k<=6)
RETURN 0;
均$7:MA(CLOSE, N7);
预$7:FORCAST(CLOSE,n7);
IF (k<=7)
RETURN 0;
均$8:MA(CLOSE, N8);
预$8:FORCAST(CLOSE,n8);
IF (k<=8)
RETURN 0;
均$9:MA(CLOSE, N9);
预$9:FORCAST(CLOSE,N9);