What does setting Price: 0 mean?

In MagicTradeBot, setting:

Price: 0

tells the bot to use the current market price as the reference point for the manual trade instead of a fixed price. This is essential for trades that rely on threshold-based execution.


1️⃣ How It Works

  • When the bot first detects the trade entry, it replaces 0 with the current live price of the symbol.
  • This price then becomes the reference point for any execution thresholds or conditions you have configured.
  • Example: If you set:
ExecuteThresholdPerfect: 5

the bot will only execute the trade once the price moves 5% relative to the current market price.


2️⃣ Benefits

  • Automatic reference pricing: No need to manually input a specific price for volatile markets.
  • Dynamic threshold validation: Thresholds like pullbacks, dips, or retracements are applied relative to the live market price.
  • Flexible entry strategy: Allows you to capture opportunities in fast-moving markets without constantly adjusting the configuration.

3️⃣ Best Practice

  • Use Price: 0 for trades where you want dynamic, market-relative execution.
  • Use a fixed price only when you have a specific entry target in mind.
  • Combine with ExecuteThresholdPerfect to control how far the market must move before execution.

Pro Tip

Think of Price: 0 as telling the bot: “Start counting from the market’s current price”. All threshold-based decisions will then adjust dynamically from that point, ensuring your trade executes only under the conditions you intend.

📎 Related Topics