Trabalho concluído
Termos de Referência
I would like to have a copier which will work on MT5 with the following specs. Happy to discuss specs in case needed.
Specs
Multiple sender to multiple receiver
Sender
===== General_Settings =====
Always show all the following information on the chart screen. As this is a copier, we don’t need to display any chart, but we will use the chart to display the sender information.
Sender_Channel
[text field] (default “Reverse Copier”)
Sender_Status
[dropdown] (default Enabled), (Value=Enabled, Disabled), (Label: Sender status:)
Enable = allow copy to receiver, disabled = do not copy anything to any receiver.
Sender_Name
[text field] (Label: Sender:)
Sender_BackgroundColor
[color picker] (default 19,23,34)
Sender_LabelColor
[color picker] (default Gold) (text color)
Connection_Status
[true/false] (default true), (Label: Connection status:)
Receiver status
[text field] (Label: Receiver connected:)
Show the number of connected receiver.
Comment
[text field] (Label: Comment:)
Receiver
===== General_Settings =====
Sender_Channel
[text field] (default O-Reverse)
Receiver_Name
[text field] (Label: Receiver:)
Always show on this on the chart.
Receiver_Status
[dropdown] (default Enabled), (Value=Enabled, Disabled, Ignore new orders), (Label: Receiver status:), (always show the status on the chart)
Enabled=copy everything, Disabled=stop everything, Ignore new orders=just copy close/delete open orders, no new orders.
ForexSymbol_Suffix
[text field]
ForexSymbol_BlackList
[text field] (default empty)
Ignore symbols in the black list.
ForexSymbol_WhiteList
[text field] (default empty)
Copy only symbols which are in the white list and ignore the rest.
CustomSymbolMapping
[text field] (default empty)
===== Signal_Conditions =====
DoNotCopy_SL/TP
[true/false] (default true)
SL/TP information will not be copied from sender orders.
Copy_LastOpenOrdersNumber
[number field] (default 0 = disabled)
If > 0, copy number X of open order from sender.
Copy_IgnoreOpenOrdersOlderThanMinutes
[number field] (default 0 = disabled)
If > 0, ignore open order from sender that are older than X minutes.
Ignore_ModifyOrders
[true/false] (default false)
If enabled, do not copy modify orders from sender.
Ignore_Close/Delete
[true/false] (default true)
If enabled, do not copy close / delete orders from sender.
===== Slippage_Management =====
AllowSlippagePips
[number field] (default 2)
Allow slippage of max X pips.
NewOrderExpirationMinutes
[number field] (default 30, 0 = disabled)
New order needs to be filled in X minutes. After that, they expire.
===== Volume Management =====
VolumeType
[dropdown] (default Lot size multiplier), (Value=Disabled, Use fixed lot, Lot size multiplier)
VolumeAmount
[number field] (default 0)
To be used in combination with VolumeType.
ReverseOrders
[true/false] (default false)
Reverse orders from sender. Buy is copied as sell and sell is copied as buy.
ReverseConfirmationPips
[number field] (default 0 = disabled)
Works only if ReverseOrders = true. Wait for the confirmation, that the sender direction is wrong, i.e. the sender is loosing money before opening new orders. Open price in the receiver should be at least X pips different from the sender. Example: ReverseOrders = true, ReverseConfirmationPips = 2, sender BUY with open price $1.1920, then the open price for the SELL on the receiver should be $1.1918 or lower. As long as the price goes in favor of the sender (in our example the price would raise higher than $1.1920), do not copy the order.
Start_FromSenderOrderNumber
[number field] (default 1)
Start_FromSenderOrderNumber is the number of open orders on the sender which the receiver should start to copy (until Max_OpenOrders is achieved).
Example: Start_FromSenderOrderNumber = 1 and Max_OpenOrders is 3, then the receiver should copy the order numbers 1 to 3 from the sender. In case the sender is opening 10 additional orders, even if all receiver orders are closed again, do not copy orders. Only when the sender has closed ALL orders and then starts again from order number 1, the receiver will start again to copy orders.
Max_OpenOrders
[number field] (default 2)
Max number of open orders per receiver.
StopLossType
[dropdown] (default Trailing Stop Loss), (Value=Trailing Stop Loss, Fix Stop Loss)
Sets the type of stop loss to use.
StopLossPips
[number field] (default 0 = disabled)
If enabled, set SL in pips. Works only in combination with StopLossType.
TrailDistancePips
[number field] (default 0 = disabled)
If enabled, set pips which will affect the trailing stop loss to move with the price. Works only in combination with StopLossType = Trailing Stop Loss. Example: 0.1 = would move the trailing stop loss every 0.1 pips, 1 = every 1 pips move of the price, etc.
TakeProfitPips
[number field] (default 0 = disabled)
If enabled, set TP in pips.
===== Receiver_Display =====
As this is a copier, we don’t need to display any chart, but we will use the chart to display the copier information.
Receiver_BackgroundColor
[color picker] (default 19,23,34)
Paint the whole chart with this background color.
Receiver_LabelColor
[color picker] (default Gold)
The color of the text.
Connection_Status
[true/false] (default true), (Label: Connection status:)
VolumeType_OnScreen
[true/false] (default true), (Label: Volume type:)
VolumeAmount_OnScreen
[true/false] (default true), (Label: Volume Amount:)
ReverseOrders_OnScreen
[true/false] (default true), (Label: Reverse:)
ReverseConfirmationPips_OnScrenn
[true/false] (default true), (Label: Reverse confirmation pips:)
Start_FromSenderOrderNumber_OnScreen
[true/false] (default true), (Label: Start from sender order number:)
Max_OpenOrders_OnScreen
[true/false] (default true), (Label: Max open orders:)
StopLossType_OnScreen
[true/false] (default true), (Label: Stop loss type:)
StopLossPips_OnScreen
[true/false] (default true), (Label: Stop loss pips:)
TakeProfitPips_OnScreen
[true/false] (default true), (Label: Take profit pips:)
===== Notification =====
Receiver_StatusChange
[true/false] (start, stop, errors)
Connection_StatusChange
[true/false] (errors, working)