Page 10 of 10 FirstFirst ... 8 9 10
Results 91 to 97 of 97
Like Tree1Likes

How to Build and Trade Strategies

This is a discussion on How to Build and Trade Strategies within the Trading Systems forums, part of the Trading Forum category; Introduction Deal class Position class Historical position list class Position profit graph indicator Conclusion more......

      
   
  1. #91
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,519
    Blog Entries
    1700

    Indicator of historical positions on the chart as their profit/loss diagram

    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  2. #92
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,519
    Blog Entries
    1700

    Introduction to MQL5 (Part 7): Beginner's Guide to Building Expert Advisors and Utilizing AI-Generated Code in MQL5

    The rapid advancement of artificial intelligence in today's technological landscape has sparked discussions regarding the future of coding. Some argue that code produced by AI could replace the need for conventional coding knowledge. But nothing could be further from reality than this. This article seeks to dispel this myth and highlight the importance of knowing how to code. We're going to reveal ways you can incorporate AI-generated code into our programming projects in a seamless way so that it complements rather than replaces our skills. So, let's get started and utilize MQL5 programming fully without any delay. Prepare to apply theory to real-world situations, and let's work some magic!

    In this article, we will cover the following topics:
    • Mastering MQL5
    • Pseudocode
    • Generating MQL5 Codes with AI
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  3. #93
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,519
    Blog Entries
    1700

    Introduction to MQL5 (Part 8): Beginner's Guide to Building Expert Advisors (II)

    Having already studied the fundamentals of MQL5, you are now prepared to take on one of the most important tasks associated with algorithmic trading: creating a working Expert Advisor. As I indicated in the previous article, We will use a project-based approach for this series. This method helps in both comprehending abstract ideas and recognizing how they are used in practical situations. You will have a firm grasp of how to automate trading decisions based on candlestick patterns and predetermined conditions by the time you finish this guide.

    In this article, we will focus on developing an EA that uses the candlestick analysis from the previous day to determine its trading direction. The EA will concentrate on selling for the day if the most recent daily candlestick is bearish and buying if it is bullish. The EA will also verify its trading signals by utilizing the close price of the day's first 1-hour candlestick. There won't be more than one open position at any given time, and the daily maximum of two trades will be enforced. It will function under stringent trade limits. Furthermore, its operation will be limited to the designated trading hours of Monday to Wednesday.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  4. #94
    Junior Member
    Join Date
    Jul 2024
    Posts
    164
    Whatever the trading strategy, trend following or breakout trading, it is also very important to pay attention to risk management, because trend following and breakout trading strategies sometimes have biases caused by false signals.
    I trade at FXOpen

  5. #95
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,519
    Blog Entries
    1700

    Developing a multi-currency Expert Advisor (Part 5): Variable position sizes

    In the previous part, we dded the ability to restore the EA's state after a restart. It does not matter what the reason was - rebooting the terminal, changing the timeframe on the chart with the EA, launching a more recent version of the EA - in all cases, restoring the state allowed the EA not to start working from scratch and not to lose already open positions, but to continue handling them.

    However, the size of the opened positions remained the same for each instance of the strategy throughout the entire testing period. Their size was set at the EA launch. If, as a result of the EA's operation, the trading account balance increased, then this would allow the use of an increased position size without increasing risk. It would be reasonable to take advantage of this, so let’s start implementing the use of variable position sizes.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  6. #96
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,519
    Blog Entries
    1700

    Introduction to MQL5 (Part 13): A Beginner's Guide to Building Custom Indicators (II)

    Welcome back to our MQL5 series! Part 12 of this series explored the fundamentals of building custom indicators in MQL5. We created a Moving Average indicator from scratch, implementing its logic manually instead of relying on built-in functions. Then, we extended this knowledge by transforming it into a Moving Average in candle format, demonstrating how to manipulate graphical elements within an indicator.

    This article will cover a strategy that is solely intended for educational purposes. It is not meant to be a trading strategy that guarantees success or financial advice. Before using strategy in live trading, always test them in a risk-free setting.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  7. #97
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,519
    Blog Entries
    1700

    Introduction to MQL5 (Part 14): A Beginner's Guide to Building Custom Indicators (III)

    We will create an indicator that resembles Harmonic Patterns to implement this. The logic we'll use can be modified to identify and depict different Harmonic Patterns, even though we won't be concentrating on any particular one (such as Gartley, Bat, or Butterfly). Instead of building a fully effective Harmonic Pattern detector, the main objective is to learn how to use chart objects in MQL5 to develop indicators. In Part 9 of this series, we looked at how to build and work with objects like trend lines, rectangles, and labels in MQL5, which is where we first covered using chart objects. Building on that knowledge, this piece will apply it to developing of indicators. By the end, you will have a firm grasp on how to develop unique visual indications by working with chart items dynamically.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

Page 10 of 10 FirstFirst ... 8 9 10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •