Topics
Replies
gonzsanc
27 Sep 2019, 11:44
Hi.
The problem with the symbols is because you start debugging in the wrong way.
The steps are the following ones:
- Check that your indicator or bot IS NOT RUNNING on Ctrader. If it is on any of the open charts, then unload it.
- Select Edit in Visual Studio as explained in the instructions.
- Once Visual Studio is opened, switch to Debug mode as explained and COMPILE.
- After successfully compiling, set your breakpoints. And NOW the thing becomes interesting...
- Go to Debug > Attach to process and attach as explained to Ctrader.exe (this is written in 2019, so if you read this years later, then check if the process has another name then).
- Now you can see that the symbols are not loaded, why? Because YOU ARE NOT RUNNING the indicator/bot on Ctrader.
- Switch to your Ctrader application and load your indicator/bot on any of the charts.
- Now the indicator is running on Ctrader and when it reaches your breakpoint, you will be able to see the stack and all the other stuff.
Therefore, THE MAIN PROBLEM is that when debugging we have forgotten that we need to also start running our bot/indicator with Ctrader itself after we attach the process on VS.
@gonzsanc
gonzsanc
26 Sep 2019, 12:40
Very necessary in my opinion. This is a fundamental feature.
The reason is that tools such as Ctrader are oriented towards technical analysts, and we make very extended use of graphic tools. Otherwise we could just use a web-based trading platform, but instead, we need exceptional graphical tools to quickly map our charts with lines and other types of objects. And that must remain locked by default once we drop it on the chart so that we need to unlock it if we want to modify it later.
I spend a lot of time readjusting stuff that is moved when I try to drag the chart, clone, etc.... My levels are also changed and it is hard to set them afterwards because the references I use are multiple and require attention that I cannot afford to lose from my trading.
@gonzsanc
gonzsanc
12 Oct 2019, 20:28
RE: Scyware Backtest Analyser
Mikro said:
Just to mention that Python (native) has a lot of data analysing extensions. If you use cython or mumba, you can get near-to-c++ speed in your code. Otherwise, it is quite slow.
You basically can use Numpy for fast analysis and Pandas for matrix management.
R is also good, but it is a limited language since it is oriented for statisticians, not for development as Python is.
Then, for advanced statistics, Python is really excellent with packages such as sklearn, Tensorflow or scipy.
The advantage of .Net is that creating GUIs with Python is not really a pleasant task.
However, for most simple maths and stats, .Net's LINQ is enough.
@gonzsanc