请问MT4里面有EMAmt4指标编写吗?全名是什...

Alligator鳄鱼指标
iAlligator属于比尔威廉指标,根据中线价格(最高最低价的中间价)形成3条曲线,由于形状像鳄鱼嘴巴,被外国人极有想象力的命名为“鳄鱼指标”。
1、周期参数选择13、8、5,返是一组“神奇数字”;
2、相对偏移量选择8、5、3,可钝化市场,用损失部分为代价,换叏震荡行情可能带来的损失;
3、绿线&红线&蓝线,市场处于上涨阶段;
4、绿线&红线&蓝线,市场处于下跌阶段;
5、绿线、红线、蓝线没有顺序,市场处于盘整阶段。
【语法】double iAlligator( string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift)
1、symbol 指定货币对,NULL为默认当前货币对
2、timeframe& 周期,0为当前时间周期
3、jaw_period& 鳄鱼下颚平均周期,蓝线。默认选13
4、jaw_shift& 蓝线相对偏移量。默认选8
5、teeth_period& 鳄鱼牙齿平均周期,红线。默认选8
6、teeth_shift& 红线相对偏移量。默认选5
7、lips_period& 鳄鱼嘴唇平均周期,绿线。默认选5
8、lips_shift& 绿线相对偏移量。默认选3
9、ma_method& MA方法。默认取指数平均MODE_EMA
10、applied_price& 应用价格。默认取中线价PRICE_MEDIAN
11、mode& 返回,MODE_GATORJAW为下颚,MODE_GATORTEETH为牙齿,MODE_GATORLIPS为嘴唇
12、shift指定柱值,0为当前柱,1为前一个柱,以此类推
iAlligator(NULL,0,13,8,8,5,5,3,MODE_EMA,PRICE_MEDIAN,MODE_GATORJAW,0)
iAlligator(NULL,0,13,8,8,5,5,3,MODE_EMA,PRICE_MEDIAN,MODE_GATORTEETH,0)
iAlligator(NULL,0,13,8,8,5,5,3,MODE_EMA,PRICE_MEDIAN,MODE_GATORLIPS,0)
【内容导航】
未经外汇通网站(.cn)书面许可,对于文章标明来源为&外汇通&的内容,任何人不得复制、转载、摘编或在非外汇通网站(.cn)所属的服务器上做镜像或以其他任何方式进行使用。如需转载请联系:010-
多媒体培训eminem 2013 MTV EMA 颁奖礼上这件外套是什么牌子型号 求高人解答, eminem 2013 MTV EMA 颁奖礼上
eminem 2013 MTV EMA 颁奖礼上这件外套是什么牌子型号 求高人解答
无情卖队友 eminem 2013 MTV EMA 颁奖礼上这件外套是什么牌子型号 求高人解答
channei的。您现在的位置:>>
>>正文内容
第三代移动平均线 MT4 MT5指标[MT5公式]
该指标适用于MT4 和 MT5。无需使用任何DLL。
第三代移动平均线 MetaTrader 指标&& 是标准移动平均线(MA)的先进版,在较长MA时段执行简单的减少滞后性的程序。这种方法由M. Duerschner首次描述于他的文章Gleitende Durchschnitte 3.0(德语)。当前版设定& = 2,最大程度的减少了滞后性。较高的&值则会增加与经典移动平均线的相似性。
这是个MetaTrader指标,用于可调整移动平均线 3G智能交易。
输入参数:
MA_Period (默认 = 50)&& 第三代移动平均线的时段。
MA_Method (默认 = 1)&& 移动平均线的方法。0&& SMA, 1&& EMA, 2&& SMMA, 3&& LWMA.
MA_Applied_Price (默认 = 5)&& 移动平均线适用的价格。0&& PRICE_CLOSE, 1&& PRICE_OPEN, 2&& PRICE_HIGH, 3&& PRICE_LOW, 4&& PRICE_MEDIAN, 5&& PRICE_TYPICAL, 6&& PRICE_WEIGHTED.
正如您看到的,第三代移动平均线(红线)比传统的指数移动平均线(蓝线)滞后性更短,而且能更快的反映出价格的变化。不过,它仍有滞后性而且可能会发出错误的信号。您可以将第三代移动平均线外汇指标作为标准移动平均线使用 & 用以侦测当前趋势的方式。
标签:MT4 MT5指标源码
//+------------------------------------------------------------------+
3rd Generation MA |
Copyright ? 2011, EarnForex |
//+------------------------------------------------------------------+
#property copyright &&
#property link
3rd Generation MA based on research paper by Dr. Mafred Durschner:
http://www.vtad.de/node/1441 (in German)
Offers least possible lag but still provides price smoothing
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
//---- indicator parameters
extern int MA_Period = 220;
extern int MA_Sampling_Period = 50; // Sampling period should be less than 1/4 of MA_Period
extern int MA_Method = 1; //0 - SMA, 1 - EMA, 2 - SMMA, 3 - LWMA
extern int MA_Applied_Price = 5; // 0 - PRICE_CLOSE, 1 - PRICE_OPEN, 2 - PRICE_HIGH, 3 - PRICE_LOW, 4 - PRICE_MEDIAN, 5 - PRICE_TYPICAL, 6 - PRICE_WEIGHTED
//---- indicator buffers
double MA3G[];
double MA1[];
double Lambda, A
//+------------------------------------------------------------------+
//| Custom indicator initialization function
//+------------------------------------------------------------------+
int init()
string short_
IndicatorBuffers(3);
//---- drawing settings
SetIndexStyle(0, DRAW_LINE);
IndicatorDigits(MarketInfo(Symbol(), MODE_DIGITS));
draw_begin = MA_Period - 1;
//---- indicator short name
switch(MA_Method)
short_name=&3GEMA(&;
draw_begin=0;
short_name=&3GSMMA(&;
short_name=&3GLWMA(&;
MA_Method = 0;
short_name = &3GSMA(&;
IndicatorShortName(short_name + MA_Period + &)&);
SetIndexDrawBegin(0, draw_begin);
//---- indicator buffers mapping
SetIndexBuffer(0, MA3G);
SetIndexBuffer(1, MA1);
Lambda = 1.0 * MA_Period / (1.0 * MA_Sampling_Period);
Alpha = Lambda * (MA_Period - 1) / (MA_Period - Lambda);
Print(&Lambda = &, Lambda, &; Alpha = &, Alpha);
//---- initialization done
return(0);
//+------------------------------------------------------------------+
//| 3rd Generation Moving Average Custom Indicator
//+------------------------------------------------------------------+
int start()
if (MA_Period * 2 & MA_Sampling_Period)
Print(&MA_Period should be &= MA_Sampling_Period * 2.&);
return(-1);
if (Bars &= MA_Period) return(0);
int ExtCountedBars = IndicatorCounted();
//---- check for possible errors
if (ExtCountedBars & 0) return(-1);
//---- last counted bar will be recounted
if (ExtCountedBars & 0) ExtCountedBars--;
if (ExtCountedBars & MA_Period) ExtCountedBars = MA_P
for (i = Bars - ExtCountedBars - 1; i &= 0; i--)
MA1[i] = iMA(NULL, 0, MA_Period, 0, MA_Method, MA_Applied_Price, i);
for (i = Bars - ExtCountedBars - 1; i &= 0; i--)
double MA2 = iMAOnArray(MA1, 0, MA_Sampling_Period, 0, MA_Method, i);
MA3G[i] = (Alpha + 1) * MA1[i] - Alpha * MA2;
//---- done
return(0);
//+------------------------------------------------------------------+
点击复制上述代码粘贴到到公式管理器
MT5源码://+------------------------------------------------------------------+
3rd Generation MA |
Copyright ? 2011, EarnForex |
//+------------------------------------------------------------------+
#property copyright &&
#property link
#property version
#property description &3rd Generation MA based on research paper by Dr. Manfred&
#property description &Durschner: http://www.vtad.de/node/1441 (in German).&
#property description &Offers least possible lag but still provides price smoothing.&
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_plots 1
#property indicator_color1 clrRed
#property indicator_style1 STYLE_SOLID
#property indicator_type1 DRAW_LINE
#property indicator_width1
//---- indicator parameters
input int MA_Period = 50;
input ENUM_MA_METHOD MA_Method = MODE_EMA;
input ENUM_APPLIED_PRICE MA_Applied_Price = PRICE_TYPICAL;
//---- indicator buffers
double MA3G[];
double MA[];
double MA2[];
double Lambda, A
int handle, MA_Sampling_Period = 2 * MA_P
bool FirstRun =
//+------------------------------------------------------------------+
//| Custom indicator initialization function
//+------------------------------------------------------------------+
void OnInit()
string short_
SetIndexBuffer(0, MA3G, INDICATOR_DATA);
SetIndexBuffer(1, MA, INDICATOR_CALCULATIONS);
ArraySetAsSeries(MA3G, true);
ArraySetAsSeries(MA, true);
ArraySetAsSeries(MA2, true);
//---- indicator short name
switch(MA_Method)
case MODE_EMA:
short_name = &3GEMA(&;
case MODE_SMMA:
short_name = &3GSMMA(&;
case MODE_LWMA:
short_name = &3GLWMA(&;
short_name = &3GSMA(&;
IndicatorSetString(INDICATOR_SHORTNAME, short_name + IntegerToString(MA_Period) + &)&);
IndicatorSetInteger(INDICATOR_DIGITS, _Digits);
handle = iMA(NULL, 0, MA_Sampling_Period, 0, MA_Method, MA_Applied_Price);
if (handle == INVALID_HANDLE)
Print(&Failed to initialize Moving Average.&);
Lambda = 1.0 * MA_Sampling_Period / (1.0 * MA_Period);
Alpha = Lambda * (MA_Sampling_Period - 1) / (MA_Sampling_Period - Lambda);
Print(&Lambda = &, Lambda, &; Alpha = &, Alpha);
//+------------------------------------------------------------------+
//| 3rd Generation Moving Average Custom Indicator
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tickvolume[],
const long &volume[],
const int &spread[])
int TotalPeriod = MA_Sampling_Period + MA_P
if (rates_total &= TotalPeriod) return(0); // Not enough bars
int ExtCountedB
if (FirstRun) ExtCountedBars = 0;
ExtCountedBars = prev_
if (ExtCountedBars & 0) return(-1);
if ((rates_total - ExtCountedBars & TotalPeriod) || (ExtCountedBars == 0)) ExtCountedBars = rates_total - TotalP
// +2 to use in iMAOnArrayMQL4()
// + MA_Period because we need that amount more to calculate the components of the resulting indicator
int MABars = rates_total - ExtCountedBars + MA_Period + 2;
if (MABars & rates_total) MABars = rates_
if (CopyBuffer(handle, 0, 0, MABars, MA) != MABars) return(0);
int MAonMABars = rates_total - ExtCountedBars + MA_P
if (MAonMABars & rates_total) MAonMABars = rates_
iMAOnArrayMQL4(MA, MAonMABars, MA_Period, 0, MA_Method, 0, MA2);
for (i = rates_total - ExtCountedBars - 1; i &= 0; i--)
MA3G[i] = (Alpha + 1) * MA[i] - Alpha * MA2[i];
FirstRun =
return(rates_total);
//+------------------------------------------------------------------+
//| /en/articles/81
//+------------------------------------------------------------------+
double iMAOnArrayMQL4(double &array[],
int total,
int period,
int ma_shift,
int ma_method,
int shift,
double &buf[])
double arr[];
if(total==0) total=ArraySize(array);
if(total&0 && total&=period) return(0);
if(shift&total-period-ma_shift) return(0);
switch(ma_method)
case MODE_SMA :
total=ArrayCopy(arr,array,0,shift+ma_shift,period);
if(ArrayResize(buf,total)&0) return(0);
double sum=0;
i,pos=total-1;
for(i=1;i&i++,pos--)
sum+=arr[pos];
while(pos&=0)
sum+=arr[pos];
buf[pos]=sum/
sum-=arr[pos+period-1];
return(buf[0]);
case MODE_EMA :
if(ArrayResize(buf,total)&0) return(0);
double pr=2.0/(period+1);
pos=total-2;
while(pos&=0)
if(pos==total-2) buf[pos+1]=array[pos+1];
buf[pos]=array[pos]*pr+buf[pos+1]*(1-pr);
return(buf[shift+ma_shift]);
case MODE_SMMA :
if(ArrayResize(buf,total)&0) return(0);
double sum=0;
pos=total-
while(pos&=0)
if(pos==total-period)
for(i=0,k=i&i++,k++)
sum+=array[k];
else sum=buf[pos+1]*(period-1)+array[pos];
buf[pos]=sum/
return(buf[shift+ma_shift]);
case MODE_LWMA :
if(ArrayResize(buf,total)&0) return(0);
double sum=0.0,lsum=0.0;
i,weight=0,pos=total-1;
for(i=1;i&=i++,pos--)
price=array[pos];
sum+=price*i;
weight+=i;
while(pos&=0)
buf[pos]=sum/
if(pos==0)
price=array[pos];
sum=sum-lsum+price*
lsum-=array[i];
return(buf[shift+ma_shift]);
default: return(0);
return(0);
//+------------------------------------------------------------------+
点击复制上述代码粘贴到到公式管理器
【字体: 】【】【】
下一篇:没有了!
没有相关内容
本月热门排行
会员登录/注册MT4指标名称_百度知道
MT4指标名称
baidu://a.com/zhidao/wh%3D450%2C600/sign=087bf47db95fedc7e37b1a/38dbb6fdf735fa354b:///zhidao/wh%3D600%2C800/sign=4ca4b2e30/38dbb6fdf735fa354b://a.baidu.jpg" esrc="http.jpg" target="_blank" title="点击查看大图" class="ikqb_img_alink"><img class="ikqb_img" src="/zhidao/pic/item/38dbb6fdf735fa354b.baidu.hiphotos想知道这个指标的具体名称<a href="http.hiphotos
我有更好的答案
图真的没发看清楚
帮不了你了
右键图片打开链接可以看的很清楚啊
我就想知道哪个trade up那个指标的名字 这是个二元期权的指标
其他类似问题
为您推荐:
手机qq的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁FXCM福汇MT4交易软件中的如何添加MACD指标&&
FXCM福汇 MT4交易软件中的如何添加 MACD指标
& & & 在 外汇市场进行交易,学会技术 分析指标的使用,无疑会为你的交易行为。带来非常大的帮助,因为 技术指标的构造原理,和发明都是为了追随市场价格的变化,希望通过技术指标所表现出来的信号,对当前汇价的走势及未来可能发生价格变化,提供提前的信号让交易者得知。在外汇市场有很多技术指标使用的高手都在外汇市场之中得到了不菲的收益。所以我司就给大家介绍一下在 外汇交易之中,最常被大多数投资者所使用的MACD指标如何在MT4软件中进行添加。
MACD全名被称为指数平滑 移动平均线,是对于移动 平均线指标的再处理和优化。
MACD在应用上应先行计算出快速(一般选12日)移动平均值与慢速(一般选26日)移动平均值
12日EMA的计算:EMA12 = 前一日EMA12 X 11/13 + 今日收盘 X 2/13
26日EMA的计算:EMA26 = 前一日EMA26 X 25/27 + 今日收盘 X 2/27
差离值(DIF)的计算: DIF = EMA12 - EMA26
根据差离值计算其9日的EMA,即离差平均值,是所求的DEA值。为了不与指标原名相混淆,此值又名DEA或DEM。
当你所添加的MACD指标的DIF快线和EMA慢线都位于零轴上方的时候是属于多方的市场,此时产生 黄金交叉可以入场做多,需要记住的是,只在多方市场中交易第一个金叉的产生。
& & & 与之相反,DIF快线和EMA慢线都位于零轴下方的时候是属于空方的市场,此时在零轴线下方可以进场做空,但是不交易零轴下方的第二个死叉。
DIF快线和EMA慢线位于零轴附近属于盘整行情,需要等待突破趋势的到来。
添加MACD指标如下图所示:
添加成功后的指标显示
大家需要注意的是一般MT4软件中显示的MACD指标都是单线的,如果客户想要添加双线的指标到自己操作的MACD软件,可以在线向我司索取,在我司工作人员的指导之下帮你添加成功。
若有不明白之处都可随时咨询我们宇汇国际的在线客服QQ:
上一篇: FXCM福汇MT4交易软件时间和北京时间怎么换算
下一篇: FXCM福汇MT4软件上不同账户所使用服务器的选择
在FXCM福汇MT4软件中插入均线系统
在FXCM福汇MT4软件怎么修改所添加
在FXCM福汇MT4软件如何进行复盘
在FXCM福汇MT4软件交易的手数是怎
FXCM福汇在MT4软件中怎么设置追踪
FXCM福汇在MT4软件上怎么平掉部分
FXCM福汇MT4软件中怎么查看交易所
FXCM福汇MT4软件余额和净值为什么
FXCM福汇MT4软件如何保存使用模板
FXCM福汇MT4交易软件中的投资人密
在fxcm福汇MT4软件上修改原始密码
在fxcm福汇MT4软件上无法及时平仓
在fxcm福汇MT4软件上添加EA智能化
在fxcm福汇MT4软件上将多重周期的
fxcm福汇手机版MT4如何添加更多的
fxcm福汇MT4软件设置◇◇详
白银的交易手数在MT4平台最低是
FXCM福汇平台MT4软件和TS2软件那个
FXCM福汇MT4软件出现“一般错误”
在fxcm福汇MT4软件上怎么保存和查
[已过滤文章中的超链接]
被转藏 : 1次}

我要回帖

更多关于 mt4主图指标 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信