What does the Direction field control?

The Direction field in MagicTradeBot defines the intended market direction of a trade, determining how the bot enters and exits a position.


1️⃣ How It Works

  • Long Trades (Direction: Long)

    • The bot buys the asset first, anticipating that the price will rise.
    • Profit is made by selling later at a higher price.
    • Typical use case: bullish market conditions or upward-trending symbols.
  • Short Trades (Direction: Short)

    • The bot sells the asset first (often borrowing it if required), anticipating that the price will fall.
    • Profit is made by buying back later at a lower price.
    • Typical use case: bearish market conditions or downward-trending symbols.

2️⃣ Benefits of Explicit Direction

  • Ensures the bot executes trades in the correct market bias.
  • Works in combination with ExecuteThresholdPerfect and other conditions to trigger trades at optimal price points.
  • Enables both long and short strategies within the same manual trade system.

3️⃣ Best Practices

  • Always double-check that Direction matches your intended market view.
  • Combine with Price and ExecuteThresholdPerfect to fine-tune entries.
  • Use Long for bullish strategies and Short for bearish or retracement plays.

Pro Tip

Think of the Direction field as your trade’s compass: it tells the bot whether to buy first (long) or sell first (short), forming the foundation for all subsequent execution and monitoring logic.

📎 Related Topics