For those of you using MC, is anyone using MC .Net? I've used both for different reasons and continue to do so, though lately been spending more time with the .Net version.
How good is MC auto trading logic by default, say MA Cross LE and SE with stop loss in 1, 5 , 15 minutes chart? And MACD LE SE too. Everythime I ran the report, it is losing money, therefore never use it nor even tried.
now that AI can convert powercode to .NET i have been thinking about converting one on my MC licenses to .NET version of MC.
I gave the conversion a try with Chat GPT. It gives it a go, but it's not a complete conversion. Might be a good start.
with the paid subscription you can cut copy paste into it for training. just keep doing that for about a week and it will get the hang of what you're doing. also keep referencing the platform multicharts, .net and powerlanguage it will help alot. mine writes perfect code now after about a month.
As discussed, you have to accommodate the execution engine (live) and the backtesting engine. The best way to start is use the Union or intersetion of the two's functionality That union is at the "end of a bar evaluation" that occurs for both engines. So you can get reasonable matchups. Of course this is a design limitation for the strategy, but not a deal killer, imo. A lot of problems are solved with barstatus = 2 (is true) which means the last tick of the bar. Things outside the union are all the SetXYZ commands. E.g. SetProfit, SetStop etc. These behave in different ways because live the order is being held by MC and or the broker as a live order. In backtesting, it tries but often fails. One can see this when an order is executed mid bar either from one of the SetXYZ commands, or as a limit order. Often you can run the backtest engine and it COMPLETELY, misses something that should be executed mid bar or becomes true mid bar, AND remains true at the end of bar. But when you add an explicit "last tick in bar = true) it works. I just fixed a couple of these last night. It was 1 of 355 trades over 2 years. A trade when to a wide SL, instead of exiting is a smaller loss. Hope this helps. Much has been discussed on this.
Hi Mark, I will be VERY interested in the .net port. In particular all the execution behavior as posted about before. I am about to start a port myself, but want to get a couple more signals going live first.