- The error halts the CheckForPennant function before it can draw trendlines (lines ~510–540) or breakout arrows (lines ~570–590). The logs don’t show messages like "Successfully drew upper trendline" or "Bullish condition met," confirming the process stops at the error.
- The pattern is detected (converging trendlines), but the array error prevents trendline drawing and breakout confirmation, so no visual objects (Pennant_Upper_, Pennant_Lower_, Pennant_Breakout_) appear on the chart.
Files:
PennantBreakoutGold_v1.36.mq4
33 kb
- Lines - Objects - Charts - MetaTrader 5 for Android
- Lines - Objects - Chart - MetaTrader 5 for iPhone
- Lines - Analytical Objects - Price Charts, Technical and Fundamental Analysis
david.ekerold:
The error halts the CheckForPennant function before it can draw trendlines (lines ~510–540) or breakout arrows (lines ~570–590). The logs don’t show messages like "Successfully drew upper trendline" or "Bullish condition met," confirming the process stops at the error. The pattern is detected (converging trendlines), but the array error prevents trendline drawing and breakout confirmation, so no visual objects (Pennant_Upper_, Pennant_Lower_, Pennant_Breakout_) appear on the chart.
Traders and coders are working for free:
- if it is interesting for them personally, or
- if it is interesting for many members on this forum.
Freelance section of the forum should be used in most of the cases.
Trading applications for MetaTrader 5 to order
- 2025.07.15
- www.mql5.com
The largest freelance service with MQL5 application developers
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