支持中心 帮助文档 联系我们
📱 微信: 18391752892 | 💬 QQ: 3313198376 | ✈️ Telegram | 📧 fishfx123@gmail.com
EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34% EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34%

Custom Logic For Trading MT5 Mini

👤 作者: Jetaroon Sriboonruang

4.5 分

¥0.00

📌 版本: v2.0
📥 下载: 0
⭐ 评分: 4.5

📝 产品详情

Custom Logic For Trading MT5 Mini

作者Jetaroon Sriboonruang
版本v2.0
更新2024-08-14T13:16:20
激活数78603

Overview

Custom Logic for Trading MT5 Mini is the free version that designed to execute trades based on custom indicator signals, with robust position management features with break-even settings. This script allows traders to implement their strategies with high precision and flexibility, enhancing their trading efficiency and profitability.

Input Parameters

Indicator Settings

  • indicator_name: Name of the custom indicator to be used for generating signals.
  • buy_signal: Signal value indicating a buy condition.
  • sell_signal: Signal value indicating a sell condition.

Position Sizing

  • lot_size: Size of the lot for each trade.
  • take_profit: Take profit level in points.
  • stop_loss: Stop loss level in points.
  • slippage: Maximum slippage allowed for order execution.

Trading Parameters

  • close_on_opposite: Boolean flag to close positions on opposite signals.
  • logic_direction: Trading logic direction (0 - Direct, 1 - Reversal).
  • trading_side: Side of trading to take (0 - Long only, 1 - Short only, 2 - Both).
  • shift: Shift mode (0 - current bar, 1 - previous 1 bar, and so on)

Break-even Settings

  • enable_break_even: Boolean flag to enable or disable break-even functionality.
  • break_even_level: Profit level in points at which to move the stop loss to break-even.

Workflow

  1. Initialization: Configure the input parameters to tailor the bot to your specific trading strategy. Attach the script to the desired chart in MetaTrader 4.

  2. Signal Detection: The bot continuously monitors the custom indicator for buy and sell signals. It retrieves the signal using the iCustom function and evaluates it based on the configured buy_signal and sell_signal values.

  3. Trade Execution:

    • Long Positions: When a valid buy signal is detected, and all conditions are met (including filtering), the bot opens a buy position with the specified lot size, stop loss, and take profit.
    • Short Positions: Similarly, when a valid sell signal is detected, and conditions are satisfied, the bot opens a sell position.
  4. Position Management:

    • Close on Opposite Signal: If the close_on_opposite parameter is enabled, the bot closes positions when an opposite signal is detected.
    • Break-even: When the price reaches the specified break-even level, the bot adjusts the stop loss to the entry price to secure profits.
  5. Continuous Monitoring: The bot continuously monitors market conditions and updates positions as needed, ensuring that the trading strategy is executed consistently and efficiently.

Benefits

  • Automation: Automates the entire trading process, reducing the need for manual intervention.
  • Customization: Highly customizable input parameters to fit various trading strategies.
  • Robust Management: Advanced position management features to optimize trade outcomes.
  • Efficiency: Executes trades with precision, leveraging custom indicators and technical analysis.

Usage

  1. Setup: Configure the input parameters according to your trading strategy.
  2. Deployment: Attach the script to the desired chart in MetaTrader 5.
  3. Execution: The bot will automatically manage trading activities based on the configured logic and parameters.


安全须知

本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。

EA 配置

交易品种XAUUSD
时间框架H1 (推荐)
推荐经纪商IC Markets, IC Trading
最低存款$300 / 0.01手

📸 截图预览