智能交易
在MetaTrader市场购买MetaTrader 4的'MicroTrendCheckerMT4' 技术指标
人气:964  销量:0  评价:0
起批 1-30000件 30001件以上
价格 ¥3988.00 ¥10.00
物流 :3988.00  
库存 888888件
品牌 顺水的鱼外汇EA
  • 商品详情
  • 评价详情(0)
  • 交易记录(0)
  • 概述
  • 评论
  • 评论

MicroTrendCheckerMT4

MicroTrendChecker signal indicator tracks symbol price movements on the terminal chart. While there is no trend, it returns Ask levels by points value up and Bid levels by points value down.


Input Parameters

  • MaxSpread – maximum spread (it is recommended to set the parameter above the average symbol spread). The parameter is necessary for filtering spread widening during news releases.
  • *wits – first indicator parameter (positive integer value of 2 or higher);
  • *body – second indicator parameter (positive integer value of 2 or higher). In most cases, it exceeds size0;
  • *sense – third indicator parameter (positive integer value of 2 or higher);
  • *points – indent from the current price in points (Ask/Bid);
  • *delta – trend/flat evaluation value (fractional value exceeding 0);
  • tracker – price tracking mode switcher (true/false). If true, the indicator buffers never have empty values (EMPTY_VALUE). If false, empty values usually appear in the indicator buffers during a trend, while new indicator labels on the chart are not displayed when a bar is forming.


Example of using the indicator in an Expert Advisor code

input int     _MaxSpread=15;
input int     _size0=2;//*wits
input int     _size1=21;//*body
input int     _size2=2;//*sense
input int     _point=10;//*points
input double  _dlt=1;//*delta
input bool    _tracker=true;
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---

//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---

  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   double _buyStopValue=iCustom(Symbol(),0,"microTrendChecker",_MaxSpread,_size0,_size1,_size2,_point,_dlt,_tracker,0,0);
   double _sellStopValue=iCustom(Symbol(),0,"microTrendChecker",_MaxSpread,_size0,_size1,_size2,_point,_dlt,_tracker,1,0);

   if(ExistPositions()>0)TreilingPositions();

   if(OrdersTotal()<1)
     {
      YourTradeFunc(_buyStopValue);
      YourTradeFunc(_sellStopValue);
     }

   if(ExistPositions()<1 && ExistStopOrders()>0)
     {
      ModifyStopOrder(_sellStopValue);
      ModifyStopOrder(_buyStopValue);
     }

   if(ExistPositions()>0 && ExistStopOrders()>0)
     {
      DeleteStopOrders();
     }

  }


Additionally

The indicator is used in USDCatch Expert Advisor.

ta itemprop="image" content="https://c.mql5.com/31/56/microtrendcheckermt4-screen-6873.jpg" />
联系方式
公司:顺水的鱼外汇EA
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com
加入购物车
立即购买