+ Reply to Thread
Results 1 to 5 of 5
 1 Attachment(s)    

Thread: Simple EA idea - previous candle high/low

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    12

    Default Simple EA idea - previous candle high/low

    Hi,

    Can someone help me with an EA that will open a buy/sell order if the price hits the previous candles high/low?

    I use the h1 chart and would ideally like to be able to set stop loss, take profit and possibly trailing stop with the EA. Even more beneficial would be an option to set how many pips away from the previous high/low trades should be entered. Only one trade per candle also and I am on a 5 digit broker.

    Any help/ideas would be greatly appreciated,

    Thanks,

    Rich.

  2. #2
    Member
    Join Date
    May 2009
    Location
    Gold Coast, Australia
    Posts
    55

    Default

    What you are asking seems a very simple EA so why not try to make it yourself. Here is a link to an EA builder that you will be able to code most of what you want within a few minutes or so.

    Expert Advisor Builder for MetaTrader 4

    Once you code how you want it to enter/exit trades, stops, etc. You'll find it easier to add or have peolpe help add 'one position open at a time' or other similar variables. For the 5 digit side of things you can just add a '0' to T/P, S/L, Slippage/spread values.......this will let you test/use it until you want to hard code that into the EA at a later time.
    Other that that you can wait for someone to write it for you but you may as well learn a bit while you wait.

    Good luck.

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    12

    Default

    Thanks Dono,

    Unfortunatly I am useless at coding. I have done some Java as part of my university degree and vowed never to code again!

    I just hope someone in this community can help me out, even if it comes at a cost ;-)

    Cheers

  4. #4
    Member
    Join Date
    May 2009
    Location
    Gold Coast, Australia
    Posts
    55

    Default

    Here you go, I could only go by your vague discription.
    I'm no coder so you will need to input pip values with the extra '0' for the 5 digit broker. Also for the distance to enter in pips above the last bar you will need to scroll down the EA's code where you will see an explanation on the values to enter.
    You will need to optimise it, it did look good for 6months or so in my tests but then crashed.....sounds familiar.lol.
    Good luck.
    Attached Files

  5. #5
    Junior Member
    Join Date
    May 2009
    Posts
    12

    Default

    Wow your a legend!

    Thank you so much mate!

    I was waiting for a programmer (who I am due to pay) to email me the system!

    I will try it out now and get back to you...Thanks again.

+ Reply to Thread

Similar Threads

  1. High Low v2 EA
    By funyoo in forum Expert advisors backtesting
    Replies: 6
    Last Post: 11-15-2012, 11:15
  2. Breakout EA previous high/low
    By treuzelen in forum Ideas for expert advisors
    Replies: 5
    Last Post: 05-05-2009, 21:21
  3. Add Close previous order when open new position
    By darkkiller in forum MQL programming
    Replies: 1
    Last Post: 03-21-2009, 06:55
  4. Closing Previous Orders in a Martingale Sequence
    By ixbone in forum MQL programming
    Replies: 33
    Last Post: 03-09-2009, 10:56
  5. Martingale with SL (closing previous orders)?
    By ixbone in forum MQL programming
    Replies: 1
    Last Post: 02-23-2009, 04:40

Posting Permissions

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