通达信版MT4 经典副图指标 源码 贴图
发一个MT4 的经典指标,修改成通达信的!准确率非常高(震荡指标),趋势就有很大的问题了!需要拿其他指标进行过滤!详细的导入指标自己琢磨,因为非常简单!就不详细介绍了,就是TrendWave的修改版本,做过MT4的人都知道!
ESABUFFER := EMA(CLOSE,WAVEPERIOD);
DDVALUESBUFFER := ABS((2*HIGH + CLOSE+ 2*LOW)) / 5 - ESABUFFER;
DDBUFFER := EMA(DDVALUESBUFFER,WAVEPERIOD);
CIBUFFER := IF(DDBUFFER>0,((HIGH + CLOSE+ LOW) / 3.0 - ESABUFFER ) / (0.015 * DDBUFFER),0);
{公式网WWW.GPXIAZAI.COM}
{IF (DDBUFFER > 0.0 , CIBUFFER ,0 );}
BULLLINEBUFFER := EMA(CIBUFFER, AVGPERIOD);
GPXIAZAI:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
BEARLINEBUFFER := EMA(BULLLINEBUFFER, MOV);
AA:=EMA(CLOSE,WAVEPERIOD);
BBB:= EMA(DDVALUESBUFFER,WAVEPERIOD);
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
QQ:(EMA(HHH,0.5)*3+HHH*13)/15,COLORRED,LINETHICK1;
SS:(EMA(CCC,0.5)*3+CCC*13)/16,COLORRED,LINETHICK1;
GG:EMA(HHH,5),LINETHICK1,COLORGREEN;
MM:EMA(CCC,5),LINETHICK1,COLORGREEN;
WW:IF(QQ<GG ,SS,MM),LINETHICK1,COLORCYAN;
EE:IF(SS<MM ,GG,QQ),LINETHICK1,COLORCYAN;
S:0,COLOR00FFFF;
BUYSIGN:(EE-WW)<4.3 AND CROSS(QQ,GG);
趋势:IF(QQ>GG,0.5,0),COLORYELLOW;