UID60357
积分314
学分
推广 个
预报后涨停 支
阅读权限40
在线时间 小时
注册时间2010-4-4
最后登录1970-1-1
|
请问大智慧的源码改成以下的对吗?请教了
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
AA:=REF(MACD,1)<MACD AND MACD>0;
TR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),13);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),13);
DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),13);
PDI:= DMP*100/TR;
MDI:= DMM*100/TR;
ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,5);
ADXR:=EMA(ADX,5);
BB:=ADX>30 AND ADX<60 AND ADX>ADXR AND MDI>N;
MAVOL21:=MA(VOL,21);
MAVOL55:=MA(VOL,55);
CC:=MAVOL21>MAVOL55;
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 OR DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) AND JJJ>(DYNAINFO(6)-0.01)));
CYC5:=IF(JJJT,0.01*EMA(AMOUNT,5)/EMA(VOL,5),EMA((HIGH+LOW+CLOSE)/3,5));
CYC13:=IF(JJJT,0.01*EMA(AMOUNT,13)/EMA(VOL,13),EMA((HIGH+LOW+CLOSE)/3,13));
CYC34:=IF(JJJT,0.01*EMA(AMOUNT,34)/EMA(VOL,34),EMA((HIGH+LOW+CLOSE)/3,34));
CYC∞:=IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE2(7)),EMA((HIGH+LOW+CLOSE)/3,120));
DD:=CYC13>CYC34 AND CYC34>CYC∞;
EE:=VOL/CAPITAL*100>HS AND VOL/CAPITAL*100<15; |
|