PPS audio alert


0
0

Hi Pete, Is there a way to get the audio alert when the PPS buy sell signal generates?

RESOLVED
Marked as spam
Posted by (Questions: 49, Answers: 62)
Asked on September 20, 2018 7:23 pm
694 views
0
If you can give me the directions on how to add it will be highly appreciated. I have PPS study on the chart. If I go into edit studies, open PPS, I do not see the think script editor to add the above code.
( at September 21, 2018 8:57 am)
0
Private answer

This should do the trick:

def buy = !IsNaN(PPS().”buySignal”);
def sell = !IsNaN(PPS().”SellSignal”);
Alert(buy, "PPS Buy", Alert.BAR, Sound.RING);
Alert(sell, "PPS Sell", Alert.BAR, Sound.RING);

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on September 21, 2018 7:52 am
0

just tried again, it has been added as a new study in my studies of the chart, i will see if it rings or not?
I went to edit studies>create>removed the text>copied your code>ok>apply and now I see it as a new study. Is that correct?

( at September 21, 2018 3:43 pm)
0

Yep, that should do it.

( at September 21, 2018 7:31 pm)
0
Pete...is there a way to make a custom alert for PPS ..I am watching 8 futures currencies 6A, 6B, 6C etc.... I made 8 alerts to bring me to the currrency as PPS triggers as oppossed to watching 8 charts to find the trigger...I was able to make the 8 alerts...however,,,I cant get ehm recognixed inside the alerts drop down box which gives you the standard 4 sounds...thanks for any help...Joules
( at May 7, 2020 8:03 am)
0
Works fine when I test it. Probably need more details. There are multiple places and tools where alerts can be created. For the Study Alert on the MarketWatch tab, this code is not compatible.
( at May 7, 2020 9:46 am)