Traderji.com - Discussion forum for Stocks Commodities & Forex

Experiments in Technical Analysis

Discuss Experiments in Technical Analysis at the Technical Analysis within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Hi Friends It has been a long time since I actively participated in the forum. ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > METHODS & STRATEGIES > Technical Analysis

Notices

Technical Analysis Discussion of all the principles involved in technical analysis.


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1021  
Old 23rd September 2007, 10:48 PM
Moderator
 
Join Date: Jul 2005
Location: kuwait
Posts: 1,448
Blog Entries: 5
Thanks: 37
Thanked 476 Times in 92 Posts
karthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to all
Reputation: 556
Default Re: Experiments in Technical Analysis

Hi Friends

It has been a long time since I actively participated in the forum. The forum does look a lot different now. Tipsters are aplenty and we even have daily horoscopes. Looks like what is lacking is an agony aunt to answer personal problems

I was a little confused on whether there would be any point in continuing this thread. Anyway a little stuff for those who still believes in conventional TA.

Let us keep aside trading systems for a while and look at some indicators. First let me remind you that all my work is aimed towards positional trades and may not be applicable to other types of trades.

The most difficult question for trend followers is whether the stock is trending or ranging. We try to use many indicators like the ADX to judge whether the stock is trending or ranging. Let us try to add one more to our arsenal of Indicators.

We will use a statistical formula commonly known as the z score. The z score indicates how many standard deviation a data is above or below the mean value. In terms of stock prices the z score would indicate how many standard deviation a days price is above or below a the average price. The z score is calculated by dividing the difference between the close and average by the standard deviation of the close itself.

When a stock is trending up the z score is increasing and generally is above one standard deviations from the average. During a downtrend the z score will be below one standard deviations from the average. In a ranging market the z score would be between +1 and –1 standard deviation.

The z score normalizes the prices over a period. We will select three months as the period for normalization.( 60 days assuming 20 trading days per month)

So the z score formula would be C-MA(C,60)/ Stddev(C,60).

Of course, we have to christen this Indicator. I prefer to call it Normalized Price Oscillator or NPO.

We will plot the NPO with lines corresponding 1, 2 and 3 standard deviation. You will notice that during up trends the NPO is generally above the +1 line and in a downtrend the NPO is generally below the –1 line. During a ranging market the NPO wanders between the +1 and –1 line. Strong trends are indicated when the NPO is above or below the two standard deviation lines. I am enclosing a chart of the NPO. More on this later.

warm regards

Karthik

Last edited by karthikmarar; 20th May 2008 at 12:38 AM.
Reply With Quote
  #1022  
Old 23rd September 2007, 10:50 PM
Member
 
Join Date: Dec 2006
Posts: 1,000
Thanks: 63
Thanked 48 Times in 32 Posts
ratan jain will become famous soon enough
Reputation: 76
Default Re: Experiments in Technical Analysis

I like the agony aunt part

Dear forum......my girlfriend only allows me to kiss...no further! Please advise
Reply With Quote
  #1023  
Old 23rd September 2007, 11:22 PM
Moderator
 
Join Date: Nov 2005
Posts: 9,388
Thanks: 552
Thanked 1,134 Times in 479 Posts
uasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud of
Reputation: 1206
Default Re: Experiments in Technical Analysis

karthik,

Nice to see your post ,as usual trying to help us.

Asish
Reply With Quote
  #1024  
Old 24th September 2007, 05:48 AM
Member
 
Join Date: Dec 2005
Posts: 659
Thanks: 253
Thanked 137 Times in 71 Posts
lvgandhi has a spectacular aura aboutlvgandhi has a spectacular aura about
Reputation: 161
Default Re: Experiments in Technical Analysis

Quote:
Originally Posted by karthikmarar View Post
Hi Friends

It has been a long time since I actively participated in the forum. The forum does look a lot different now. Tipsters are aplenty and we even have daily horoscopes. Looks like what is lacking is an agony aunt to answer personal problems

I was a little confused on whether there would be any point in continuing this thread. Anyway a little stuff for those who still believes in conventional TA.

Let us keep aside trading systems for a while and look at some indicators. First let me remind you that all my work is aimed towards positional trades and may not be applicable to other types of trades.

The most difficult question for trend followers is whether the stock is trending or ranging. We try to use many indicators like the ADX to judge whether the stock is trending or ranging. Let us try to add one more to our arsenal of Indicators.

We will use a statistical formula commonly known as the z score. The z score indicates how many standard deviation a data is above or below the mean value. In terms of stock prices the z score would indicate how many standard deviation a days price is above or below a the average price. The z score is calculated by dividing the difference between the close and average by the standard deviation of the close itself.

