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.
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.
Comment