TradingView
JayJayTrades1911
3 feb 2023 05:45

Premium/Discount Zone Buy/Sell Indicator JMJ 

Gold/U.S. DollarFXCM

Beskrivning

This indicator calculates whether the opening price is in a premium or discount zone, based on the specified premiumThreshold and discountThreshold values. A premium zone is defined as when the difference between the high price and the opening price divided by the opening price is greater than or equal to premiumThreshold. A discount zone is defined as when the difference between the opening price and the low price divided by the opening price is less than or equal to discountThreshold. The premium and discount signals are plotted as green and red triangles, respectively.
Kommentarer
pibrewer
Thanks for posting.... can I setup alerts as to when it enters a discount or premium zones? If so, can you leave an example? Thanks
Mer