If you place the cursor on an MQL function and press F1, you will see the reference directly, many with examples to copy and paste - the fastest form to code.
https://www.mql5.com/en/articles/496
https://www.mql5.com/en/articles/100
and for debugging: https://www.metatrader5.com/en/metaeditor/help/development/debug
https://www.mql5.com/en/search#!keyword=cookbook
"Bear in mind there's virtually nothing that hasn't already been programmed for MT4/MT5 and is ready for you - so searching gives better results than AI or ChatGPT!" (Carl Schreiber):
=> Search in the articles: https://www.mql5.com/en/articles
=> Search in the codebase: https://www.mql5.com/en/code
=> Search in general: https://www.mql5.com/en/search or via Google with: "site:mql5.com .." (forgives misspelling)
migrate MQL4 to MQL5: https://www.mql5.com/en/articles/81
Transferring Indicators from MQL4 to MQL5: https://www.mql5.com/en/articles/66
![Quick Start: Short Guide for Beginners Quick Start: Short Guide for Beginners](https://c.mql5.com/36/78/quick-start-short-guide-for-beginne__1.jpg)
- www.mql5.com
Note:I'm using the translation tool. There may be wrong expressions.
please excuse any inaccuracies or unnatural expressions.
Call once in INIT.
MQL 関数にカーソルを置いて F1 キーを押すと、参照が直接表示されます。その多くには、コピーして貼り付けるための例が含まれており、コードを作成するのが最も早い形式です。
https://www.mql5.com/en/articles/496
https://www.mql5.com/en/articles/100
、デバッグ用: https://www.metatrader5.com/en/metaeditor/help/開発/デバッグ
https://www.mql5.com/en/search#!keyword=cookbook
「MT4/MT5 用にまだプログラムされておらず、すぐに使用できるものは実質的に何もないことに留意してください - したがって、検索するとより良い結果が得られますAIやChatGPTよりも!」 (Carl Schreiber):
=> 記事内の検索: https://www.mql5.com/en/articles
=> コードベース内の検索: https://www.mql5.com/en/code
=> 一般的な検索: https://www.mql5.com/en/search または Google 経由: 「site:mql5.com ..」 (スペルミスは許してください)
MQL4 から MQL5 への移行: https://www.mql5.com/en/articles/81
MQL4 から MQL5 へのインジケーターの移行: https://www.mql5.com/en/articles/66
Thank you!
I look at the materials and study.
thank you.
I have a better understanding.
I'm thinking of using handles as function arguments.
I came to the conclusion that there is a possibility of causing an accident if I, an amateur, worry about memory and do fancy coding.
I thought it might be better to use the whole buf, but at my current level of understanding, complex code looks like
Doing so may cause an accident.
Either way, I was relieved because I didn't have to worry about memory.
Thank you very much.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Note:I'm using the translation tool. There may be wrong expressions.
please excuse any inaccuracies or unnatural expressions.
int maHandle = ima()
Call once in INIT.