Results 1 to 2 of 2
 2 Attachment(s)    

Thread: Help needed with dual sdl EA

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    2

    Default Help needed with dual sdl EA

    I generated an EA using two Slope Direction Lines and a Moving Average. This EA was generated through a EA building program. I do not have EA building experience, but I know this system can work well (some fine tuning might be necessary depending on pair and time used). It seems to compile and it shows a smiley face on my platform, so I am not sure why it does not execute a trade. I have attached the program and a snapshot showing where it should have bought it.
    Attached Images Attached Images Help needed with dual sdl EA-buy-in-location-gif 
    Attached Files Attached Files

  2. #2
    Junior Member
    Join Date
    Jan 2009
    Posts
    5

    Default

    Hi roblis13,
    I'm not an experienced programmer but i noticed 2 thing in your expert.

    1) it is referring to a strange indicator name

    Code:
    double Buy2_1 = iCustom(NULL, 0, "Slope+Direction+Line", 9, 3, 0, 0, Current + 1);
    may be it should be

    Code:
    double Buy2_1 = iCustom(NULL, 0, "Slope Direction Line", 9, 3, 0, 0, Current + 1);
    Check your Journal tab for any error related to missing indicators.

    2) it seems you are using a 5 digit broker. Your ea does not consider it. Try first to multiply StopLoss/Target prices by 10, then, if this is the case, looking around in this section you will find a little fix you can add to your ea to keep in consideration the 4/5 digit broker price (sorry but I don't remember were)

    Hope this help

    Mimmo

Similar Threads

  1. Hello help is needed
    By nirim123 in forum MQL programming
    Replies: 1
    Last Post: 09-28-2012, 20:34
  2. Coding needed please
    By 100pipsv3.1[1]ea in forum Expert advisors live statements
    Replies: 1
    Last Post: 03-25-2012, 17:09
  3. Help needed
    By Leverage1 in forum MQL programming
    Replies: 0
    Last Post: 05-15-2011, 05:04
  4. Help needed for programming EA
    By vassil88 in forum MQL programming
    Replies: 0
    Last Post: 10-11-2010, 16:45

Tags for this Thread

average, broker, expert, indicator, indicators, moving average, programmer, stoploss, system, time

Posting Permissions

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