EA - Daily open - Page 2
Page 2 of 842 FirstFirst 12
Results 11 to 18 of 18

Thread: EA - Daily open

  1. #11
    Pipper, from my screenshot that you ought to be aware of the timeframe. It is H1.

    The motive for nothing happened after clicking start, perhaps you don't have background information for the dates range.

  2. #12
    sesntesnd_sesd
    Guest
    Sorry sangmanenever thought to look at your chart picture settings for interval. You could be right about information history. How do I import this. I'm only running a test from 1/3/2010 - 3/3/2010 (Very small period first to make sure the egy tester is functioning )

  3. #13
    sesntesnd_sesd
    Guest
    I appeared to have got it running now. The egy tester is a bit hit and miss. Forex Tester 2 is a lot more user friendly

  4. #14
    sesntesnd_sesd
    Guest
    Daily Open price calculation doesn't appear to be right though. How can I change this to 5pm et

  5. #15
    sesntesnd_sesd
    Guest
    Believe, I figured it all out. Thanks

  6. #16
    JiSesynnesdesy
    Guest
    It is a work. Have you continued the egy

  7. #17
    Quote Originally Posted by ;
    hi , here is a sample ea that open order when price is 15 pips above daily open extern dual TP = 50.0; extern dual SL = 50.0; dual Pip; int init() int start() { if(OrdersTotal()==0) { int shift = iBarShift(NULL,PERIOD_D1,Time[0]); dual DayOpen = iOpen(NULL,PERIOD_D1,change ); should (Bidgt;DayOpen 15*Pip) { //one day one trade bool bTrade = True; if(OrderSelect(OrdersHistoryTotal()-1,SELECT_BY_POS,MODE_HISTORY)) { datetime thisday = StrToTime(00:00); should (OrderCloseTime() gt;...
    Hello sangmane, surfing my requir I've come across this thread I found
    EA -- Daily-Open test.mq4, is obscured by you my requirement is very much like this rather Daily-Open, to H4-Open

    Please could you look into it and make it alter for me per my request I'll be great full for you

    Request is placed under this link
    https://www.forexforum.co.za/trading...l-freedom.html

    Even I want to put a request here to make it easy for you.

    I want a your help to construct simple EA which open a trade on every H4 candle.
    Requirements: if H4 candle opens:
    When it moves up 7 pip from open price place the buy order
    When it goes down -7 pip from open price place the sell order
    And close the trade when H4 candle is closed either is it in reduction or profit
    And start again trade with new H4 candle using identical terms

    If potential could be add 2 additional choices
    1-Time to trade start and finish hours
    2-TP SL

    Thanks And Regards,
    Moti

  8. #18
    If (barStart lt; Time[0]) //start of new pub

    // add your logic
    barStart = Time[0];
    // end should barstart


    Put this into your app and attach into a 1D chart. Should you need to use on a different timeframe, use iTime.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.