When a stock is trending up the z score is increasing and generally is above one standard deviations from the average. During a downtrend the z score will be below one standard deviations from the average. In a ranging market the z score would be between +1 and –1 standard deviation.

The z score normalizes the prices over a period. We will select three months as the period for normalization.( 60 days assuming 20 trading days per month)

So the z score formula would be C-MA(C,60)/ Stddev(C,60).

Of course, we have to christen this Indicator. I prefer to call it Normalized Price Oscillator or NPO.

We will plot the NPO with lines corresponding 1, 2 and 3 standard deviation. You will notice that during up trends the NPO is generally above the +1 line and in a downtrend the NPO is generally below the –1 line. During a ranging market the NPO wanders between the +1 and –1 line. Strong trends are indicated when the NPO is above or below the two standard deviation lines. I am enclosing a chart of the NPO. More on this later.

warm regards

Karthik
Thanks Mr.Karthik.
Is it AB? If so can we get the afl for this?
Reply With Quote
  #1025  
Old 24th September 2007, 08:46 AM
Member
 
Join Date: Sep 2004
Posts: 1,286
Thanks: 430
Thanked 605 Times in 251 Posts
rkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to behold
Reputation: 668
Default Re: Experiments in Technical Analysis

Quote:
Originally Posted by ratan jain View Post
I like the agony aunt part

Dear forum......my girlfriend only allows me to kiss...no further! Please advise
Have patience!!!! Also dont stop persuing.
Reply With Quote
  #1026  
Old 24th September 2007, 10:53 PM
Moderator
 
Join Date: Jul 2005
Location: kuwait
Posts: 1,448
Blog Entries: 5
Thanks: 37
Thanked 476 Times in 92 Posts
karthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to all
Reputation: 556
Default Re: Experiments in Technical Analysis

Hi All

Continuing on the NPO…..

Our friend CV had posted a question on this indicator, but chose to delete the same. I wonder why he deleted that as the post had genuine question. He had asked about the effect of Tails, shocks and about the lag of the indicator. In my opinion as we are using a long-term average Tails and shocks may not have a big impact on this indicator unlike the ADX. Since we are again using moving average and a long period the NPO is lagging. But it is quite suitable for a positional trader. A positional trader has to accept a reasonable peak to close draw down, I think.

The NPO can be used as a complimentary Indicator only. Trying to trade with NPO alone could be quite dangerous. But NPO does give a good idea on trend and ranging stocks.

One thing we have to remember is that all indicators are based on history and history does have impact on the future movement of the indicator. Consider a stock ranging for quite some time and it starts moving up. Most indicators including MACD and ADX would immediately catch this movement. But if the stock has been in a long downtrend and reaches a bottom and immediately starts rallying, then most indicators are slow to react. Hence try to read the indicators considering the immediate past. I feel this fact does have a large impact on scans based on indicators and back testing too…

Enclosing the afl for the NPO Indicator…

I have smoothed the raw NPO with a technique, which introduces least lag.

You can experiment with different periods, different parameters like average price instead of Close etc.

Happy experimenting. Do share your views..

Warm regards

Karthik

Last edited by karthikmarar; 20th May 2008 at 12:45 AM.
Reply With Quote
  #1027  
Old 25th September 2007, 12:21 AM
Moderator
 
Join Date: Nov 2005
Posts: 9,388
Thanks: 552
Thanked 1,134 Times in 479 Posts
uasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud of
Reputation: 1206
Default Re: Experiments in Technical Analysis

Karthik,
Your this part
"I have smoothed the raw NPO with a technique, which introduces least lag." ,i have a suggestion.
As you have used a type of 'Autoregressive integrated moving average' model ,you used the Vector of Error ,this can be termed as VARIMA model,but to avoid the seasonality effect ( long range dependence) in the Time Series a Fractional ARIMA model can be tried,for Normalization,my knowledge of Ami Lang is zero,hence just a suggestion.
Jesse is very right but your logic of TF is not undisputed.
As usual another 'Gem' of contribution from you.

Asish
Reply With Quote
  #1028  
Old 25th September 2007, 01:03 AM
Member
 
Join Date: Jul 2004
Location: Retireville
Posts: 1,646
Blog Entries: 1
Thanks: 32
Thanked 189 Times in 62 Posts
CreditViolet has a spectacular aura aboutCreditViolet has a spectacular aura aboutCreditViolet has a spectacular aura about
Reputation: 246
Default Re: Experiments in Technical Analysis

