帮我设置一下 [文华财经]
- 咨询内容:
MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,3M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5),COLORFF0000,LINETHICK3;M12:EMA(C,377),POINTDOT,LINETHICK4,COLORF00FF0;M11:EMA(C,120),POINTDOT,LINETHICK4,COLOR00FF00;N:=20;N1:=20;N2:=120;T1:=IF((DATE<=1341231),1,0);M3:=EMA(CLOSE,20);M8:EMA(CLOSE,20),COLOR008000;M13:EMA(M8,0),COLOR0000FF;M62:EMA(M8,00),COLOR00FF00;VAR1:=EMA(M13,0);VAR2:=(CLOSE+HIGH+LOW)/(3);VAR3:=(EMA(VAR2,20))*(T1);
N:=BARSLAST(DATE<>REF(DATE,1))+1;N1:=VALUEWHEN(TIME=0930,N);HH:VALUEWHEN(TIME=1000,HHV(H,N-N1));LL:VALUEWHEN(TIME=1000,HHV(H,N-N1));COUNTSIG(BK,N)=0&&COUNT(SK,N)=0&&TIME<=1445&&C>HH,BK;COUNTSIG(BK,N)=0&&COUNT(SK,N)=0&&TIME<=1445&&C<LL,SK;C<BKPRICE-20,SP;C>SKPRICE+20,BP;CLOSEMINUTE<=3,CLOSEOUT;AUTOFILTER;VAR4:=(REF(VAR3,2))*(T1);STICKLINE((VAR3>VAR4),VAR3,VAR4,3,0),COLOR0000FF;STICKLINE((VAR3<VAR4),VAR3,VAR4,3,0),COLORFF0000;VAR5:=((REF(HIGH,1)+REF(LOW,1))/(3))*(T1);VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);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,3))*(T1);VARB:=((2)*(CLOSE)+HIGH+LOW)/(3);VARC:=LLV(LOW,30);VARD:=HHV(HIGH,30);VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);VAR10:=(MA(CLOSE,30)-(MA(CLOSE,10))/(3))*(T1);CROSSUP(C,M11),BPK;CROSSDOWN(C,M11),SPK;AUTOFILTER;
老师这个指标语法错误帮我修改一下 - 文华技术人员:
可以这样修改下: M1:=5;M2:=10;3M3:=20;M4:=40;M5:=60;//以上参数需要自己定义下MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,3M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5),COLORFF0000,LINETHICK3;M12:EMA(C,377),POINTDOT,LINETHICK4,COLORF00FF0;M11:EMA(C,120),POINTDOT,LINETHICK4,COLOR00FF00;N:=20;N1:=20;N2:=120;T1:=IF((DATE<=1341231),1,0);M3:=EMA(CLOSE,20);M8:EMA(CLOSE,20),COLOR008000;M13:EMA(M8,0),COLOR0000FF;M62:EMA(M8,00),COLOR00FF00;VAR1:=EMA(M13,0);VAR2:=(CLOSE+HIGH+LOW)/(3);VAR3:=(EMA(VAR2,20))*(T1);
NN:=BARSLAST(DATE<>REF(DATE,1))+1;NN1:=VALUEWHEN(TIME=0930,N);HH:VALUEWHEN(TIME=1000,HHV(H,N-N1));LL:VALUEWHEN(TIME=1000,HHV(H,N-N1));COUNTSIG(BK,NN)=0&&COUNT(SK,NN)=0&&TIME<=1445&&C>HH,BK;COUNTSIG(BK,NN)=0&&COUNT(SK,NN)=0&&TIME<=1445&&C<LL,SK;C<BKPRICE-20,SP;C>SKPRICE+20,BP;CLOSEMINUTE<=3,CLOSEOUT;AUTOFILTER;VAR4:=(REF(VAR3,2))*(T1);STICKLINE((VAR3>VAR4),VAR3,VAR4,3,0),COLOR0000FF;STICKLINE((VAR3<VAR4),VAR3,VAR4,3,0),COLORFF0000;VAR5:=((REF(HIGH,1)+REF(LOW,1))/(3))*(T1);VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);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,3))*(T1);VARB:=((2)*(CLOSE)+HIGH+LOW)/(3);VARC:=LLV(LOW,30);VARD:=HHV(HIGH,30);VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);VAR10:=(MA(CLOSE,30)-(MA(CLOSE,10))/(3))*(T1);CROSSUP(C,M11),BPK;CROSSDOWN(C,M11),SPK;AUTOFILTER;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容