Registered User Joined: 10/2/2008 Posts: 16
|
Hi,
How do I plot a 1 deviation line and 2 deviation line on a 10 period lookback for the current price?
Au197
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (Au197) How do I plot a 1 deviation line ... on a 10 period lookback for the current price?
Please try the following to Plot 10-Period Standard Deviation:
Select Chart Template | Add Indicator | Indicator.
- Visible: Checked
- Center Zero Line: Unchceked
- Plot using price scale: Unchecked
- Smoothing Average: 1
- Average Type: Doesn't matter (because the Smoothing Average is 1)
- Indicator Formula: SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 - 10 * AVGC10 ^ 2) / 9)
QUOTE (Au197) How do I plot a ... 2 deviation line on a 10 period lookback for the current price?
Please try the following to Plot 2 times the 10-Period Standard Deviation:
Select Chart Template | Add Indicator | Indicator.
- Visible: Checked
- Center Zero Line: Unchceked
- Plot using price scale: Unchecked
- Smoothing Average: 1
- Average Type: Doesn't matter (because the Smoothing Average is 1)
- Indicator Formula: 2 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 - 10 * AVGC10 ^ 2) / 9)
It should be noted that these Indicators will actually line up with each other as they are not being Plotted on the same Scale (they are both autoscaled). You may wish to review the following:
Plotting Custom Indicators with Examples
Modelling Bollinger Bands (& Standard Deviation) in a TC PCF
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|