Topics
Replies
PanagiotisCharalampous
02 Aug 2022, 14:47
Hi swingfish,
Algo settings have no more "reset/default" feature, the only way to get the defaults is to unload and reload the algo from the chart.
Can you please clarify what do you mean here?
cAlgo
ChartObjects.DrawText with 0.1 size doesn;t always show up for some reasonStaticPosition.TopRight seems to be ignored (its always at the left)
ChartObjects.DrawText that plot's in the future doesn;t show
We were not able to reproduce the above. Can you share some code where this happens?
most algoss are EXTREMLY Slow, and just do not run sub functions without reason or output
We are looking into performance reports but if you can share something specific, it would be helpful.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 11:35
Hi goodday,
- Can you please provide us with a complete cBot, broker and symbol where we can reproduce this?
- We will fix this
- We will fix this
- We won't change this. Green comments are pretty standard.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 10:49
Hi there,
The code should be
PlaceLimitOrder(TradeType.Buy, SymbolName, 2000, Bars.High.Last(1),"myLimitOrder");
but it will not work since you cannot place buy limit orders above the market price. It needs to be a stop order.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 10:07
Hi MongolTrader,
Here is a starting point
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.None)]
public class NewcBot2 : Robot
{
private int _tickCounter;
protected override void OnStart()
{
// To learn more about cTrader Automate visit our Help Center:
// https://help.ctrader.com/ctrader-automate
Timer.TimerTick += Timer_TimerTick;
Timer.Start(60);
}
private void Timer_TimerTick()
{
_tickCounter = 0;
}
protected override void OnTick()
{
// Handle price updates here
_tickCounter++;
Print(_tickCounter);
}
protected override void OnStop()
{
// Handle cBot stop here
}
}
}
Best Regards,
Panagiotis
Join us onTelegram andFacebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 09:22
( Updated at: 21 Dec 2023, 09:22 )
Hi there,
It works fine for me.
Did you check the logs. Anything weird there?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 09:20
Hi MongolTrader,
You can create a counter that counts how many times OnTick() has been invoked and reset it every minute. You can use the Timer for this.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 08:41
Hi Renegade,
You need to debug your algo, check why the exception is thrown and fix it.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 08:38
Hi AlexC,
You can change your equity stop loss here
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 08:33
Hi TheNiatpac,
Thanks for reporting this. We will check it and fix it.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 08:31
Hi Vibra,
Thanks for reporting this problem. We managed to reproduce it and we will have a look at it.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 08:17
Hi swingfish,
We were not able to reproduce this behavior. Can you please provide us with the following?
- Troubleshooting information with a link to this page.
- Your GPU.
- Please advise what exactly do you do at 0:22 of the video.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
02 Aug 2022, 08:10
Hi there,
Do you build your code in VS in Debug mode?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
01 Aug 2022, 16:10
Hi there,
We managed to reproduce the issue and it will be fixed soon.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
01 Aug 2022, 15:44
Hi there,
Please send us some troubleshooting info and quote the link to this discussion.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
01 Aug 2022, 15:40
Hi Vasile,
We do not set the period in ProtoOATrendbar when responding to ProtoOAGetTrendbarsRes. Make sure this is not set by your decoder.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
01 Aug 2022, 15:27
( Updated at: 01 Aug 2022, 15:28 )
Hi CJF-Trading,
If the issue persists please send us some troubleshooting info quoting the link to this discussion.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
01 Aug 2022, 15:23
Hi ncel01,
These are old strategies since the time 50% was allowed.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
01 Aug 2022, 14:51
Hi there,
If the issue persists please send us some troubleshooting info and quoting the link to this discussion.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
01 Aug 2022, 14:51
Hi there,
Do you still experience this issue?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
03 Aug 2022, 09:09
Hi AlexC,
If you set the value to the maximum, then practically it is removed.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous