㈠ 哪里有MT4 Heikin-ashi指标啊 MT4好像没有这个指标
//+------------------------------------------------------------------+
//| Heiken Ashi.mq4 |
//| Copyright c 2004, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
//| For Heiken Ashi we recommend next chart settings ( press F8 or |
//| select on menu 'Charts'->'Properties...'): |
//| - On 'Color' Tab select 'Black' for 'Line Graph' |
//| - On 'Common' Tab disable 'Chart on Foreground' checkbox and |
//| select 'Line Chart' radiobutton |
//+------------------------------------------------------------------+
#property right "Copyright ?2004, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"
#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Red
#property indicator_color2 White
#property indicator_color3 Red
#property indicator_color4 White
#property indicator_width1 1
#property indicator_width2 1
#property indicator_width3 3
#property indicator_width4 3
//----
extern color color1 = Red;
extern color color2 = White;
extern color color3 = Red;
extern color color4 = White;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//----
int ExtCountedBars=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//|------------------------------------------------------------------|
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_HISTOGRAM, 0, 1, color1);
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexStyle(1,DRAW_HISTOGRAM, 0, 1, color2);
SetIndexBuffer(1, ExtMapBuffer2);
SetIndexStyle(2,DRAW_HISTOGRAM, 0, 3, color3);
SetIndexBuffer(2, ExtMapBuffer3);
SetIndexStyle(3,DRAW_HISTOGRAM, 0, 3, color4);
SetIndexBuffer(3, ExtMapBuffer4);
//----
SetIndexDrawBegin(0,10);
SetIndexDrawBegin(1,10);
SetIndexDrawBegin(2,10);
SetIndexDrawBegin(3,10);
//---- indicator buffers mapping
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexBuffer(3,ExtMapBuffer4);
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//---- TODO: add your code here
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
double haOpen, haHigh, haLow, haClose;
if(Bars<=10) return(0);
ExtCountedBars=IndicatorCounted();
//---- check for possible errors
if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
if (ExtCountedBars>0) ExtCountedBars--;
int pos=Bars-ExtCountedBars-1;
while(pos>=0)
{
haOpen=(ExtMapBuffer3[pos+1]+ExtMapBuffer4[pos+1])/2;
haClose=(Open[pos]+High[pos]+Low[pos]+Close[pos])/4;
haHigh=MathMax(High[pos], MathMax(haOpen, haClose));
haLow=MathMin(Low[pos], MathMin(haOpen, haClose));
if (haOpen<haClose)
{
ExtMapBuffer1[pos]=haLow;
ExtMapBuffer2[pos]=haHigh;
}
else
{
ExtMapBuffer1[pos]=haHigh;
ExtMapBuffer2[pos]=haLow;
}
ExtMapBuffer3[pos]=haOpen;
ExtMapBuffer4[pos]=haClose;
pos--;
}
//----
return(0);
}
//+------------------------------------------------------------------+
㈡ mt4 添加指标后怎么不显示
新版MT4(Build 625),其自定义指标存放路径和旧版有所区别,其存放路径如下:
- MetaTrader 4\MQL4\Indicators
把指标存放到以上文件夹之后版,权需要重新启动平台,然后可以在自定义指标里面找到所保存的指标。
㈢ 如何识别某些交易商mt4提供的指标中是否含有未来函数呢
理论上讲 没有源码的话 只能通过1M的K线图观察已出现的最新信号 是否在后续新K线产生时消失 来判断是否有未来函数
㈣ 为什么我的mt4导航器当中没有自定义指标
自定义指标加载方法:
先拷贝相应文件到自定义指标的指定目录,如:D:\*\* Terminal\MQL4\Indicators然后:如果此时MT4呈打开状态,需要在导航栏右键——刷新;如果MT4没打开,直接打开MT4即可。
㈤ 关于MT4未来函数的问题说明,怎么判断是否有未来
没有源码没法分辨到底有没有未来函数,有源码的话简单的说看它参与运算数据是否有当时尚未出现的数据。比如算15分钟周期k线的一个指标可以引用它之前的数据如果它引用了它之后当时尚未出现的数据就是未来函数。
㈥ 怎么检测MT4指标有没有未来函数.用什么软件检测
这个不需要软件吧,再说软件检测的也不准啊。譬如说High, Low这样的函数,你说是不是为来函说版呢?用在当下的柱子权,是未来函数;用在以前的柱子,不是未来函数。所以还是认真体会函数本身的含义,结合到具体的程序中去判定是不是未来函数。另外,由未来函数不见得就不是好程序。
㈦ mt4怎么添加指标新版的MT4加之前的指标怎么都不显示了啊
途观好货贵妇人双人床刚回家别克句加工费方向感刚回家快播你看不见不开机就不可能老款几句话桂鱼
㈧ http://怎么才能使mt4指标信号不消失/
如果指标信号消失,那说明这个指标用的是未来函数。这个指标基本上没有用。
㈨ 我的mt4里面怎么没有expma指标
最新BOLL和KDJ指标共振稳赚获利方法,详细看视频讲解!
㈩ 为什么MT4软件没有KDJ指标
MT4软件没有KDJ指标是设置错误造成的,解决方法为:
1、点击上方工具栏带内f和小加号的那个工具,会弹容出最近常使用的指标和指标分类,分类里包括趋势指标、震荡指标、成交量、自定义等。