Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

EASY PCF and indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
happy1398
Posted : Monday, January 28, 2008 12:11:02 PM
Registered User
Joined: 11/14/2005
Posts: 77
Hi,
I would like to plot the following indicator for my pcf, please advise.

1. Heiken Ashi average
Haclose = (open + close + low + high) /4
Haopen = (haopen (pervious bar)+ haclose (previous bar))/2
Hahigh = max (high, haopen)
Halow = min (Low, haopen)

How can I plot it as "bar" chart?

2. Price channel
- Top channel = 5 period, high
- Bottom channel = 5 period, low

Thank you
Bruce_L
Posted : Monday, January 28, 2008 2:42:23 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The following Personal Criteria Formulas should provide the correct values:

HaClose:

(O + C + L + H) / 4

HaOpen:

(XAVGO3.1 + XAVGC3.1 + XAVGL3.1 + XAVGH3.1) / 4

HaHigh:

(4 * H + XAVGO3.1 + XAVGC3.1 + XAVGL3.1 + XAVGH3.1 + ABS(4 * H - XAVGO3.1 - XAVGC3.1 - XAVGL3.1 - XAVGH3.1)) / 8

HaLow:

(4 * L + XAVGO3.1 + XAVGC3.1 + XAVGL3.1 + XAVGH3.1 - ABS(4 * L - XAVGO3.1 - XAVGC3.1 - XAVGL3.1 - XAVGH3.1)) / 8

I do not know of a way to use these values when constructing Bars or Candlesticks in TeleChart.

To Plot your Price Channel, please try the following:

Select Chart Template | Add Indicator | Indicator | Top.
- Visible: Checked
- Center Zero Line: Unchecked
- Plot using price scale: Checked
- Smoothing Average: 1
- Average Type: Doesn't matter (because the Smoothing Average is 1).
- Indicator Formula: MAXH5

Select Chart Template | Add Indicator | Indicator | Top.
- Visible: Checked
- Center Zero Line: Unchecked
- Plot using price scale: Checked
- Smoothing Average: 1
- Average Type: Doesn't matter (because the Smoothing Average is 1).
- Indicator Formula: MINL5

You may wish to review the following:

Plotting Custom Indicators with Examples
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.