这是一个简单的趋势跟踪外汇策略。基于两个 MetaTrader4 指标。

这一策略的目标是在长期趋势中取胜。

时间周期 范围 h1 或更高。

货币对;任意(最佳时间范围 4 小时或每日)。

规则:大趋势交易系统

只按照趋势的方向进行交易。

做多信号

趋势方向买入箭头;

趋势线颜色为蓝色。

做空信号

趋势方向指标卖出箭头;

趋势线颜色为红色。

退出位置选项:

1) 在对面的箭头处。

2)止损预定示例:时间范围 4 小时:50 点 AUD/USD、50 点 EUR/USD、40 点 USD/CHF、60 点 USD/GBP GBP/GPY;

止损:时间范围每日 100 点澳元/美元 120 点欧元/美元,110 点美元/瑞士法郎,

150 点 GBP/USD 和 GBP/GPY;

在前一次波动中获得 100 点收益后进行初始止损,在入场点移动位置(4 小时时间范围,在每日时间范围中获得 250 点收益后,在入场点移动位置。

盈利目标可选1:3比例止损。

指标文件下载连接: 

链接: https://pan.baidu.com/s/11tUkH7TxL-AC5F7xzFHgiw?pwd=595h 提取码: 595h 复制这段内容后打开百度网盘手机App,操作更方便哦

指标代码



#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Blue
#property indicator_width1 2
#property indicator_color2 Red
#property indicator_width2 2

//+------------------------------------------------------------------+

extern int CCI = 50;
extern int ATR = 5;

//+------------------------------------------------------------------+

double bufferUp[];
double bufferDn[];

//+------------------------------------------------------------------+

int init()
{
   SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 2);
   SetIndexBuffer(0, bufferUp);
   SetIndexStyle(1, DRAW_LINE, STYLE_SOLID, 2);
   SetIndexBuffer(1, bufferDn);
   return (0);
}

//+------------------------------------------------------------------+

int deinit()
{
   return (0);
}

//+------------------------------------------------------------------+

int start()
{
   double thisCCI;
   double lastCCI;

   int counted_bars = IndicatorCounted();
   if (counted_bars < 0) return (-1);
   if (counted_bars > 0) counted_bars--;
   int limit = Bars - counted_bars;

   for (int shift = limit; shift >= 0; shift--)
   {
      thisCCI = iCCI(NULL, 0, CCI, PRICE_TYPICAL, shift);
      lastCCI = iCCI(NULL, 0, CCI, PRICE_TYPICAL, shift + 1);

      if (thisCCI >= 0 && lastCCI < 0) bufferUp[shift + 1] = bufferDn[shift + 1];
      if (thisCCI <= 0 && lastCCI > 0) bufferDn[shift + 1] = bufferUp[shift + 1];

作者 admin

九稳量化交易系统 是一套高胜率策略趋势跟踪系统,系统最大优势就是开仓位置精确,信号不漂移 不延迟 同步行情信号 拒绝马后面!www.gao998.cn 微信 fxfx668998

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注