Flat execution - MetaTrader 5 script | Trading script download - MT4/MT5 resources - MetaTrader 5 resources






Every apartment has its time. This indicator measures flatness and does not apply concepts like "trend".
When the closing time is executed, the moment comes when the result is fixed or a new position is opened. The double time method can be applied to any fluctuation, whether related to weather, balance charts or quotes. The bottom line is that small things fluctuate with big things. Sideways execution time is calculated in bars, that is, the difference between the 1st and 2nd points of the line plus the 2nd point. Days of inactivity are not taken into account.
Use lines:

Lines have been drawn manually . This indicator uses line data. Lines should be drawn according to the plane. To do this we need to take fractals and use the following principle: draw a line from each fractal to all subsequent fractals, where the upper fractal is the upper fractal and the lower fractal is the lower fractal. Lines touched by price can be deleted. So you don't have to draw the line if it's technically reachable during the drawing process. If the row "highlights" a group of apartments (occupies more than one apartment), the apartment will be considered a separate apartment.
Trade Analysis: You should wait until a unit or a group of units is traded before entering the market. You can use a message or a set of messages and one or more executions. For example, there is a news item about jobs in the United States. We should wait until a unit or group of units executes in one direction before entering. Or for example, the Fed is expected to taper quantitative easing or raise interest rates at its next meeting. Therefore, we should wait until the most global close or a group of closes are executed and enter, and when the news is received we hold the position and exit. The principle is that a piece of published news or the anticipation of a piece of news leads to execution, and the execution of the entry is not in response to recently published news. Stop loss can be moved along the line. If the price touches this line before execution, the position should be closed. Flat moves are not always executed before price hits the line. There is such a line where the stop loss line will go beyond the second point. If so, the stop loss can be set beyond the second point (so that the loss stop does not increase). Economic statistical analysis: This method can be used to analyze any fluctuating economic data over a period of time. If there is an opportunity to collect data history in a subwindow of the chart, data analysis can be performed directly in the terminal via indicators. Example: This graph shows what happens during a period of low interest rates. For the U.S. dollar, such a moment has arrived and the steps to raise interest rates will soon begin on one of the following trading days. For the euro, such a moment will arrive in two years' time. It turns out that EUR/USD could be falling in two years. Transaction result analysis: Technically speaking, Forex is not conducive to any strategy that ensures its own liquidity. We can only observe that this strategy generates stable profits for a period of time, but one day the profits will not exceed the highest point reached and reset to zero in the future. The market is changing, and strategies must also change according to the market. If we know the timing of changes, we can know when to stop (or start) using a certain strategy, whether it belongs to self-management, signals, auto-advisor or manual trading. This analysis is no different from currency pair analysis. Information display: The execution sign appears after the fact, the signal sign appears at the opening of the zero bar, and the visual sign (cross) appears on the line. When performing a plane, the lines become dashed and the flags and lines turn blue (by default). If not executed, the line is red (default). You can see in the description and on the line (if the description is included in the chart function) how much time remains before execution starts from the second point of the line (excluding the signal bar). 📎 flatexecution.mq5 (7.33 KB) Source: MQL5 #1851




Attachment download
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •