Trades Manager
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions
Orders
- CloseallSell
- CloseallBuy
- CloseallOpen
- DeletePending
- DeleteAll: Close All Market Orders and delete all pending orders.
- CheckOpenBuyOrders: return the count of buy orders.
- CheckOpenSellOrders: return the count of sell orders.
- CheckOpenOrders: return the count of market orders.
- ModifyOrder
- DeleteOrder
- CloseOrder
- OpenOrder
Lot Calculation
- Mode 0: Fixed Lot.
- Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate on history orders =0, on current open order=1, when loss=1 ,when profit=0.
- Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate on history orders =0, on current open order=1, when loss=1 ,when profit=0.
- Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate on history orders =0, on current open order=1, when loss=1 ,when profit=0.
- Mode 4: SL/Risk Lot calculate based on stop loss and risk ex balance=1000 -risk =10 -SL=20 then loss is 100$ lot will be 0.50.
- Mode 5: based On Balance Lot calculate based 0.01 for each 1000$.
Partial Close
- close_count: apply partial close X times.
- close_step: apply partial close each X pips in profit.
- close_percent: close X% Percentage of the lot size is counted from initial lot size.
Trailing
- Mode 0: Previous High/Low Trailing.
- Mode 1: Break Even.
- Mode 2: Normal Trailing Mode (Stop/Step).
- Mode 3: Missing Stop place SL to all order if you miss that.
- Mode 4: Missing TakeProfit place TP to all order if you miss that.
Other tools:
- CheckSpread: SpreadFilter return true / false.
- PrintInfo: return simple information as string to use it in comment.
- CheckTime: Time Filter return true / false with information on chart.
- CloseAtPerProfit: close all order when x% profit reach.
- CloseAtProfit: close all order when x$ profit reach.
- CloseAtPerLoss: close all order when x% loss reach.
- CloseAtLoss: close all order when x$ loss reach.
All functions allowed you to control, call any symbol not just chart symbol.
All functions design to detect any error while process and retrying until done.
联系方式
公司:顺水的鱼外汇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

