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; Originally Posted by rpc hi Amit I have downloaded the file you have mentioned and ...


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
  #371  
Old 17th November 2006, 05:27 PM
Member
 
Join Date: May 2006
Posts: 238
Thanks: 0
Thanked 6 Times in 2 Posts
gobatman2001 is on a distinguished road
Reputation: 26
Arrow Re: Experiments in Technical Analysis

Quote:
Originally Posted by rpc View Post
hi Amit
I have downloaded the file you have mentioned and will go through it as you have mentioned.I will ask any queries that I may have in future.
Your reply to aca_trader has really raised your esteem in my eyes.In this selfish world you truly are a great person.
Thanks for being on this forum
rpc
Hi! rpc,

Please don't emabarass me.

I don't know what else to say, but "Thank you" for your post.

Regards,
Amit
Reply With Quote
Sponsored Links
  #372  
Old 17th November 2006, 05:39 PM
Member
 
Join Date: May 2006
Posts: 238
Thanks: 0
Thanked 6 Times in 2 Posts
gobatman2001 is on a distinguished road
Reputation: 26
Arrow Re: Experiments in Technical Analysis

Quote:
Originally Posted by anjanr View Post
Well, I was evaluating different trading systems and I found that the Swingchartretracement with 38% retracement gave something around 85% hit rate for Nifty stocks from beginning of this year. I am still checking whether I am missing something. This particular indicator is available in Fibotrader. May be Soumya may throw more light.
Anjan
Hi! Anjan,

I just tried the Swing Chart Retracement indicator. I used the default settings, ie Swingsize = 5 & Retracement = 50

I have a separate folder for BTST stocks of ICICI. I ran the filter (Buy call not more than 15 days) on the WEEKLY charts and got a Buy Call for 60 stocks.

Believe it or not, all the 60 stocks are up as of yesterday's closing price.

Need a clarification ...
When you say, 38% retracement, should I use the following settings:

Swingsize= 5
Retracement = 38

Looking forward to your reply & "Thanks a lot" for sharing this with us.

Thanks & regards,
Amit
Reply With Quote
  #373  
Old 17th November 2006, 08:17 PM
Member
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
msldin is on a distinguished road
Reputation: 20
Default Re: Experiments in Technical Analysis

Quote:
Originally Posted by uma_k View Post
Hi msldn
The metastock code for MABIUTS-H was posted by thetraderman in this thread. See message no.345. It has a small error and I have corrected it. The correct code is given below:

p1:=15;{15}
p2:=15;{15}
X:=mov(c,p1,E);
Y:=mov(X,p2,E);{signal}
D:=X-Y;
Buy:=ref(D,-2)>ref(D,-1) AND D>ref(D,-1);
Sell:=ref(D,-2)<ref(D,-1) AND D<ref(D,-1);
Bprice:=If(Buy,O,0);{Buy Price}
Sprice:=If(Sell,O,0);{Sell Price}
Bprice;
Sprice;

I hope this is what you wanted.

Happy trading
***Uma***

thank u for your replay
but i am newbi in ms
can u pls explain to me step by step how i can put this code in ms
Reply With Quote
  #374  
Old 17th November 2006, 10:01 PM
Member
 
Join Date: Aug 2006
Posts: 75
Thanks: 2
Thanked 1 Time in 1 Post
anjanr is on a distinguished road
Reputation: 21
Default Re: Experiments in Technical Analysis

Quote:
Originally Posted by gobatman2001 View Post
Hi! Anjan,

I just tried the Swing Chart Retracement indicator. I used the default settings, ie Swingsize = 5 & Retracement = 50

I have a separate folder for BTST stocks of ICICI. I ran the filter (Buy call not more than 15 days) on the WEEKLY charts and got a Buy Call for 60 stocks.

Believe it or not, all the 60 stocks are up as of yesterday's closing price.

Need a clarification ...
When you say, 38% retracement, should I use the following settings:

Swingsize= 5
Retracement = 38

Looking forward to your reply & "Thanks a lot" for sharing this with us.

