Topics
Replies
PanagiotisCharalampous
03 Dec 2024, 08:10
Hi there,
I just tested it and the results are identical
There is probably something wrong in your configuration that we cannot see. Please check a bit more.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 07:48
Hi there,
Can you please explain the issue a bit better? I am not sure what I am looking at.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 07:46
Hi there,
Can you please share the complete code so that we can investigate?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 07:43
RE: RE: RE: Tp parziali e Breakeven annullati a distanza di qualche ora in automatico
sgorlon94 said:
sgorlon94 said:
Buongiorno, avete per caso avuto modo di verificare e/o sistemare?
Grazie in anticipo
Saluti
PanagiotisCharalampous said:
Hi there,
Thank you for reporting this issue. Could you please send us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.
Best regards,
Panagiotis
Ok, ho appena seguito la procedura del video e mandato in questo momento la richiesta. Purtroppo nella schermata non c'era il pulsante per essere ricontattato, ma ho scritto in quel messaggio che se ce n'è bisogno mi potete contattare per eventuali ulteriori comunicazioni in merito a questo problema.
Grazie
Saluti
Hi there,
The issue is under investigation.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 07:40
RE: RE: Export history of deals in Copy Trade Account
StuFX said:
PanagiotisCharalampous said:
Hi all,
This is already available in Spotware cTrader Beta. See below
Best Regards,
Panagiotis
Hi There,This is no longer available in cTrader Copy as it does not appear on my desktop version 5.0.46?
Hi there,
You can access this through https://app.ctrader.com/copy/
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 07:37
Hi there,
What is your account's currency? The net profit printed in the log is in your account's currency while the screenshot shows the net profit in $
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 07:29
Hi there,
Are you sure this is for XAUUSD? The symbol id for XAUUSD on most brokers is 41. Who is your broker?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 07:23
Hi there,
In tag 55, you need to use the FIX Symbol ID and not the symbol name
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 07:13
Hi there,
Please share the code you are using to print these values.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 08:39
RE: RE: Synchronise drawings from one desktop instance to another?
Mmmk said:
PanagiotisCharalampous said:
Hi there,
If you just want to use cTrader on different devices, you can use workspaces. But if you need the synchronization to happen in real time, this is not possible.
Best regards,
Panagiotis
So If I have ‘drawings’ on a chart in a desktop environment, there is no way to copy that across to another desktop environment (on another computer), even via export/import or something?
There isn't unfortunately
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:59
RE: RE: Indicators kept disappearing, may i know why?
austancelxh said:
Hi may I know if its fixed? Problem kept occuring, making it hard to do analysis.
No it has not been fixed yet.
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:58
Hi there,
Indeed, this indicator is not available on cTrader desktop.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:57
RE: RE: Market replace
martin.myinvestments said:
PanagiotisCharalampous said:
Hi there,
Market replay is still not available for Mac. You should be able to adjust your application scale in Settings>General.
Best regards,
Panagiotis
Any idea when it will be available for mac?
We do not have an ETA at the moment
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:56
RE: RE: the optimization results - are these credible enough?
jcr1818 said:
PanagiotisCharalampous said:
Hi there,
Please provide us with more information on how to reproduce this problem. Share your cBot code, cBot parameters, dates and broker and explain to us what you expected to see and what you see instead.
Best regards,
Panagiotis
In this example I use following from the c-trader cbot system: SAMPLE RSI CBOT.
Data ticks: EURUSD 1 HOUR: Optimisation settings: TF 1 hour. Quantity: 1 lot. Source: Close. Periods: min: 5 max 20 and step 1.
Optimisation Criteria: Standard. Max netto profit. Min equity DD (%) and Max winnings trades.
Test period: 30.10.24 - 30.11.24
The system shows: AUTOSELECT THE BEST PASS: = 14. Netto profit: = 2773,72. Trades 27 etc.
Then I import the result and backtest it without changing nothing. Now the netto results shows me just 380,75 + 1 open position = 225,33 (euro)
What do I wrong?
Code:
// -------------------------------------------------------------------------------------------------
//
// This code is a cTrader Automate API example.
//
// This cBot is intended to be used as a sample and does not guarantee any particular outcome or
// profit of any kind. Use it at your own risk.
//
// All changes to this file might be lost on the next application update.
// If you are going to modify this file please make a copy using the "Duplicate" command.
//
// The "Sample RSI cBot" will create a buy order when the Relative Strength Index indicator crosses the level 30,
// and a Sell order when the RSI indicator crosses the level 70. The order is closed be either a Stop Loss, defined in
// the "Stop Loss" parameter, or by the opposite RSI crossing signal (buy orders close when RSI crosses the 70 level
// and sell orders are closed when RSI crosses the 30 level).
//
// The cBot can generate only one Buy or Sell order at any given time.
//
// -------------------------------------------------------------------------------------------------
using cAlgo.API;
using cAlgo.API.Indicators;
namespace cAlgo
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None, AddIndicators = true)]
public class SampleRSIcBot : Robot
{
[Parameter("Quantity (Lots)", Group = "Volume", DefaultValue = 1, MinValue = 0.01, Step = 0.01)]
public double Quantity { get; set; }
[Parameter("Source", Group = "RSI")]
public DataSeries Source { get; set; }
[Parameter("Periods", Group = "RSI", DefaultValue = 14)]
public int Periods { get; set; }
private RelativeStrengthIndex rsi;
protected override void OnStart()
{
rsi = Indicators.RelativeStrengthIndex(Source, Periods);
}
protected override void OnTick()
{
if (rsi.Result.LastValue < 30)
{
Close(TradeType.Sell);
Open(TradeType.Buy);
}
else if (rsi.Result.LastValue > 70)
{
Close(TradeType.Buy);
Open(TradeType.Sell);
}
}
private void Close(TradeType tradeType)
{
foreach (var position in Positions.FindAll("SampleRSI", SymbolName, tradeType))
ClosePosition(position);
}
private void Open(TradeType tradeType)
{
var position = Positions.Find("SampleRSI", SymbolName, tradeType);
var volumeInUnits = Symbol.QuantityToVolumeInUnits(Quantity);
if (position == null)
ExecuteMarketOrder(tradeType, SymbolName, volumeInUnits, "SampleRSI");
}
}
}
Are the backtesting settings the same (dates, source, commissions etc)?
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:54
Hi there,
You cannot distribute algos without source code.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:52
RE: How in ctrader make indicator position right to price axis
EDG777 said:
not working ;\
Hi there,
Please share your indicator code so that we can help you further.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:49
Hi there,
If you just want to use cTrader on different devices, you can use workspaces. But if you need the synchronization to happen in real time, this is not possible.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:43
Hi there,
OnTick() is a method of a robot, not of a plugin. Same for Bars property. Here is a starting point for handling tick events and accessing bars in a plug in
using System;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
namespace cAlgo.Plugins
{
[Plugin(AccessRights = AccessRights.None)]
public class Test : Plugin
{
Bars _bars;
Symbol _symbol;
protected override void OnStart()
{
// To learn more about cTrader Automate visit our Help Center:
// https://help.ctrader.com/ctrader-automate
_bars = MarketData.GetBars(TimeFrame.Minute);
_symbol = Symbols.GetSymbol("EURUSD");
_symbol.Tick += _symbol_Tick;
}
private void _symbol_Tick(SymbolTickEventArgs obj)
{
Print(_bars.ClosePrices.Last(1));
}
protected override void OnStop()
{
// Handle Plugin stop here
}
}
}
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Dec 2024, 07:25
Hi there,
Can you please explain to us how we can reproduce the problem?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 09:58
RE: RE: Don't receive market data response
forbiz77 said:
Hi there,
Please share the complete FIX message exchange.
Best regards,
Panagiotis
@PanagiotisCharalampous