Results 1 to 2 of 2
 1 Attachment(s)    

Thread: NON LAG dot

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default NON LAG dot

    hello,

    I'm trying to add sound and visual alerts to this indicator but the tricky part is that I only want it to alert me when I have a trade open for that particular pair. I have no idea how to set this condition. the alert should sound when the dot changes colors from the previous one...
    could you help me out?
    Attached Files Attached Files

  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by RBI View Post
    hello,

    I'm trying to add sound and visual alerts to this indicator but the tricky part is that I only want it to alert me when I have a trade open for that particular pair. I have no idea how to set this condition. the alert should sound when the dot changes colors from the previous one...
    could you help me out?
    Hi RBI,

    if(DnBuffer[shift+1]==EMPTY_VALUE&&DnBuffer[shift]!=EMPTY_VALUE)...

    and

    if(UpBuffer[shift+1]==EMPTY_VALUE&&UpBuffer[shift]!=EMPTY_VALUE)...

    That should work.

Tags for this Thread

add, how to, indicator

Posting Permissions

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