Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Correlation Strategy EA

  1. #1
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default Correlation Strategy EA



    We enter when there is a cross with the two lines.

    If the blue line goes over the green line, we buy EURUSD and we sell GBPUSD.

    If the green line goes over the blue line, we buy GBPUSD and we sell EURUSD.

    We close the trades when there is a profit of 15 pips.

    We can also close the trades when there is an opposite cross.

    The indicator and the EA have to be applied to both charts, timeframe M30. You have to set B1 (the weakest pair "EURUSD") and B2 (the strongest pair "GBPUSD").

    I attach different settings with several pairs.

    Download : Correlation Strategy EA (available in the Elite section)

  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    New version, new features :

    - Code rewritten to allow a better reading,
    - Comments displayed on the chart to check the EA functionalities,
    - Autofactor mode 1 based on ticksize removed (useless),
    - Autofactor mode 2 based on atr corrected,
    - Martingale added with delayminutes and multiplier,
    - Martingalemode : 0=buy sell sell - sell buy buy, 1=buy sell buy - sell buy sell,
    - Stoptradingaftertarget : stop trading once target is reached,
    - Entrymode : 0=close-open, 1=gap, 2=direction, 3=price difference,
    - Direction symbol for entry mode 2,
    - Maperiod : moving average period to determine direction trend,
    - Difference : in point to take into consideration for entry mode 3,
    - One trade management added that decides to close or to open a trade of a couple when there is only one opened trade (issue generated after a busy trade context).

    We can now applied the gold gold, gold silver and the correlation martingale strategies with this code.

    Download : Correlation Strategy EA (available in the Elite section)

Similar Threads

  1. Correlation JPY Manual Strategy with control Panel
    By advisor in forum Commercial manual systems
    Replies: 0
    Last Post: 08-16-2014, 11:55
  2. Neg Correlation EA
    By Lordvader in forum Ideas for expert advisors
    Replies: 10
    Last Post: 01-06-2011, 19:41
  3. Correlation strategy backtesting
    By funyoo in forum MQL programming
    Replies: 1
    Last Post: 03-11-2010, 17:39
  4. Forex Strategy Bulder and Forex Strategy Trader
    By mel8331 in forum Ideas for expert advisors
    Replies: 0
    Last Post: 12-29-2009, 23:12

Tags for this Thread

average, correlation, elite, eurusd, gbpusd, gold, indicator, martingale, moving average, pairs, pips, profit, stop, strategies, strategy, systems, trend

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •