Registered User Joined: 6/30/2017 Posts: 1,227
|
Bruce,
I assume coloring Price History is still a "no" in v17.
I've plotted Elder's Impulse colors in a horizontal row of dots in the past, and I recently found the forum post that showed how to color a MACD Histogram with the Impulse colors (very cool).
Is it possible to plot colored dots "a little above" or "a little below" Price History? Don't want to get too specific unless it's doable.
The colored MACD Histogram and rows of dots are both great, but getting the colors closer in proximity to the actual Price History can save miles of wear and tear on the old eyeballs from looking up and down, and up and down, and ...
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
I meant directly on the same pane as Price History, but you probably already got that. :)
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm assuming you are using the following when plotting the dots on price.
You will want to plot the following Custom PCF Indicators in the same pane and scale as price.
- Plot Style: Dot
- Plot Color: Green
- Period: 1
- Formula: C / ABS(C > XAVGC13.1 AND 119 * C + 765 * XAVGC12.1 > 65 * XAVGC26.1 + 819 * XAVGC9.1)
- Plot Style: Dot
- Plot Color: Red
- Period: 1
- Formula: C / ABS(C < XAVGC13.1 AND 119 * C + 765 * XAVGC12.1 < 65 * XAVGC26.1 + 819 * XAVGC9.1)
- Plot Style: Dot
- Plot Color: Blue
- Period: 1
- Formula: C / ABS(SGN(C - XAVGC13.1) <> SGN(119 * C + 765 * XAVGC12.1 - 65 * XAVGC26.1 - 819 * XAVGC9.1))
See the C at the beginning of each formula? That is where the dot plots. So you just need to put a different formula to get it to plot someplace else. So if you wanted the dot to plot $0.01 above the high, you would replace:
C
With:
(H + .01)
Which would make the green dot Formula:
(H + .01) / ABS(C > XAVGC13.1 AND 119 * C + 765 * XAVGC12.1 > 65 * XAVGC26.1 + 819 * XAVGC9.1)
So the final formula is really going to depend on exactly where you want the dot to plot.
If you just wanted to plot a line of dots, you could replace the C with 0 (zero and plot the Custom PCF Indicators in their own pane (probably in the same scale) instead of in the price pane.
And if you wanted to plot a histogram using the proper colors, you could replace the C with the formula for a MACD Histogram (in parentheses).
(MACD12.26 - XAVG(MACD12.26, 9))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Cool, thanks Bruce!
Knowing how the formula works, and how to modify it, is worth the price of admission. Even better than getting to use contractions again. Love my apostrophes.
Take the rest of the day off. :)
' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Btw, you're awesome. Get it?!?
(I'll stop now).
Sorry, too much coffee today.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|