Description
This cBot will close a basket of open trades on a specific cross (eg EURUSD or USDJPY, etc.) that are simultaneously present in the same account.
When the collective net profit of all open trades, as defined by label, reaches a profit threshold a virtual trailing profit stop is triggered.
Open trades are closed in profit when the virtual stop is breached.
Parameters
Before running the cBot, the following parameters need to be set up.
The cBot Label parameter should match the label that the cBot opens its trades with, if it exists otherwise leave blank.
The Currency Pairs parameter is a text box that can be filled with an unlimited number of valid symbol names e.g. “USDJPY, EURUSD, AUDJPY, NZDJPY, GBPUSD”.
Spaces are stripped and invalid codes are skipped with an error message.
The "Net € Profit Trigger" value, a virtual trailing stop is activated which will always be at value of "% Loss (of Profit Trigger)" euros below the maximum profit reached for this batch of open trades.
Support:
If you need this cBot you can contact me via telegram here: telegram
The cost of this cBot is € 200 which you can pay with Paypal at the address that communicates to you.
using cAlgo.API;
namespace cAlgo
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class ObiriecCloseProfit : Robot
{
protected override void OnStart()
{
string msg = "If you need this cBot you can contact me via telegram here: http://t.me/Obiriec";
string msg2 = "The cost of this cBot is € 200 which you can pay with Paypal at the address that communicates to you.";
ChartObjects.DrawText("botcomment", msg, StaticPosition.TopLeft, Colors.Red);
}
}
}
Obiriec
Joined on 08.03.2019
- Distribution: Paid
- Language: C#
- Trading platform: cTrader Automate
- File name: Obiriec Close Profit.algo
- Rating: 0
- Installs: 742
- Modified: 13/10/2021 09:54