EA

 
I had tired to creating my first EA but i am getting the output even I am not getting the Comment and Alert so what is the solution.
 

We cannot read your mind. We cannot see your computer. So, if you want a useful answer, then please provide a useful and detailed explanation of your issue.

Use the CODE button when you insert code.

Code button in editor

Also, if you have errors, show your log output (Experts and Journal logs). And provide screenshots if necessary.

And, lastly please change your topic subject to something that properly identifies your issue and not just "EA".

I will also be moving this thread to the Expert Advisors and Automated Trading section

EDIT: If this so happens to be about MQL4 and MetaTrader 4, it will then be moved again to the correct section.

So in future, please post in the correct section.

 
psp k:
I had tired to creating my first EA but i am getting the output even I am not getting the Comment and Alert so what is the solution.

You should read:

Quickstart for newbies: https://www.mql5.com/en/articles/496
und: https://www.mql5.com/en/articles/100
cookbook: 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!

Quick Start: Short Guide for Beginners
Quick Start: Short Guide for Beginners
  • www.mql5.com
Hello dear reader! In this article, I will try to explain and show you how you can easily and quickly get the hang of the principles of creating Expert Advisors, working with indicators, etc. It is beginner-oriented and will not feature any difficult or abstruse examples.