UniversalEA
The EA allows creating a trading system based on a custom indicator. The trading robot automatically opens/closes trades by signals of the indicator that places the values not equal to 0 and EMPTY_VALUE to the buffer. The EA checks the values of the specified indicator buffers, as well as opens/closes and tracks deals according to specified parameters.
The trading robot features the following deal-tracking functions:
- Setting SL/TP for deals;
- calculating volume by specified risk;
- transfer to breakeven;
- partial closure;
- increasing a deal volume after receiving a loss;
- closing all orders by a total profit value.
To implement your own indicator, enter its name and set applied buffers. The indicator should be placed in the standard folder.
Parameters
- startLot - initial deal volume.
- maxLot - the maximum deal volume.
- MaxRisk - risk per deal, 0 - not used.
- Martin_factor - order volume multiplier after a loss;
- stepProfit - profit step for partial deal closing;
- stepProfit_factor - volume in case of partial order closing;
- stopLoss,takeProfit - SL and TP in points;
- stopLoss_factor - SL level based on TP;
- takeProfit_factor - TP level based on SL;
- noLoss - level for moving to breakeven;
- noLoss_factor - level for moving to breakeven in fractions of SL;
- trailStop,trailStep - trailing stop level and step in points;
- DualOrders - allow opening sell orders when active buy deals are present and vice versa;
- UseAllSignals - allow orders by all signals;
- ProfitNum,ProfitSumm - the number of orders the amount for closing by total profit;
- minProfit_factor - partial closure level of deals;
- minProfit_noLoss - allow moving to breakeven at partial closing;
- IndicatorName - name of the indicator;
- openBuyBufferIndex - buffer for Buy orders;
- openBuyStopBufferIndex - buffer for BuyStop orders;
- openBuyLimitBufferIndex - buffer for BuyLimit orders;
- takeProfitBuyBufferIndex,stopLossBuyBufferIndex,closeBuyBufferIndex - buffer for TP, SL and closure levels for Buy orders;
- minProfitBuyBufferIndex - buffer for partial closing of Buy orders;
- openSellBufferIndex - buffer for Sell orders;
- openSellStopBufferIndex - buffer for SellStop orders;
- openSellLimitBufferIndex - buffer for SellLimit orders;
- takeProfitSellBufferIndex,stopLossSellBufferIndex,closeSellBufferIndex - buffer for TP, SL and closure levels for Buy orders;
- minProfitSellBufferIndex - buffer for partial closing of Sell orders;
- BarIndex - bar index in a buffer;
- useMaFilter - filtering by the Moving Average;
- MaFilterTimeFreme - timeframe of the Moving Average;
- MaFilterPeriod,MaFilterMethot,MaFilterPrice - period, method, applied period of the Moving Average;
- useRsiFilter - allow filtering by the RSI indicator;
- rsiFilterTimeFrafe, rsiFilterPeriod, rsiFilterPrice, rsiFilterLevel_UP, rsiFilterLevel_DOWN - RSI parameters;
- useStochFilter - allow filtering by the Stochastic indicator;
- stochFilterTimeFrafe, stochFilterK, stochFilterD, stochFilterSlow, stochFilterMethod, stochFilterPrice, stochFilterLevel_UP, stochFilterLevel_DOWN - Stochastic parameters;
- useParabolicFilter - allow filtering by the Parabolic SAR indicator;
- parabolicFilterTimeFrafe, parabolicFilterStep, parabolicFilterMax - Parabolic SAR parameters;
- useStdFilter - allow filtering by the StdDev indicator;
- stdFilterTimeFrafe, stdFilterPeriod, stdFilterLevel, stdFilterMethod, stdFilterPrice - StdDev parameters;
- useMacdFilter - allow filtering by the MACD indicator;
- macdFilterTimeFrafe, macdFilterFast, macdFilterSlow, macdFilterSignal, macdFilterPrice - MACD parameters;
- CustomEventBuy,CustomEventSell - custom buy and sell events;
- timeStart,timeEnd - trading start and end hour;
- slippage - slippage;
- MAGIC - identifier;
- useMail,useNotification - email and push notifications;
- messageText - message text;
- TesterAutoTradeWeek - automatic daily buy signal in the strategy tester;
- useButton - output the Buy/Sell buttons on the chart;
- pendingReversClose - remove pending orders when an opposite signal is received;
- pendingMinMax - place pending sell orders above the previous ones, and buy orders - below.
联系方式
公司:顺水的鱼外汇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

