Can someone try and assist with an error

 
  • 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.
 
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
    Trading applications for MetaTrader 5 to order
    • 2025.07.15
    • www.mql5.com
    The largest freelance service with MQL5 application developers