
Topics
Replies
PanagiotisCharalampous
14 May 2020, 08:45
Hi ikozelkov,
You can find the explanation here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2020, 08:42
Hi sunnywilsonstore,
No this is not possible at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2020, 08:40
Hi bienve.pf,
Can you please provide more information about this issue like the symbol and a cBot to reproduce it?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 14:31
Hi morassut.s,
I forgot to mention that we will fix it in v3.8 :).
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 14:23
Hi there,
No there is no such option at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 14:18
Hi equantfx,
Thanks for your proposal. We will consider changing this in a future update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 14:16
( Updated at: 21 Dec 2023, 09:22 )
Hi morassut.s,
This behavior is caused by the setting below
If you uncheck it, it should stop doing this.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 14:13
Hi Symposium,
Here it is
using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;
/*
GlobalTP+ 0.22.1
Mario Hennenberger http://www.swingfish.trade/tools
terminates ALL open Positions and delete ALL Pending Orders of the Net Profit is reached
ToDo:
- use percentages or absolute targets
- switch between ALL and the current Product/Pair
Lizense:
Creative Common - you are REQUIRED to mention me or swingfish.trade if you re-publish this.
get Updates:
- https://ctdn.com/algos/cbots/show/1664
- http://swingfish.trade/tools
Changes:
- remove cents display
- better text and display equity
- reset equity OnTick
- bug in calculating the total equity
- use net instead of Gross
- convert api names to new version
*/
namespace cAlgo
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class GlobalTPPlus : Robot
{
[Parameter(DefaultValue = 0.0)]
public double CashTarget { get; set; }
protected override void OnStart()
{
// Put your initialization logic here
}
protected override void OnTick()
{
closeWhenTarget(CashTarget);
ChartObjects.DrawText("CashTarget0", "Target: $" + CashTarget + " " + Account.Currency + " | Dist: " + Math.Round((Account.Equity - Account.Balance - CashTarget), 0) + " | Equity: $" + Math.Round((Account.Equity), 0), StaticPosition.TopLeft);
}
protected override void OnStop()
{
// Put your deinitialization logic here
// will put a log here .. need to figure out how that works
}
private void closeWhenTarget(double target)
{
double profit = 0;
foreach (Position p in Positions)
profit += p.NetProfit;
// when profit is negative, we're done
if (profit < target)
return;
// target is reached
foreach (Position p in Positions.Where(x => x.SymbolName == Symbol.Name))
ClosePosition(p);
// close all pending orders
foreach (PendingOrder o in PendingOrders)
CancelPendingOrder(o);
// go sleep
Stop();
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 14:08
Hi goharlkhilji,
Can you please tell us the strategy name and post some screenshots showing that the position is closed on the strategy provider's account but still open on the subaccounts?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 13:00
Hi lordyy,
Here it is.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 12:12
Hi morassut.s,
I cannot reproduce such a behavior. Can you share a video with us demonstrating this so that we can see the exact steps you follow and see what you are seeing as well?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 11:58
Hi morassut.s,
I deleted it because it was not a suggestion but a question. Please post it in the correct topic.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 11:48
Hi share.axp,
There in no ETA for this feature at the moment. Demo account based strategies do not allow charging fees.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 11:46
Hi Artur,
Can you please send us your password at community@spotware.com so that we can reproduce this issue?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 11:44
Hi stannekuba,
No this is not possible. There is no such layout available.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 10:05
Hi ZuniSoft,
Just use the Group attribute. See below an example
[Parameter("Enabled", Group = "Take Profit 1", DefaultValue = false)]
public bool TakeProfit1Enabled { get; set; }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 10:03
Hi Valter,
If you need somebody to develop this cBot for you, you can contact a Consultant or post a Job.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 10:00
Hi Marek,
cAlgo converters are not managed by Spotware hence we cannot help you much with this.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2020, 09:57
Hi there,
Pepperstone does not offer cTrader Copy at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2020, 08:47
Hi lordyy,
This information is not available at the moment for symbols.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous