Bar by Bar MT5
The scalper Expert Advisor monitors and makes deals when the number of bull / bear bars in a row reaches a predetermined value. It works on opening a new bar (by default M5), if the signal continues, an additional transaction is opened. The adviser has several parameters that respond directly to the direction of trade:
- TIMEframe - working timeframe;
- MIN_BAR_SIZE - minimum bar size, set as% of ATR;
- DIRECTION_ConTINUED - the number of bull / bear bars in a row to open a transaction in the direction of travel;
- DIRECTION_REVERSAL - the number of bull / bear bars in a row to open a trade opposite to the direction of movement;
- PERIOD_ATR - period of the ATR indicator, for calculating the minimum bar size;
- MAX_ORDERS - the maximum number of orders in one direction;
- IGNORE_SIGNAL - ignore the signal to open a trade if there are already open positions opposite to the signal until the number of opposite trades reaches the value MAX_ORDERS;
The adviser has a time job function:
- START_HOUR, START_MINUTE - the hour and minutes allowed to open trades;
- STOP_HOUR, STOP_MINUTES - hour and minutes for the end of trading;
- CLOSE_ZEROLEVEL - close all orders on breakeven if the allowed time for trading is over;
Management:
- USE_BALANCE_PCT - the percentage of funds from the balance that the adviser can use is set for each symbol separately;
- FIX_START_LOT - fixed starting lot for each N amount from the balance (FROM_BALANCE);
- FROM_BALANCE - N amount of balance to calculate the starting lot (FIX_START_LOT);
Closing deals:
- STOPLOSS_IN_PIPS - if TRUE, then STOPLOSS is set in pips, otherwise in% of balance;
- VIRTUAL_STOPLOSS - stop loss;
- STOP_TRADING - stop trading when a loss is received;
- VIRTUAL_TAKEPROFIT - take profit in pips, initially calculated from the opening price of the first order;
- START_TP_ZEROLEVEL - the number of orders when the take profit starts to be calculated from the breakeven level;
- CLOSE_AT_ZEROLEVEL - the number of orders when all trades will be closed for a total breakeven;
- USE_TRAILINGSTOP - allow to use trailing stop;
- TRAILING_STOP, TRAILING_STEP - start and trailing stop step;
联系方式
公司:顺水的鱼外汇EA
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com