Standard Deviation Channels don’t work in MarketWatch -> StudyAlerts


0
0

I have tried several standard deviation channels in the MarketWatch -> StudyAlert. I keep getting the error “no such function” for TTM_LRC, StandardDevChannel, LinearRegChVar, etc and none of them work in MarketWatch -> StudyAlert. I even tried creating a custom study and in there calling TTM_LRC, StandardDevChannel, LinearRegChVar, etc, and that did not work either.

Ex Custom Study:

#_TDS_ALERT_TTM_LRC
def channelLB1 = TTM_LRC(“price” = CLOSE, “length” = 38, “beginDate” = 0, “beginTime” = 0, “numDevDn1” = -1.0, “numDevDn2” = -2.0, “numDevUp1” = 1.0, “numDevUp2” = 2.0, “extLeft” = No, “extRight” = Yes).LB1;

def channelLB2 = TTM_LRC(“price” = CLOSE, “length” = 38, “beginDate” = 0, “beginTime” = 0, “numDevDn1” = -1.0, “numDevDn2” = -2.0, “numDevUp1” = 1.0, “numDevUp2” = 2.0, “extLeft” = No, “extRight” = Yes).LB2;

plot Data = (CLOSE < channelLB1)
OR (CLOSE < channelLB2)
;

Ex MarketWatch -> StudyAlert:
plot Data = _TDS_ALERT_TTM_LRC();

Gives the error: Error processing referenced script _TDS_ALERT_TTM_LRC: No such function: TTM_LRC at 1:13
Expected double at 1:6

Please advise how to use a Standard Deviation Channel in MarketWatch -> StudyAlert.

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on February 18, 2019 12:29 pm
282 views
0
( at March 14, 2019 9:21 am)
0
Private answer

Try building this as a custom scan. From there you can create a dynamic alert from the scan. I doubt there is any way to get the LRC working as a Study Alert in the MarketWatch tab.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on February 27, 2019 11:43 am