Quote:
Originally Posted by karthikmarar View Post
Our friend CV had posted a question on this indicator, but chose to delete the same. I wonder why he deleted that as the post had genuine question. He had asked about the effect of Tails, shocks and about the lag of the indicator. In my opinion as we are using a long-term average Tails and shocks may not have a big impact on this indicator unlike the ADX. Since we are again using moving average and a long period the NPO is lagging. But it is quite suitable for a positional trader. A positional trader has to accept a reasonable peak to close draw down, I think.
hi Karthik

I thought about it for a while and figured out the answers to the Qs that I had, so decided to delete my post.The indicator is indeed quite useful if used correctly, I am currently looking at variations of it on intraday data.

Cheers
Reply With Quote
  #1029  
Old 25th September 2007, 03:25 AM
Moderator
 
Join Date: Nov 2005
Posts: 9,388
Thanks: 552
Thanked 1,134 Times in 479 Posts
uasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud ofuasish has much to be proud of
Reputation: 1206
Default Re: Experiments in Technical Analysis

Thank you Karthik ,a modification on your Z score,is some times working as confirmatory & some times as Leading indicator,on 1min chart.

Last edited by uasish; 10th August 2008 at 11:46 PM.
Reply With Quote
  #1030  
Old 25th September 2007, 10:05 AM
Member
 
Join Date: Dec 2004
Posts: 771
Thanks: 1
Thanked 5 Times in 5 Posts
amarnath is on a distinguished road
Reputation: 38
Default Re: Experiments in Technical Analysis

Quote:
Originally Posted by karthikmarar View Post
Hi Friends

It has been a long time since I actively participated in the forum. The forum does look a lot different now. Tipsters are aplenty and we even have daily horoscopes. Looks like what is lacking is an agony aunt to answer personal problems

I was a little confused on whether there would be any point in continuing this thread. Anyway a little stuff for those who still believes in conventional TA.

Let us keep aside trading systems for a while and look at some indicators. First let me remind you that all my work is aimed towards positional trades and may not be applicable to other types of trades.

The most difficult question for trend followers is whether the stock is trending or ranging. We try to use many indicators like the ADX to judge whether the stock is trending or ranging. Let us try to add one more to our arsenal of Indicators.

We will use a statistical formula commonly known as the z score. The z score indicates how many standard deviation a data is above or below the mean value. In terms of stock prices the z score would indicate how many standard deviation a days price is above or below a the average price. The z score is calculated by dividing the difference between the close and average by the standard deviation of the close itself.

When a stock is trending up the z score is increasing and generally is above one standard deviations from the average. During a downtrend the z score will be below one standard deviations from the average. In a ranging market the z score would be between +1 and –1 standard deviation.

The z score normalizes the prices over a period. We will select three months as the period for normalization.( 60 days assuming 20 trading days per month)

So the z score formula would be C-MA(C,60)/ Stddev(C,60).

Of course, we have to christen this Indicator. I prefer to call it Normalized Price Oscillator or NPO.

We will plot the NPO with lines corresponding 1, 2 and 3 standard deviation. You will notice that during up trends the NPO is generally above the +1 line and in a downtrend the NPO is generally below the –1 line. During a ranging market the NPO wanders between the +1 and –1 line. Strong trends are indicated when the NPO is above or below the two standard deviation lines. I am enclosing a chart of the NPO. More on this later.

warm regards

Karthik

Hi Karthik,

Sorry for hacking this thread or its topic in middle, in general Z score is often refered to or used to estimate profitunity or profitability of a model or system, pls correct me if i am wrong

Z Score for a trading system is calculated by the following formula:

Z=(N*(R-0.5)-P)/((P*(P-N))/(N-1))^(1/2)where:

N - total amount of trades in a series;
R - total amount of series of profitable and losing trades;
P = 2*W*L;
W - total amount of profitable trades in the series;
L - total amount of losing trades in the series.
Reply With Quote
Sponsored Links

Reply

Bookmarks


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads for: Experiments in Technical Analysis
Thread Thread Starter Forum Replies Last Post
Technical Analysis Course snowy Technical Analysis 25 29th December 2007 10:19 PM
Technical analysis course sh50 Seminars & Tutors 18 10th June 2007 03:46 PM
Hello everybody.Technical Analysis vijay chauhan Introductions 2 30th May 2007 03:09 PM
Technical Analysis crosscurrency Forex 0 30th October 2005 11:00 PM


All times are GMT +5.5. The time now is 04:44 AM.

Indemnity, Disclaimer & Disclosure Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum Rules Disclaimer & Disclosure and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum.
Disclaimer: Trading or investing in stocks & commodities is a high risk activity. Any action you choose to take in the markets is totally your own responsibility. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein. The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.
 


Copyright © 2001 - 2008, Traderji.com All Rights Reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com