支持中心 帮助文档 联系我们
📱 微信: 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%

Godfather Future Predictor EA

👤 作者: Afjal Hussain Swapan

4.5 分

¥14.00

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

📝 产品详情

Godfather Future Predictor EA

作者Afjal Hussain Swapan
版本v12.1
激活数5
原价$2 USD

Godfather Future Predictor EA – Logic Description

This Expert Advisor combines two independent trading systems (Secret Profit VIP and Future Predictor Green) that can be enabled/disabled separately. Both systems trade on the same symbol but use different magic numbers, entry logic, and risk management.

1. Risk & Money Management

  • Lot size calculation – If  UseManualLot = false , lot size is computed based on account balance, risk percentage ( Risk ), tick value, and symbol digit scaling ( D ).
    Lot = Balance / 10 * Risk / (TickValue * 100 * D)
    Clamped to symbol min/max lot.

  • If manual lot is enabled, the fixed  Lots  value is used.

2. Green EA Logic (Dynamic Price Reference)

Purpose – Trade breakouts from a dynamic reference price, with optional timer reset.

  • Reference price ( GreenPrice ) is initially set to current Bid.

  • Timer ( GreenOpenTimer  seconds) – after each reset, the reference price is frozen for that period.

  • Entry signals (calculated every tick during allowed hours):

    • GoBuyGreen  = Bid ≥ GreenPrice + (PipsStep × Point)

    • GoSellGreen  = Bid ≤ GreenPrice – (PipsStep × Point)

  • After the timer expires,  GreenPrice  is updated to current Bid and the timer restarts.

3. VIP EA Logic (Bar‑Based Reference)

Purpose – Trade when price moves a certain distance away from the last bar’s close.

  • Reference price ( VIPDPrice ) =  Close[0]  of the current (forming) bar.

  • Captured once per second ( VIPDTime ), not per tick.

  • Entry signals:

    • GoSellVIP  =  Close[0]  ≤ VIPDPrice – (BarPips × Point)

    • GoBuyVIP  =  Close[0]  ≥ VIPDPrice + (BarPips × Point)

4. Order Execution (Both Systems)

Each system follows the same pattern:

  • Initial entry – Only if no open position ( Count(-1, magic) == 0 ) and no historical order on the same bar ( CountBarHist(-1, magic) == 0 ).
    Opens one market order (SELL or BUY) depending on the signal.

  • Grid / add‑order logic – If the system already has a position in the same direction and the signal persists, it adds another order (same direction) provided:

    • Account order limit is not reached.

    • No order was opened on the current bar already ( CountBar(-1, magic) == 0 ).
      For VIP EA, this grid behaviour is optional ( UseAddOrder ).

5. Position Management & Exit Rules

Green EA

  • Take profit – Closes all positions when total profit ≥  totalLots × GreenTakeProfit  and at least 2 positions exist.

  • Stop loss – If total profit falls below  (Balance / 100) × GreenStopLoss  (negative), close all.

  • Trailing stop – Only when exactly 1 position exists and  GreenTral != 0 .
    Trailing start distance =  GreenTralStart ; trailing step =  GreenTral .

VIP EA

  • Take profit – Same as Green EA, but using  VIPTakeProfit .

  • Stop loss – Same formula, using  VIPStopLoss .

  • Trailing stop – Same as Green EA, but with  VIPTral  and  VIPTralStart .

6. General Filters & Execution

  • Trading hours – Orders are only evaluated between  TimeStart  and  TimeEnd  (hour of the day).

  • Timer ( TimerSpeed  ms) – calls  OnTick()  repeatedly, ensuring fast reaction.

  • Order selection – Helper functions ( Count ,  AllLots ,  ProfitAll , etc.) work separately per magic number.

  • No overlapping – The two systems never interfere because they use different magic numbers and independent signal flags.


安全须知

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

EA 配置

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

📸 截图预览