Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  11 11 Attachment(s)    

Thread: ATR Stops MTF EA

  1. #11

    Default

    Hi Funyoo,
    Thanks for modifications. I have run a quick back test on eurgbp since 1999. As you can see is not without merit but is still loosing money from the beginning of the crisis. Anyway there was no optimization.
    I have spotted a problem. Please modify pullback code. I need to be within lets say 5 pips of the current atr level and not as it is now. Also on 1.02 version with lots optimized has run way over 10 on lot size. The attached graphic is with lot size =1 and lots optimized on false.
    Attached Images Attached Images ATR Stops MTF EA-strategytester-gif 

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

    Default

    Quote Originally Posted by daxc View Post
    Hi Funyoo,
    Thanks for modifications. I have run a quick back test on eurgbp since 1999. As you can see is not without merit but is still loosing money from the beginning of the crisis. Anyway there was no optimization.
    I have spotted a problem. Please modify pullback code. I need to be within lets say 5 pips of the current atr level and not as it is now. Also on 1.02 version with lots optimized has run way over 10 on lot size. The attached graphic is with lot size =1 and lots optimized on false.
    Hi daxc,

    Good job with this system!

    Yes, the market is totally different since 2007. That's the same with all the pairs.

    Ok, the "pullback zone" is now based on the current atr level value.

    What do you mean about the money management, the lots size is not correctly determined according to the risk ?
    Attached Files Attached Files

  3. #13

    Default

    With risk at 1 and lotsoptimized on true minlot=0.1 maxlot=10 at one point was trading hundreds of contracts at the same time. Tradesperbar=1 maxtrades=1

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

    Default

    Quote Originally Posted by daxc View Post
    With risk at 1 and lotsoptimized on true minlot=0.1 maxlot=10 at one point was trading hundreds of contracts at the same time. Tradesperbar=1 maxtrades=1
    Hi daxc,

    I have tested the lotsoptimized and everything is fine.

    If you find the moment, the pair, the period, the timeframe and the broker, I can see what is wrong.

  5. #15

    Default

    On 1.03 version is not entering any short position

    comment="EA"; magic=1234; moneymanagement="Money Management"; lots=0.5; lotsoptimized=false; risk=1; minlot=0.1; maxlot=10; lotdigits=1; ordersmanagement="Order Management"; oppositeclose=true; reversesignals=false; maxtrades=1; tradesperbar=1; hidesl=true; hidetp=true; stoploss=5; takeprofit=50; trailingstart=0; trailingstop=0; trailingstep=1; breakevengain=0; breakeven=0; entrylogics="Entry Logics"; waitforpullback=true; pullbackmargin=2; autosl=false; slmargin=10; closeonsignal=true; Length=5; ATRperiod=2; Kv=2.7; usefilter=true; TimeFrame=60; Lengthtf=10; ATRperiodtf=5; Kvtf=3; shift=1;

    Total trades 904 Short positions (won %) 0 (0.00%) Long positions (won %) 904 (18.47%)

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

    Default

    Quote Originally Posted by daxc View Post
    On 1.03 version is not entering any short position

    comment="EA"; magic=1234; moneymanagement="Money Management"; lots=0.5; lotsoptimized=false; risk=1; minlot=0.1; maxlot=10; lotdigits=1; ordersmanagement="Order Management"; oppositeclose=true; reversesignals=false; maxtrades=1; tradesperbar=1; hidesl=true; hidetp=true; stoploss=5; takeprofit=50; trailingstart=0; trailingstop=0; trailingstep=1; breakevengain=0; breakeven=0; entrylogics="Entry Logics"; waitforpullback=true; pullbackmargin=2; autosl=false; slmargin=10; closeonsignal=true; Length=5; ATRperiod=2; Kv=2.7; usefilter=true; TimeFrame=60; Lengthtf=10; ATRperiodtf=5; Kvtf=3; shift=1;

    Total trades 904 Short positions (won %) 0 (0.00%) Long positions (won %) 904 (18.47%)
    Hi daxc,

    Ok, the sell is working now.
    Attached Files Attached Files

Similar Threads

  1. Internal trailing stops and break evens
    By snkpool in forum MQL programming
    Replies: 0
    Last Post: 11-14-2009, 21:33
  2. EA Stops Running
    By abundance in forum MQL programming
    Replies: 1
    Last Post: 09-24-2009, 10:16

Tags for this Thread

atr, breakevengain, broker, closing, funyoo, indicator, indicators, magic, pips, signal, simple, stoploss, strategies, system, test, thank you, time, trading, trailing, trailingstart, trailingstep, trailingstop

Posting Permissions

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