+ Reply to Thread
Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Opening of trade at the beginning of candles.

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    1

    Default Opening of trade at the beginning of candles.

    Hello. Please advise how one program in the MQL4 opening trade at the beginning of a new candle. Thank you.

  2. #2
    Member
    Join Date
    Jan 2011
    Location
    Austria
    Posts
    36

    Default

    You have to
    * save the timestamp of every tick to a variable
    * check if actual timestamp is different from current one -> new bar just opened.

+ Reply to Thread

Similar Threads

  1. RSI X Candles EA
    By funyoo in forum Expert advisors backtesting
    Replies: 0
    Last Post: 03-09-2011, 14:18
  2. Idea for trader on top-line market opening.
    By admp in forum Ideas for expert advisors
    Replies: 0
    Last Post: 06-26-2010, 23:02
  3. Opening only an order per day
    By szmvscla in forum MQL programming
    Replies: 2
    Last Post: 11-06-2009, 21:56
  4. Opening 2 orders at the same time
    By szmvscla in forum MQL programming
    Replies: 5
    Last Post: 11-06-2009, 13:31

Posting Permissions

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