How do I verify the existence of a prior trend, say over the last 8 bars, without using moving averages for an indicator?
I found the following screener code below but want to convert it into an indicator and not sure how to test (Increase /NormalV), as I don’t know what it should compare against?
1
2
3
4
5
6
7
8
9
10
11
12
REM Determine the "force" of the preceding up trend.
// Find the lowest point over the last 8 bars
Low8=lowest[8](Low)
// Determine the increase since this point
Increase=Close-Low8
// Determine the normal volatility of the security (median of true range over the last 3
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.