Announcement

Collapse
No announcement yet.

Alert Pop-ups code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alert Pop-ups code

    Hi,

    I have written a piece of code that generates buy and sell signals based on a few indicators and different criteria. The buy/sell comes up as a dot on the price action using the drawShape. function.

    What i'm trying to do is get a pop-up to appear on the screen when one of these signals is generated. I can write Alert.Sound("...wav") but i guess what i'm looking for is an Alert.POPUP function.

    Could someone please point me in the right direction to achieve this?

    I've tried using displayError but to no joy.
    As a stop gap measure, i've written in a debugPrint into the code so I can see the signals when generated in the formula output window but this is not satisfactory going forward.

    Thank you in advance.

    DP.

  • #2
    Hi,

    Try Alert.addToList()

    at:



    Wayne

    Comment


    • #3
      Thanks for the quick reply.

      Where abouts is the "list" stored?

      Comment


      • #4
        In the menu bar select "Tools"-"EFS"-"Alert List".

        This will show you the list of triggered alerts.

        However, in real time, whenever an alert is triggered the "Alert List" you selected above pops up to let you know it was triggered. It displays the text you set in the parameters of the function. You can have it print things like the date, price, trigger value, etc.

        Do a forum search for Alert.addToList(), I think you will find all you need.

        Wayne

        Comment

        Working...
        X