Skip to content
All library documents

Long-Only XLM Grid Trading Within Fixed Price Bounds

Article TradingView scripts

Summary

This strategy divides a fixed XLM price range into geometric or arithmetic levels and assigns an investment amount to each slot. It opens a long position when a bar closes across a level downward, then closes that slot’s position when price crosses the next level upward. Inputs control the range, spacing, investment, and backtest dates; chart displays show the grid, held slots, average entry, and profit figures. The script also includes alerts for connecting fills to a bot service.

The design has no stop loss or trailing exit: its stated structural limits are the grid bounds and allocated investment. Those limits do not establish protection against gaps, slippage, or prices moving outside the range. The source describes defaults for an XLM perpetual market and a 15-minute chart, but provides no backtest results or evidence that the settings are profitable. The grid is initialized on the first bar, so changing inputs during a run and real-world alert execution may require care. Treat the parameters and reported strategy figures as setup details, not proof of performance.

Key ideas

  • A fixed price range is divided into geometric or arithmetic levels.
  • A downward close-to-close crossing buys a slot, and an upward crossing of the next level closes it.
  • The configured investment is divided across grid levels to size each slot.
  • The strategy intentionally has no stop loss or trailing exit and relies on bounds and allocated capital as structural limits.
  • The document gives configuration details but no performance evidence.

Tags

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