♥ 0 |
Hi Pete, I tried to setup a RSI daily study and managed to plot the study after reading one of your older post. However that didn’t work for alert as there are recursive references. Is there any alternative of having the alert setup for RSI daily? My code below: input length = 14; def NetChgAvg = MovingAverage(averageType, close(period = AggregationPeriod.DAY) – close(period = AggregationPeriod.DAY)[1], length); def RSI = 50 * (ChgRatio + 1); ## The RSICross is meant to signal only 1 as Oversold and stay there until the next signal 0 as overbought, vice versa. So I only receive signal when there is a change of signal. def RSICross = if RSI crosses above overSold then 1 else if RSI crosses below overBought then 0 else RSICross from 1 bar ago;
Marked as spam
|
Private answer
Same answer I provided for a previous post: https://www.hahn-tech.com/ans/how-to-set-parabolicsar-alert-on-smsmobileemail-step-by-step/ Take some time and search the word “recursion” or “recursive” on the forum. You will get all the details needed to understand the problem.
Marked as spam
|
Please log in to post questions.