Good day,
I am trying to set up a simple ZigZagPercentTrend alert with the intention of getting an alert when the output value (value is either +1 or -1) flips. Can't seem to get it working. In Study Alerts, I have the following thinkscript (created with help of wizard):
ZigZagTrendPercent("reversal amount" = 2.0) is greater than 0
After enabling "Plot on the Base Subgraph" to visualize the output of this script, a flatline is shown throughout the whole timeline instead of several valleys & troughs. Help would be appreciated.
I am trying to set up a simple ZigZagPercentTrend alert with the intention of getting an alert when the output value (value is either +1 or -1) flips. Can't seem to get it working. In Study Alerts, I have the following thinkscript (created with help of wizard):
ZigZagTrendPercent("reversal amount" = 2.0) is greater than 0
After enabling "Plot on the Base Subgraph" to visualize the output of this script, a flatline is shown throughout the whole timeline instead of several valleys & troughs. Help would be appreciated.