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 同意其说法或描述,也不构成任何投资建议。对于访问者根据 FOLLOWME 社区提供的信息所做出的一切行为,除非另有明确的书面承诺文件,否则本社区不承担任何形式的责任。
FOLLOWME 交易社区网址: www.followme.asia
加载失败()