Godfather Future Predictor EA

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.


Altri dall’autore
FxWorldGodfather
Afjal Hussain Swapan
Product Overview Smart Grid Hedging EA is an advanced algorithmic trading system that combines   trend filtering ,   grid trading , and   hedging strategies   to create a robust automated trading solution. This Expert Advisor is designed for forex and commodity markets with special optimization for gold (XAUUSD) trading.   Core Features Dual Engine System Engine A : Specialized for buy (long) positions with independent magic number Engine B : Specialized for sell (short) positions with indepen
GoldSuperbotV10
Afjal Hussain Swapan
This Adaptive Forex EA is a fully automatic, Highly Customizable Adaptive Trading EA that is Free to download. Although it may not provide the most immediate plug-and-play solution, its effectiveness and potential are hinged on fine-tuning and optimization. Most EA makes tall claims about their AI, adaptive, intelligent, learning algorithms, but often all are just marketing; there is nothing like that in the EA. However, this Adaptive Trading EA, despite not being AI per se, promises an intellig
Godfather Market Theory
Afjal Hussain Swapan
Godfather Market Theory EA – Comprehensive Description The   Godfather Market Theory EA   is a sophisticated, multi-strategy expert advisor designed for MetaTrader 4. It combines three powerful trading methodologies into one integrated system: the   Godfather Market Theory , the   Secret Profit   entry system, and the   Fury Scalper   (a trend-following scalper with hedging and recovery). Additionally, it includes a   Trend Rider   for non-grid trend trades, multiple   partial close mechanisms ,
FxWorldGodfathermq5
Afjal Hussain Swapan
roduct Overview Smart Grid Hedging EA is an advanced algorithmic trading system that combines   trend filtering ,   grid trading , and   hedging strategies   to create a robust automated trading solution. This Expert Advisor is designed for forex and commodity markets with special optimization for gold (XAUUSD) trading.   Core Features Dual Engine System Engine A : Specialized for buy (long) positions with independent magic number Engine B : Specialized for sell (short) positions with independ
Filtro:
Nessuna recensione
Rispondi alla recensione