No work... enaugh trading open..
The strategy is great, but the code is written incorrectly. Many positions are not opened, although the signal is good.
The following directive:
#property strict
is used incorrectly.
For starters... In the "New" MQL4 language with #property strict, "Functions of any type should return a value".
If #property strict has merely been added to satisfy the CodeBase code validator without editing the rest of the code, that is obviously not the way to go.
As a side note, there appears to be a typographical error in the 2nd image posted--where the MACD buy status should confirm "bullish" rather than "bearish."
Updated MQL4 - Language Basics - MQL4 Reference
- docs.mql4.com
Updated MQL4 - Language Basics - MQL4 Reference
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
SAR_MACD_EA:
Macd is the first to indicate bearish or bullish direction, secondly SAR in correlation with price indicates a swing in direction (Sar Flip above or below price), third conformation is the sma 40 shifted 3 and the closed price above or below the sma.
Author: Jakobus Botes