- Topics: 63
- Replies: 557
- Posts: 620
Tom McClellan’s 9 Day Up-Down Oscillator (as seen here) can be calculated with the following BARSTRUE() function:
V1 = BARSTRUE(CLOSE() IsUp, LOOKBACK=9)/9 * 100;
MA(V1, BARS=3, CALC=Close)
Turn it in to a boolean (ie MA(V1, BARS=3, CALC=Close) > 70) to colour the bars. Workbook attached.
You must be logged in to access attached files.