Please, answer the questions.
1. Why do you use the Fractal's value on the 2nd closed bar? It's not formed yet. I think you should use the 3rd closed bar value:
CopyBuffer(fracDef,UPPER_LINE,3,1,fracUpArray); CopyBuffer(fracDef,LOWER_LINE,3,1,fracDownArray);
2. Why do you call them trading systems? They don't make trades. Only comments on the chart.
Please, answer the questions.
1. Why do you use the Fractal's value on the 2nd closed bar? It's not formed yet. I think you should use the 3rd closed bar value:
2. Why do you call them trading systems? They don't make trades. Only comments on the chart.
Current candle is 0, the previous one is 1, and the third is 2 not 3.
Trading systems as they programmed based on systematic and logical steps to help you to trade even if they are comments, You can add sending orders if you tested them and found them useful for you.
Hi , thank you for such a clear article... i getting an error in my fractal code (2024.11.10 17:42:12.121 _24 Dev 3 EA Strat1 (EURUSD,H1) _24 Dev 3 EA Strat1.mq5:void OnDeinit(const int):OnDeinit:48 Error Code:INDICATOR_DATA_NOT_FOUND ) .
When running your code i get the same error .
Can you please help. I have tried lots of different combinations .
Appreciate the support .
Jay
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Learn how to design a trading system by Fractals has been published:
This article is a new one from our series about how to design a trading system based on the most popular technical indicators. We will learn a new indicator which Fractals indicator and we will learn how to design a trading system based on it to be executed in the MetaTrader 5 terminal.
1. Fractals highs and lows
Based on this strategy we need to create a trading system that can be used to return the highs and lows of the Fractals indicator as a comment on the chart by continuously checking the fracUpvalue and the fracDownValue. If the fracUp is greater than zero or it has no empty value and the fracDown has an empty value, we need the trading system to return a signal on the chart as a comment with the following value:
In the other case, if the fracDown is greater than zero or it has no empty value and the fracUp has an empty value, we need the trading system to return a signal on the chart as a comment with the following value:
The following is the blueprint of this strategy:
Author: Mohamed Abdelmaaboud