1. Welcome to the #1 Gambling Community with the best minds across the entire gambling spectrum. REGISTER NOW!
  2. Have a gambling question?

    Post it here and our gambling experts will answer it!
    Dismiss Notice

Forex Feedback on my first EA, Giveaway to Forex Factory

Discussion in 'Forex Forum' started by Edorenta, Dec 19, 2015.

  1. Edorenta

    Edorenta Guest

    Hi everyone!

    I'm new to coding but trading for more than 4 years. I got into algo dev as I am studying IT aside my finance Msc, have fun with my ea, its entry rules are the following:

    Long:
    if((MAslope>0.9999) && (previousMAslope<0.9999) && (MA<CurrentPrice) && (RSI>RSIMA) && (MACDsignal > MACDmain)) Then BUY

    Short:
    if((MAslope<1.0001) && (previousMAslope>1.0001) && (MA>CurrentPrice) && (RSI<RSIMA) && (MACDsignal < MACDmain)) Then SELL

    Opposite conditions make the EA close the position auto, but I prefer using TP/SL and Trailing depending on current ATR manually.

    You'll find enclosed a backtest for 2015 on EURUSD M15, using the defaut settings (slightly optimized, I've just been tweaking the settings a little).
    Currently working on other set files for other TF and pairs, please do not hesitate to optimize it yourself and share your results.
    I'm opened to any idea regarding a way to modify the algo for the better!
    You can turn the martingale off anytime to use the ea your own way.

    I'm usually using Tickstory Pro 99.9% as historical modelling to backtest on MT4 but cannot atm as my computer is dump.
    If someone could try some optimization and post the results it would also be great!
    Merry xmas friends

    It's my turn to give a little back to the FF community :hug:

    Attached Files
    Attached Files
    [​IMG] Mashup-Recovery.ex4 19 KB
    [​IMG] Strategy Tester_ Mashup-Recovery.pdf 192 KB

    Source.
     

Share This Page