logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
indexarb  
#1 Posted : Friday, January 11, 2013 8:19:55 AM(UTC)
indexarb

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/12/2012(UTC)
Posts: 44

Hi

I was hoping someone could help me code a moving average indicator for a P&F chart in metastock, the only example i have found is here, but cant seem to get it to work in metastock even though i follow the "copy and paste example"

Any help would be much appreciated.



Point and figure (P&F) charting has always been touted as a stand-alone charting technique, requiring no other indicators nor any other confirmation. But it's always good to have confirmation, and to that end, here's a customized simple moving average (SMA) that may be useful.

Because P&F is unique in that it has no linear time base (days, weeks, or months), our plain-vanilla SMA will not work. This is because the standard simple moving average is based upon a time period (days, weeks, or months) that fits the standard bar (or candlestick) charts beautifully. Without a linear time base, however, a simple moving average overlay on a P&F chart would have no relationship to the changing price pattern of the plotted Xs and Os in which Xs denote a rise in price and Os a decline.

The input to a moving average formula is normally the close of the bar (day, week, or month), although the high or low may be used if desired. To construct the SMA, we will use the midpoint of the P&F column, which is analogous to the midpoint of a conventional daily or weekly bar. A conventional MA is constructed by adding together the observations over the period desired and dividing the sum by the number of observations. We will follow the same procedure to construct our P&F simple moving average.

The first step is to enter the indicator builder of our charting program. If the program allows the construction of customized indicators, it will usually have a "paste function" utility. Here are two examples:

In SuperCharts, the moving average function is AVERAGE (PRICE, PERIOD). Normally, for PRICE you would enter H, C, or L. We will enter (H+L)/2 (the midpoint of the column). For PERIOD we will enter 5 for one average, and 10 for the other.

In MetaStock, the moving average function is MOV ( DATA ARRAY, PERIOD, S, E). For DATA ARRAY we will enter (H+L)/2, for PERIOD we will enter 5 or 10, and S for simple.

Finally, we will overlay our P&F chart with the two simple moving averages we've just constructed. We will also change the standard three-box P&F reversal to a one-box reversal. This provides a greater array of Xs and Os for a more accurate display of the moving averages. Since I chose a one-box reversal, I chose five- and 10-period moving averages for my trials. (I have not yet experimented with three-box reversals. If you do, I'd appreciate an email with your results.)



Thanks in advance


indexarb  
#2 Posted : Monday, January 14, 2013 7:44:26 AM(UTC)
indexarb

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/12/2012(UTC)
Posts: 44

Anyone?
wabbit  
#3 Posted : Monday, January 14, 2013 5:12:54 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Please don't bump posts... if someone has the answer they will post it. No-one works here full-time, we're all members just like you.

Where is your code? What happens when you follow the instructions to use the MS Mov() function on your P&F chart? What is it that you're missing?

Did you try to email Rudy Teseo, the author of the article you reproduced (without recognition)?



wabbit [:D]

eddie.m  
#4 Posted : Monday, January 21, 2013 7:05:00 PM(UTC)
eddie.m

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/20/2012(UTC)
Posts: 152

Was thanked: 1 time(s) in 1 post(s)

Hi there,

If you want to plot a Moving Average on a P&F charts, geez, you must be in a very bad shape.

P&F charts are not famous for MAs, RSIs, MACDs, ADXs, Stochastics, CCIs, MESA Sine waves, Elliott waves, Parabolic SARs, ATRs, Bollinger Bands, etc. because such gimmicks came AFTER the P&F trading system has been invented. (I don't even like to have Volume on my P&F charts, far less bar chart Indicators! ... )

One may say that P&F contributed to the increased interest on the part of newer and newer investors to start investing. They had a tool to rely on. Let’s say that P&F brought technical analysis to the doorstep of computerized market analysis. For that alone, we must show respect to the all-in-one Indicator, trading system and charting style which P&F is.

Did you make money with MAs on bar charts? If yes, keep doing what you’re doing. If not, what makes you believe you will make money with MA on P&F if you could not make money with MA on regular bar charts?

How about you paper trade P&F for six months (or better, for as long as it takes for you to get the feel for it) without changes to its rules and ONLY AFTER you make US$500,000 you begin to look into the fancy things the bar charts offer?

How does it sound? [:D]

Users browsing this topic
Guest (Hidden)
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.