İş tamamlandı
İş Gereklilikleri
Hello folks,
After reading the documentation and playing around with the code editor, I decided to write here and get more understanding of MQL5.
So, I want to have a simple EA that helps me learn MQL5 and some of its functions/libraries.
Therefore, I designed an EA to help me learn more about MQL5, "I already started playing around, but I think it's good to have some inputs". I will list what I want to learn, and then I will list the EA feature I want "feel free to add your recommendation if you feel like it :) ".
What I want to learn:
- About magic numbers
- About the bars and how I can check for start and end of the bar in general/
- Opening trades using Trade.mqh
- Checking trades if hits tp or sl using DealInfo.mqh and onTradeTransaction event
So, here is the EA I want to have:
- Opening trades on new bar "it could be on any timeframe, not a problem".
- Closing trades at the closing time of the bar "at the end of the bar, so we can open trades again on the new bar, even if the positions didn't hit tp or sl, they should be closed at the end of the bar life cycle".
- Prompting or printing a message if the postion hit tp/sl with some details about the trade "losing points, wining points, type, etc". This should be triggered from onTradeTransaction so I learn how to use it better.
- The EA should control only its own positions and interact with other positions using the magic number
The budget is 30$, if it works for you and you'd like to build it, feel free to reach out ;)
Best Regards,