Topics
Replies
Shares4UsDevelopment
13 Nov 2020, 15:41
RE:
Code was OK.
Just needed to create new project with same source and restart ctrader and it worked.
Sorry I did not mentioned that before (Bit too busy i think)
@Shares4UsDevelopment
Shares4UsDevelopment
13 Nov 2020, 14:25
RE:
Restarting cTrader did not help.
Copying the bot (duplicate function) did not help.
Copying the source of the bot and pasting it in a new bot, deleting the original bot and renaming the new Bot to the original name solved the problem .
Don't no Why! but it just worked.
@Shares4UsDevelopment
Shares4UsDevelopment
13 Nov 2020, 13:19
RE: RE:
if (_1hstoch2.PercentK.LastValue > 80)
if ( Symbol.Ask < (NewIndicator, per, 38,2))
ExecuteMarketOrder(TradeType.Buy, Symbol, Volume, "bot", StopLoss, TakeProfit);
Can't say without seeing the indicator code!
@Shares4UsDevelopment
Shares4UsDevelopment
13 Nov 2020, 08:14
RE: RE:
and if you want to fill the result but not display it, set the color to transparent. ("00000000")
@Shares4UsDevelopment
Shares4UsDevelopment
12 Oct 2020, 10:28
RE: RE: RE: RE:
@firemyst said:
In defense of @Panagiotis and @Spotware:
I never mentioned Panagiotis? And I was not attacking Spotware I was trying to help them in getting a smooth bug-free system.1) they have had EMAs, SMAs, and RSI in cTrader for years with no reported problems/issues. You're one person who has reported an issue out of thousands who use those indicators in their bots without any issues (myself included)
If one sees an issue and others don't it is unwise to state it is not there.
I've reported a severe error once before that no one was aware of (check http://ctrader.com/forum/calgo-support/23156) which resulted in a Spotware hotfix three weeks later, there the effort of stripping a bot was smaller than coding around it!
It looks like we're heavy users, stretching the platform to boundaries unknown ;-)2) how do you know your replicated-indicators that you wrote are correct? They might not throw an error, but that doesn't prove they're right/working/calculating values correctly.
Come on, are you real?? RSI and MA's are no rocketscience!
I got the Spotware RSI and MA's out and wrote my own, now the Bot works. Need I say more!3) your boss is wrong when he/she says, "it affects many". Obviously not if you're the only individual who has ever reported the problem.
If one sees an issue it is unwise to state it is not there because no one else is affected by it just for the reason that they not see nor care.So it gets back to the point you need to write simplified code to prove there's an issue with cTrader since nobody else is/has.
I'll go with my Boss. He pays the bill!@PanagiotisCharalampous said:
It also sounds weird that you get time to rewrite the indicators but you don't get time to share the code with us, even privately, or write a simple cBot that reproduces the problem.
Writing 2 MA's and one RSI did not take long and it's all in 1 loop now, did not even had to spawn it.
Stripping a bot to code that throws the error but is clean enough to send into the world with permission of the company would have taken much longer. Furthermore a Non-Disclosure agreement prohibits me from sharing any code without prior company consent.
But, as I feel now, the best way is not to report errors anymore if you're prohibited from sharing your code.
In our company we're glad with every error that is reported and the time our customers spends in reporting them is valuated and appreciated. We ask them to help us if they can and reward them for it, but if they can't we understand that, they're in the money business, not in development, and it's our error, either in shielding the software from erroneous use or in our code. So it is our problem to solve.
@Shares4UsDevelopment
Shares4UsDevelopment
12 Oct 2020, 08:20
RE: RE:
So you can't provide the cBot code, but you should be able to provide code that reproduces the problem.
Are you able to do that?
Sorry I don't get time to do that.
Bossman says: "Point them to the error, but spend no time helping them to solve it, you've got other things to do.
It's their problem not yours. Just write your own indicators. If that works you've proven the error and let them solve it.
If they have an error in something as basic as an rsi or ema they need to solve it fast because it affects many and it
points at bad programming/testing in the platform."
And actually I understand his point of view. He's not in the business of helping Spotware but in the business of writing code.
@Shares4UsDevelopment
Shares4UsDevelopment
17 Sep 2020, 16:34
RE:
Would be nice and helpfull if you'd state the errors
@Shares4UsDevelopment
Shares4UsDevelopment
17 Sep 2020, 16:29
RE:
cTrader Code is easier readable and easier to structure.
MT4 (i also write bots for MT4/5) is one big heap of buffer Spagethi and Enums which was the norm about 20-25 year ago (before OOP)
So better try cTrader if you will have to learn from scratch, it's easier and more flexible.
@Shares4UsDevelopment
Shares4UsDevelopment
19 Jun 2020, 11:48
RE: 4.8!!!
How much can you lag??
We're on 4.8 now!
But net core is OK too i guess!
Any ETA?
Change status to started???
@Shares4UsDevelopment
Shares4UsDevelopment
24 Apr 2020, 18:17
RE:
I'ts an internal cAlgo error, can't strip the bot to an acceptable sample
@Shares4UsDevelopment
Shares4UsDevelopment
13 Apr 2020, 10:57
It's reasonably reliable only not when you use indicators that go back an x number of bars.
The indicatorvalues will be NAN in the backtest and the right value in life.
So -- DO NOT RELY ON cTrader BACKTESTS -- if your using these types of indicators.
For some weird reason Spotware blocked the load history function in backtest.
So untill they've seen the light there be Cautious.
@Shares4UsDevelopment
Shares4UsDevelopment
13 Apr 2020, 10:41
RE: automation
genappsforex said:
lots calculate also in automate
agree
@Shares4UsDevelopment
Shares4UsDevelopment
30 Mar 2020, 09:42
RE:
Hi Panagiotis
I did not say i didn't want the message!
But if i get the message: Once is enough and it at least give the correct message (connection lost)!
@Shares4UsDevelopment
Shares4UsDevelopment
30 Mar 2020, 08:38
Save Optimisation results
Or even better: Automatic save of completed threads and reload when not completed the last time.
@Shares4UsDevelopment
Shares4UsDevelopment
23 Mar 2020, 16:08
RE:
I guess it'll fail on any date and any pair just run buy once and sell once one these times it will fail
@Shares4UsDevelopment
Shares4UsDevelopment
23 Mar 2020, 14:40
RE: Statistics drawdown error bot
Shares4UsDevelopment said:
this one is for the drawdown error
using System; using System.Collections.Generic; using cAlgo.API; using cAlgo.API.Requests; using cAlgo.API.Internals; using System.IO; namespace cAlgo { [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class Test : Robot { [Parameter("p1", DefaultValue = TradeType.Buy)] public TradeType tt { get; set; } protected override void OnStart() { ExecuteMarketOrder(tt, SymbolName, 1000, "", 100, 10); ExecuteMarketOrder(tt, SymbolName, 2000, "", 100, 10); } } }
do not have time to strip a bot to show the other error but the error is obvious i think.
Jus found out the second error also occurs when equity gets negative.
@Shares4UsDevelopment
Shares4UsDevelopment
23 Mar 2020, 14:30
Statistics drawdown error bot
this one is for the drawdown error
using System;
using System.Collections.Generic;
using cAlgo.API;
using cAlgo.API.Requests;
using cAlgo.API.Internals;
using System.IO;
namespace cAlgo
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class Test : Robot
{
[Parameter("p1", DefaultValue = TradeType.Buy)]
public TradeType tt { get; set; }
protected override void OnStart()
{
ExecuteMarketOrder(tt, SymbolName, 1000, "", 100, 10);
ExecuteMarketOrder(tt, SymbolName, 2000, "", 100, 10);
}
}
}
do not have time to strip a bot to show the other error but the error is obvious i think.
@Shares4UsDevelopment
Shares4UsDevelopment
17 Mar 2020, 11:03
RE:
PanagiotisCharalampous said:
Hi Shares4UsDevelopment,
Can you provide a simple cBot that will allow us to reproduce this on cTrader Beta?
Best Regards,
Panagiotis
I'll try to strip the companies libraries from it and create a bot that reproduces.
Update : I've sent it to you!
@Shares4UsDevelopment
Shares4UsDevelopment
15 Jul 2021, 10:02
RE:
checkout the
group they maintain a Strategy Comparison Sheet (see pinned message)
@Shares4UsDevelopment