Skip to content
All library documents

Configuring an Alligator-Based Expert Advisor and Position Sizing

Article MQL5 code base

Summary

This document describes operating parameters for an expert advisor that takes signals from bars one and two of the Alligator indicator. It evaluates signals only when a new bar appears. The source notes that limiting the maximum number of positions to one also allows operation on netting accounts. It offers optional stop loss, take profit, and trailing stop settings.

Position size can be configured as a fixed lot or as a percentage of risk per deal. The description explains the EA’s timing, signal input, and risk controls, but does not state the exact entry or exit rules derived from the indicator, instrument, timeframe, or any tested results. It therefore serves mainly as a configuration overview rather than evidence of a profitable strategy. Traders would need to inspect the implementation and validate its behavior, execution assumptions, and risk settings before relying on it.

Key ideas

  • The expert advisor evaluates Alligator signals from the first two completed bars when a new bar appears.
  • A maximum of one position enables use on netting accounts, according to the description.
  • Optional controls include stop loss, take profit, and trailing stop settings.
  • Position sizing can use either a fixed lot or a per-deal risk percentage.
  • The document gives no performance evidence and omits the precise signal rules.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.