//+------------------------------------------------------------------+
//| southgis.com_MACD.mq4 |
//| Copyright ?2014, www.southgis.com |
//| http://www.southgis.com |
//+------------------------------------------------------------------+
#property copyright "www.southgis.com"
#property link "http://www.southgis.com"
#property indicator_separate_window
#property indicator_buffers 4
#property indicator_color1 White
#property indicator_color2 Yellow
#property indicator_color3 Red
#property indicator_color4 Lime
//---- input parameters
extern int FastEMA=12;
extern int SlowEMA=26;
extern int SignalSMA=9;
extern int ExtWPRPeriod=14;
extern double WRMin=-65;
extern double WRMax=-35;
extern double MACDMax=0.00007;
extern double MACDMin=-0.00007;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
int index=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexStyle(2,DRAW_HISTOGRAM);
SetIndexBuffer(2,ExtMapBuffer3);
SetInd
MT4平台下的指标——基于MACD和威廉指标的综合考虑
于 2014-09-10 17:36:18 首次发布
本文探讨了如何在MT4交易平台中结合MACD与威廉指标进行欧元美元的M1和M5周期交易分析。通过深度解析这两个技术指标的协同应用,为交易者提供了一种综合判断市场趋势的策略。
摘要由CSDN通过智能技术生成