I was working on a MQL5 program to draw lines and arrows on the chart.
But MetaTrader has a limitation of a minimum timeframe of 1 mins. Therefore I cannot get a finer granularity than M1. If you make positions multiple times within one minute, MetaTrader’s visualization is not great.
But CTrader came with multiple chart types, e.g.
Also because I need to test some instruments that are only available in CTrader, So I really would like to also do that on CTrader.
I had no previous experience with CTrader drawing API (actually also little for MQL5), therefore I was asking ChatGPT.
This “guy” nailed it.
Here is an example of the conversation. The ChatGpt was able to convert MQL5 code from Mql5 to C# in no time
Although after I pasted code to the VSCode IDE, there seems to be some errors.
Those error are very apparently and I can fix easily on my own
Other codes are legit and it works like a charm. I can enjoy the finer granularity chart using CTrader as a graphical frontend.
风险提示:本文所述仅代表作者个人观点,不代表 Followme 的官方立场。Followme 不对内容的准确性、完整性或可靠性作出任何保证,对于基于该内容所采取的任何行为,不承担任何责任,除非另有书面明确说明。
加载失败()