So in the last few weeks I have dealt more intensively with machine (deep) learning and can also create simple neural networks, but I have problems when I want to use tensorflow because I cannot get the corresponding NuGet packages integrated into multicharts.net . I suspect that this is also due to the outdated framework of 4.0. Unfortunately, my question in the Multicharts.net forum is still unanswered. In general, from what I've read, tensorflow should be the best choice for doing deep learning. Of course, python requires extensive libraries but is generally slower with tensorflow.net you retain the performance and an extensive library. An alternative would also be ml.net, but this does not leave as much scope for your own extensive developments, but is very beginner-friendly. But I have no idea whether the Ml.net integration will work seamlessly. Currently, the highest priority for multicharts net should still be to upgrade their framework to 4.8 in order to be able to use current libraries and to take advantage of newer coding libraries. In general, I still miss effective interfaces to other functions (such as the quote manager or the built-in optimization function). Unfortunately, you are really almost limited to developing indicators, or you have to take numerous detours. I would like to see a more open codebase/interfaces here.
Hey HellGhostEvocatorX
I have been through the same tiring excercise. ML.net wont work with MC.net because MCnet is built on .net framework 4.0 whereas ML.net requires .net Standard 2 + or .net Framework 5 and above if im not mistaken.
I was first calling Tensorflow from using tensorflow.net, numpy.net and all the .net supported packages via Multicharts.net but I would constantly run into Errors. FYI all the above .net packages are actually using C# and then calling Python.net and then calling the respective package such as tensorflow,numpy etc via Python.net
Finally I resorted to using the Python.net Package. You can call Python.net from Multicharts.net but you will again run into issues when you import packages like tensorflow, and numpy due to multi threading.
So now finally, I have a Multicharts.NET Python Class which allows you to call Python.NET succesfully. You can import any package you like from python and directly write the code inside Multicharts.Net Editor as if you are writing Python.
Ofocurse since I am a proffesional programmer and trader I am willing to sell the class and provide programming support and I can share the class with sample scripts. DM me if this of interest to
Thanks, I thought it was the framework.
I actually tried to integrate the other frameworks, but as written, without success.
Unfortunately, I don't know Python, even though it's on my long to-do list to learn it, so I don't know if the class you wrote would be right for me...
As written, I can write neural networks directly in C#, but these are then executed on the CPU, with Tensorflow they would be executed on the GPU. Since I don't know how to program graphics cards, the idea was to use Tensorflow There is also a .net library for this.
However, your written class should be very interesting for those who like to write in Python.
I would also be interested in your code, but only for learning purposes.
somewhat offtopic:
Since you are a professional programmer, I would be interested to know how you structure your code overall in multicharts.net?
1. you can't create direct class files (only via the Powerlanguage editor as an "empty" signal file) - that's so annoying...
2. mutlicharts.net uses signals and indicators and functions.
Signals to generate buy orders, indicators for drawings. I never actually use functions because they only have a limited number of possible return types - so I'd rather just write a method myself. Do you use these? Do you let your indicators and signals communicate? if yes how? -via global variables?
I would somehow like something more like the Model-view-model (MVVM) pattern, instead of a separate distinction between indicator/signal. In my opinion, functions are unnecessary.
Overall, I try my classes roughly in data preparation, data storage, drawings, purchase signals,
Logic (the actual calculation).
For very simple logic, the structure as specified in Multicharts.net is of course sufficient. For more complex logic, I don't think the current structure is that good - but maybe because I'm not a professional programmer and am missing something.
I'm currently working a lot on "best practice" and clean code, various design patterns, so the questions mentioned above come to mind.
Do you program complex logic and how/according to which system do you divide your code?