- ago
How does WL define timeseries turns up and turns down? Does it look at only the last three data points? Say the last three data points are v1 v2 v3, does turn up mean v1>v2 <v3?
0
269
Solved
3 Replies

Reply

Bookmark

Sort
- ago
#1
QUOTE:
does turn up mean v1>v2 <v3?

I "think" that's correct. That's why I don't use it.

I would recommend using ConsecUp(bars.Close,1) > 2 instead. You might even try ConsecUp(bars.Close,2) > 3 instead.

If you're looking for divergence over time (e.g. Is the RSI diverging from Price?), then all these suggestions are wrong. You should be using the PeakTroughCalculator instead, and setting your reversal amount accordingly. In this case, the reversal may take several bars as in a ZigZag strategy. And the PeakTroughCalculator also has a divergence method you can use in your RSI buy setup.
0
Best Answer
Cone8
 ( 5.88% )
- ago
#2
Yes, correct.
1
- ago
#3
Thanks a lot @superticker for the information on the new caluations. I'll take a look.
Thanks @Cone for confirmation.
1

Reply

Bookmark

Sort