Thanks & regards,
Amit
Hi
You hit the bull eye man. Pl choose 38 instead of 50% and the gain improves. In fact, I did some optimization and got swing size 20 and ret 38 as best combination but for real 'swing' trading 5 should be ok. As I mentioned in backtest for nifty stocks from jan 06, 90% of the trade are profitable. Probably we can add other indicators to this and get better. And we are helping each other and pl don't thank me.
Anjan
Reply With Quote
  #375  
Old 17th November 2006, 10:30 PM
Member
 
Join Date: Dec 2005
Location: Hyderabad
Posts: 326
Thanks: 0
Thanked 1 Time in 1 Post
asnavale is on a distinguished road
Reputation: 30
Default Re: Experiments in Technical Analysis

Hi Karthik,

Glad to see you back in the forum with your posts. Thanks for your observations and comments.

Quote:
The main problem with the Mabiuts-H strategy is whipsaws. Too many trades and too many whipsaws. Can we really take all these trades?
It is true that there are too many trades in the MABIUTS-H. Many Whipsaws also. Originally I tried to reduce these with some other indicator but that was making the system more complicated and the advantages in profit making were also reduced. No system is perfect as you have observed. But our aim would be to get closer to a more perfect, or shall I say less imperfect, system. In order to avoid the delay in posting the strategies I decided to keep all the trades and test. In long term results I have as many as 80-100 trades in a pereiod of about 20 months. That works out nearly 2 trades per week on an average, but several trades are on consecutive days or within a couple of days. As members were waiting to know the codes for the four strategies and I was busy with some other work, I posted them hurriedly. I wanted to post some details for each strategy, their merits and demerits and the individual test results. Due to shortage of time I could not do it. In addition, some members wanted to know the reasons for moving average lag. I posted some write up on that. I am preparing the write up on comparison of the four strategies now and post shortly along with results..

I am working out some modifications so that we can reduce the number of trades and specially the whipsaws. But whatever known method I try it turns out to be as ineffective as not trying it. May be I have to come out of the routine thinking line and look at the whole system from some other angle like the Histogram idea. May be many learned and experienced people like you can also come up with some new ideas to improve the system.

Quote:
Did you included commissions and taxes in your back testing.
The summary of results already posted is without commissions and taxes. The next post will include results with commissions and taxes. Some interesting results are there.

