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
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue