Results 1 to 3 of 3
 0 Attachment(s)    

Thread: Yesterdays Highest High and Lowest Low ??

  1. #1
    Junior Member
    Join Date
    Aug 2009

    Default Yesterdays Highest High and Lowest Low ??

    Can anyone help me??? I need the code for yesterdays highest high and lowest low? I've looked at the examples for iHigh and iLow but i just cant figure out how to iterate through the data to determine the last X hours highest high or lowest low.

    I'm sure it is quite simple but....

    Thanks in advance!

  2. #2
    Junior Member
    Join Date
    Aug 2009


    How about...


    NULL = Symbol on that data need to calculate indicator. NULL means current symbol.

    PERIOD_D1 = Timeframe.

    1 = Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago). 0 being current, 1 yesturday, 2 the day before that... and so on.

  3. #3


    As I did this before,

    LL =Low[iLowest(...,....,....,....)];

    I can't remember what I did, but it worked for me perfectly.

    Try to search for the term "Highest high of the day" @ mql4 or google.

Similar Threads

  1. The Euro at its lowest value for almost two years
    By fxtester in forum Technical analysis
    Replies: 0
    Last Post: 09-25-2014, 08:30
  2. High Frequency EA??? Extremely High Number of Trades
    By joseclar in forum Expert advisors live statements
    Replies: 1
    Last Post: 01-21-2011, 09:37
  3. Need Help with High Low EA v2
    By revoldos in forum Expert advisors backtesting
    Replies: 0
    Last Post: 06-13-2010, 08:34
  4. High frequency EA- High number of trades
    By joseclar in forum Ideas for expert advisors
    Replies: 2
    Last Post: 02-28-2010, 07:50
  5. Open between last day lowest and highest
    By tkaboris in forum MQL programming
    Replies: 0
    Last Post: 03-11-2009, 05:05

Tags for this Thread

high, hours, how to, index, indicator, low, mql, simple

Posting Permissions

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