
Topics
Replies
PanagiotisCharalampous
31 May 2024, 08:11
Hi there,
Can you please share a video demonstrating this behavior?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 08:08
RE: RE: Trouble error when get average Pips of Positions Label where starts with some Prefix
MongolTrader said:
PanagiotisCharalampous said:
Hi there,
This is probably thrown because your Label is null. Always check if Label is not null before you use it.
Best regards,
Panagiotis
My bot always open position with label and also i see there positions with label. Also you can check above code section this code is check whether this position not null.
Then please share the complete cBot code and provide instructions how to reproduce the problem
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 05:52
Hi there,
This is probably thrown because your Label is null. Always check if Label is not null before you use it.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 05:50
Hi there,
This will be added back in a future update.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 05:48
Hi there,
No there is no such option.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 05:46
Hi there,
You need to contact your broker regarding this.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 05:45
Hi there,
I do not understand the problem. Can you please explain with more details?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 05:33
Hi there,
Do you still experience this issue? Did you try a hard refresh(Ctrl+F5)?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 05:31
Hi there,
Does this still happen? Did you try a hard refresh (Ctrl+F5)? Can you share screenshots?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 05:29
RE: RE: RE: ERROR CODE - CT0003 assembly must contain single algo type
hungtrash17 said:
PanagiotisCharalampous said:
Maxlondoner said:
I have the same problem, I choose a new bot, but when I give it the name for a moment everything is ok but immediately after the new name remains only in the list of bots but in the code window NEW BOT reappears and the program gives me an error... .
Hi there,
Can you record a video with the steps you are taking, demonstrating this behavior?
Best regards,
Panagiotis
I have the same error CT0003
Thank you. Please send us some troubleshooting info and quote the link to this discussion immediately after this happens.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 12:44
Hi there,
cTrader automatically connects to the fastest one, you do not need to do this manually.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 06:40
RE: RE: No right click Rename of cbots & indicators in latest update
ncel01 said:
PanagiotisCharalampous said:
Hi there,
This was removed because of complexities with the new synchronization feature. You can duplicate the algo and rename it instead.
Best regards,
Panagiotis
Hi Panagiotis,
That seems to be a fair reason.
In fact this can be easily achieved by duplicating and renaming an instance. Thanks for the tip!
Question: it seems like “In Cloud” is active by default. Can this be changed to “Locally” instead?
Thanks!
We can suggest it :)
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 06:35
Hi there,
You can check the documentation here
https://help.ctrader.com/ctrader-algo/how-tos-index/
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 06:34
Hi there,
Strategy fees cannot be changed while the strategy is running. The strategy needs to be stopped before a strategy provider can do that.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 06:31
RE: RE: MACD showing incorrect information
eliezer_barros said:
PanagiotisCharalampous said:
Hi there,
Please share your cBot code and cBot parameters to reproduce this behavior.
Best regards,
Panagiotis
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
namespace cAlgo.Robots
{
// [Robot(AccessRights = AccessRights.FullAccess)]
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
public class Macdnasdaq : Robot
{
[Parameter("Volume", DefaultValue = 1.00)]
public double VolumeToOpenOrders { get; set; }
[Parameter("Profit", DefaultValue = 30)]
public int TakeProfitInPips { get; set; }
[Parameter("Stop Loss", DefaultValue = 15)]
public int StopLoss { get; set; }
[Parameter("Data Source")]
public DataSeries Price { get; set; }
[Parameter("MACD Period", DefaultValue = 9)]
public int MACDPeriod { get; set; }
[Parameter("Long Cycle", DefaultValue = 26)]
public int LongCycle { get; set; }
[Parameter("Short Cycle", DefaultValue = 12)]
public int ShortCycle { get; set; }
private MacdCrossOver _MACD;
public DirectionalMovementSystem _DMS;
[Parameter("DMS Period", DefaultValue = 9)]
public int DMSPeriod { get; set; }
private const string label = "MACD";
protected override void OnStart()
{
_MACD = Indicators.MacdCrossOver(LongCycle, ShortCycle, MACDPeriod);
_DMS = Indicators.DirectionalMovementSystem(DMSPeriod);
}
protected override void OnBar()
{
var upposition = Positions.Find(label, SymbolName, TradeType.Buy);
var downposition = Positions.Find(label, SymbolName, TradeType.Sell);
Print (" Mac last value " , _MACD.MACD.LastValue, " MAC sinal " , _MACD.Signal.LastValue, " Histogram " , _MACD.Histogram.LastValue);
if (_MACD.MACD.HasCrossedAbove(_MACD.Signal.LastValue,1))
{
if (downposition != null)
{
ClosePosition(downposition);
}
if (upposition == null)
{
ExecuteMarketOrder(TradeType.Buy, Symbol.Name, VolumeToOpenOrders, label, StopLoss, TakeProfitInPips);
}
}
if (_MACD.MACD.HasCrossedBelow(_MACD.Signal.LastValue,1))
{
if (upposition != null)
{
ClosePosition(upposition);
}
if (downposition == null)
{
ExecuteMarketOrder(TradeType.Sell, Symbol.Name, VolumeToOpenOrders, label, StopLoss, TakeProfitInPips);
}
}
}
}
}
Hi there,
You seem to use the LastValue on bar opening. This value changes by the time the bar is closed. Use Last(1) instead.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 06:28
Hi there,
Better ask this question in cMAM's Telegram group
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 06:27
Hi there,
Can you share screenshots demonstrating this bug?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 06:26
Hi there,
There is no such feature in cTrader at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2024, 06:23
RE: RE: RE:
pp1423 said:
Rudy&Claus said:
milanlehovic said:
What kind of bastard can make scam like this? Lost almost 80k. I can’t understand this. When he was making good traders with profit, he was profiting aswell. This was very expensive night.
Well you guys better dont invest in strategies with volume fees and that not passed 3 month of existance. These accounts will likely be blown, just wait for enough data over month and invest in those who are serious.
i mean why people still falling for those scammers.... its the greed of high roi. Be happy with 20-30% and a consistent trader, thats more than you will ever get regulary
Hi, I am New to cTrader, Could you let us know if Volume fees can be made active during the running of strategy, and immediately this scam can happen. Any information is appreciated.
Hi there,
The fees cannot be changed while the strategy is running. It needs to be stopped first.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 May 2024, 08:12
Hi there,
Please provide exact steps on how to reproduce this behavior.
Best regards,
Panagiotis
@PanagiotisCharalampous