麻烦高手看下下面的两个公式有没有未来函数.公式1N:=9; M:=14; N1:=6; N2:=8;SHORT:=6;LONG:=20;MIDN:=5;DIFN:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEAN:=EMA(DIFN,MIDN);MACD8:=(DIFN-DEAN)*2;TYP8:= (HIGH + LOW + CLOSE)/3;CC1:(TYP8-MA(TYP8,M
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/23 12:19:04
麻烦高手看下下面的两个公式有没有未来函数.公式1N:=9; M:=14; N1:=6; N2:=8;SHORT:=6;LONG:=20;MIDN:=5;DIFN:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEAN:=EMA(DIFN,MIDN);MACD8:=(DIFN-DEAN)*2;TYP8:= (HIGH + LOW + CLOSE)/3;CC1:(TYP8-MA(TYP8,M
麻烦高手看下下面的两个公式有没有未来函数.
公式1
N:=9; M:=14; N1:=6; N2:=8;
SHORT:=6;
LONG:=20;
MIDN:=5;
DIFN:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEAN:=EMA(DIFN,MIDN);
MACD8:=(DIFN-DEAN)*2;
TYP8:= (HIGH + LOW + CLOSE)/3;
CC1:(TYP8-MA(TYP8,M))/(0.015*AVEDEV(TYP8,M)),COLORYELLOW;
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);
DRAWBAND(CC1,RGB(00,85,85),0,RGB(255,200,90));
DRAWBAND(150,0,-120,0);
LC1 := REF(CLOSE,1);
RSI11:=SMA(MAX(CLOSE-LC1,0),N1,1)/SMA(ABS(CLOSE-LC1),N1,1)*100;
RSI:(RSI11-50)*5,LINETHICK2,COLOR515151;
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
RR1:=EMA(J1,5);
RR2:=REF(RR1,1);
RR:=RR1>RR2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
KN:=SMA(RSV,3,1);
K1:=(KN-50)*5,COLORBLACK;
K2:=SMA(K1,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
卖出:REF(RR,1)=1 AND NOT(RR) AND CB1>100,LINETHICK0;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
DRAWICON(CROSS(RSI1,20),20,23);
周15:=FILTER(CROSS(80,RSI1) AND RSI1 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
最佳买入:=(AV + NEWVOL);
最佳买入选股:=IF(CROSS(最佳买入,0),1,0);
VAR1:=SMA(最佳买入选股,3,1);
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
短线买点:CROSS(VAR2,VAR3) AND (VAR2
麻烦高手看下下面的两个公式有没有未来函数.公式1N:=9; M:=14; N1:=6; N2:=8;SHORT:=6;LONG:=20;MIDN:=5;DIFN:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEAN:=EMA(DIFN,MIDN);MACD8:=(DIFN-DEAN)*2;TYP8:= (HIGH + LOW + CLOSE)/3;CC1:(TYP8-MA(TYP8,M
看不懂啊