Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Record the time when an indicator line crosses a threshold

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

    Default Record the time when an indicator line crosses a threshold

    Anyone have an idea how to go about this? I'm trying to start the count from the crossing event.

    I've looked at iTime and the closest I can think of is using a M1 array record and pulling the earliest time, but this seems a little overly complicated and the resolution is only to the closest minute.

    Another idea I had was to create a far-off Pending Order when the event occurs and pull the time from the OrderOpenTime() but that's not so elegent.

    Any coding gurus willing to shed some light?

  2. #2
    shirley.williams
    Guest

    Default

    That was something that even I would like to know. If anyone could please share some views about this here.

Similar Threads

  1. EA for Slope direction line indicator
    By rpfslb in forum Ideas for expert advisors
    Replies: 1
    Last Post: 03-20-2016, 17:02
  2. Add alert when more indicator crosses!
    By miafx in forum MQL programming
    Replies: 0
    Last Post: 06-25-2014, 15:12
  3. Put time shift to pivot indicator
    By enjoy in forum Indicators
    Replies: 0
    Last Post: 08-20-2012, 21:57
  4. Free Multi Time Frame MT4 Indicator
    By lianwk in forum Indicators
    Replies: 0
    Last Post: 07-29-2010, 08:06

Tags for this Thread

coding, how to, indicator, 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
  •