Quote:
So in the Mabiuts-K strategy I had included price crossing the last peak ( cross(c,peak(c,2,1) function ) in order to minimize whipsaws. So the Mabiuts K strategy gives less number but more profitable trades.
Here you are mentioning the crossing of peak with the code :
CROSS(PEAK(C,2,1)) added to the BUY condition.
You had given the exploration AFL in Post No. 43 of this thread. I am reproducing it below:

Quote:
("MABIUTS");
Buy=EMA(C,13)>EMA(EMA(C,13),9) AND Cross (C,Peak(C,5,1));
Sell=Cross (EMA(EMA(C,13),9),EMA(C,13));

Filter=Buy OR Sell;
SetOption("NoDefaultColumns", True );
AddColumn( DateTime(), "Date", formatDateTime );
AddTextColumn( FullName(), "Full name", 77 , colorDefault, IIf( Buy, colorGreen, colorRed ) );
AddColumn( IIf( Buy, 66, 83 ), "Signal", formatChar, colorDefault, bkcolor =IIf (Buy,colorGreen, colorRed ));
In this you have added the condition:
CROSS(PEAK(C,5,1)) to the BUY codition.
Now which one is correct? I wanted to ask this question since your earlier post but I think now it is right time to ask.

All the points you have brought out in your latest post are very relevant and I need more such comments from more people so that something more useful can be made out of these discussions.

Regards

-Anant
Reply With Quote
  #376  
Old 17th November 2006, 11:03 PM
Moderator
 
Join Date: Jul 2005
Location: kuwait
Posts: 1,456
Blog Entries: 5
Thanks: 45
Thanked 549 Times in 102 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: 629
Default Re: Experiments in Technical Analysis

Hi Ananth

The peak(c,n,1) function catch the last peak with a change of n%. If we use 5 meaning 5% changes the some of the smaller peaks are ignored. We can use 2% changes to catch the smaller peaks. This gives earlier entry and at the same time more whipsaws. Using 5% avoids whipsaws to some extent but the entry becomes delayed. One can experiment with different values of n. I am trying to change the value of 'n' based on the volatility of the stock under consideration … and still experimenting

Warm regards

Karthik
.
Reply With Quote
  #377  
Old 18th November 2006, 12:16 PM
rpc rpc is offline
Member
 
Join Date: Aug 2005
Posts: 358
Thanks: 3
Thanked 0 Times in 0 Posts
rpc is on a distinguished road
Reputation: 21
Default Re: Experiments in Technical Analysis

hi Karthik
I still have not understood fully the cross(C,Peak(C,5,1) condition .Does it mean the current close should be 5 %above the latest High or latest Close.Please clarify.
I ran MABIUTS on 9/11/06 alongwith additional condition of C > 100 and C < 200 I got 4 stocks of which 2 had close even lower than earlier close and high .I will give the details in my next post.
rpc
Reply With Quote
  #378  
Old 18th November 2006, 04:59 PM
Member
 
Join Date: Dec 2005
Location: Hyderabad
Posts: 326
Thanks: 0
Thanked 1 Time in 1 Post
asnavale is on a distinguished road
Reputation: 30
Default Re: Experiments in Technical Analysis

Thank you Karthik for the clarification. I was wondering why you were using 2% in one code and 5% in another. Now I understood that you are experimenting with different values. Thanks once again for prompt reply and clarifying the doubt.

Regards

-Anant
Reply With Quote
  #379  
Old 18th November 2006, 05:38 PM
Member
 
Join Date: May 2006
Posts: 238
Thanks: 0
Thanked 6 Times in 2 Posts
gobatman2001 is on a distinguished road
Reputation: 26
Arrow Re: Experiments in Technical Analysis

Quote:
Originally Posted by rpc View Post
hi Karthik
I still have not understood fully the cross(C,Peak(C,5,1) condition .Does it mean the current close should be 5 %above the latest High or latest Close.Please clarify.
I ran MABIUTS on 9/11/06 alongwith additional condition of C > 100 and C < 200 I got 4 stocks of which 2 had close even lower than earlier close and high .I will give the details in my next post.
rpc
Hi!

Karthik, please do reply as this has been addressed to you.

rpc, there is something wrong with the Mabiuts template (I think, Let's wait for a confirmation from Karthik).

Attached is a chart of BANKINDIA. I have marked 2 arrows towards the candles that the Mabiuts template should have given a Buy signal.

Karthik, please have a look at the chart that is attached and let us know if I am right or wrong.

More later ...

Thanks & regards,
Amit
Attached Images
File Type: png Mabiuts.png (32.4 KB, 97 views)
Reply With Quote
  #380  
Old 18th November 2006, 09:44 PM
Moderator
 
Join Date: Jul 2005
Location: kuwait
Posts: 1,456
Blog Entries: 5
Thanks: 45
Thanked 549 Times in 102 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: 629
Default Re: Experiments in Technical Analysis

Quote:
Originally Posted by rpc View Post
hi Karthik
I still have not understood fully the cross(C,Peak(C,5,1) condition .Does it mean the current close should be 5 %above the latest High or latest Close.Please clarify.
I ran MABIUTS on 9/11/06 alongwith additional condition of C > 100 and C < 200 I got 4 stocks of which 2 had close even lower than earlier close and high .I will give the details in my next post.
rpc
Hi rpc

The peak(c,n,1) function detects the last peak. The n values which is 5 represents the percentage change for detection of peak. If we have higher % then bigger peaks are detected foregoing some of the smaller peaks and lower % values detects the smaller peaks as well.

Here what we are trying to do by the condition cross(c, peak(c,5,1) is that we are checking if the close value is greater than the the value at the last peak. In other words we are ensuring that the stock is going to make a higher high. This helps are to catch the trend early and also when the stock breaks out of a range. My experiments with various values of n show that 2% should be adequate for most stocks. I am enclosing a chart showing the same for better understanding.

Hope this is clear. If not feel free to ask.

warm regards

Karthik

Last edited by karthikmarar; 20th May 2008 at 12:27 AM.
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 28 7th November 2008 07:37 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 07:39 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