Traderji.com - Discussion forum for Stocks Commodities & Forex

Discuss, backtest & implement pivot based trading systems here

Discuss Discuss, backtest & implement pivot based trading systems here at the Technical Analysis within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Dear all, Scope and purpose of this thread is to discuss, backtest and implement pivot ...


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
  #1  
Old 29th July 2008, 03:06 PM
aad aad is offline
Member
 
Join Date: Jul 2006
Posts: 244
Thanks: 6
Thanked 23 Times in 7 Posts
aad is on a distinguished road
Reputation: 46
Default Discuss, backtest & implement pivot based trading systems here

Dear all,

Scope and purpose of this thread is to discuss, backtest and implement pivot based entry-exit-money management and position sizing systems.

To start with, I have coded a system in Amibroker for entry-exit and money management by drawing inspiration from Saint and Karthikmarar.

Notes about this system :
1. It works for intraday on all time-frames, not suitable / tested for EOD data. Backtest results show it working very well for particular time-frames than other time-frames.
2. Users will have to enter / adjust parameters like total capital, maximum loss per trade as % of capital, room for stoploss as % of close below pivot and sensitivity of pivot.
3. If the expected pivots are not seen, reduce the parameter ‘sensitivity of pivot’.
4. The mechanism of finding pivots is based on zig() function and shows values little different than pivots.
5. Designed for continuous trading. i.e. short=sell and cover=buy
6. When long, watch crack of close in green line ONLY. Ignore red line.
7. When short, watch crack of close in red line ONLY. Ignore green line.
8. You will have to tweak the parameters as per your trading style.
9. Since stoploss lines are plotted continuously, they sometimes move down (when long) and up when Short. This is against stoploss principle that it should move in one direction only. This has rarely affected the results (surprisingly), workaround will be implemented soon.
10. This method sometimes shows unreliable entry-exit on gap up / down opening.

Snapshot , code and back-test results, backtester settings snapshot are attached.

Backtester settings : All backtests are done using
capital - 100000/-,
sensitivity for pivots - 0.4,
max. loss per trade as % of capital – 1%
room for stoploss as % of close below pivot – 1%

Important regarding pivot definition : Since this method is based on pivots, formation / definition of pivot, which is controlled by sensitivity of pivots, plays an important role here. By keeping rest of the settings same, even if we decrease sensitivity for pivots to 0.1 from 0.4, the net profit in backtest zooms from 4% to 393%. Both these examples are also attached for reference just to underline how important and critical is this factor. This alone could be one reason why when everyone follows Saint’s pivot method, their bank balance is different from eachother.

Imp. regarding backtesting : Although our system indicates permissible quantity to buy / short, backtester ignores this and buys / shorts max. quantity using available funds. Hence although we are ensuring max. loss per trade is not more than 1%, backtester shows more loss than expected. Once this system is finetuned, I will write custom backtester to incorporate our settings.

Comments most welcome.

Best regards,

Abhay
Attached Files
File Type: zip pivot_based_trading_system.zip (91.7 KB, 130 views)
Reply With Quote
The Following 15 Users Say Thank You to aad For This Useful Post:
asgharl (31st July 2008), chintan786 (30th July 2008), gkpc (10th August 2008), indian06 (30th July 2008), jstraju (4th August 2008), kapil123 (29th July 2008), karthikmarar (30th July 2008), kenneth (29th July 2008), man4urheart (30th July 2008), milind (29th July 2008), milkyblack (13th August 2008), mr12323 (30th July 2008), pattel (31st July 2008), prabhjeetrana (29th July 2008), rkkarnani (29th July 2008)
Sponsored Links
  #2  
Old 29th July 2008, 03:24 PM
Member
 
Join Date: Jul 2006
Posts: 1,318
Thanks: 1,442
Thanked 1,101 Times in 387 Posts
Satyen has much to be proud ofSatyen has much to be proud ofSatyen has much to be proud ofSatyen has much to be proud ofSatyen has much to be proud ofSatyen has much to be proud ofSatyen has much to be proud ofSatyen has much to be proud ofSatyen has much to be proud of
Reputation: 1154
Default Re: Discuss, backtest & implement pivot based trading systems here

Thank you Abhay

Rgards
satya
Reply With Quote
  #3  
Old 29th July 2008, 03:30 PM
aad aad is offline
Member
 
Join Date: Jul 2006
Posts: 244
Thanks: 6
Thanked 23 Times in 7 Posts
aad is on a distinguished road
Reputation: 46
Default Re: Discuss, backtest & implement pivot based trading systems here

Quote:
Originally Posted by satya_pinku2003 View Post
Thank you Abhay

Rgards
satya
Anytime....

Regards,

Abhay
Reply With Quote
  #4  
Old 29th July 2008, 03:33 PM
Member
 
Join Date: Oct 2007
Posts: 849
Thanks: 219
Thanked 106 Times in 78 Posts
lalpar will become famous soon enoughlalpar will become famous soon enough
Reputation: 137
Default Re: Discuss, backtest & implement pivot based trading systems here

Will keep following the thread..
Keep Going Abhay!

Regards
Lalith
Reply With Quote
  #5  
Old 29th July 2008, 03:36 PM
Moderator
 
Join Date: Jul 2004
Posts: 8,046
Thanks: 569
Thanked 9,078 Times in 1,677 Posts
Saint has a reputation beyond reputeSaint has a reputation beyond reputeSaint has a reputation beyond repute
Saint has a reputation beyond reputeSaint has a reputation beyond repute
Reputation: 9151
Default Re: Discuss, backtest & implement pivot based trading systems here

All the best,Abhay.....I probably would not understand a word,and therefore would most likely be unable to contribute.....but good luck and keep going.

Saint
__________________
"You cannot change the direction of the wind,but you CAN adjust your sail..."
Reply With Quote
  #6  
Old 29th July 2008, 04:16 PM
aad aad is offline
Member
 
Join Date: Jul 2006
Posts: 244
Thanks: 6
Thanked 23 Times in 7 Posts
aad is on a distinguished road
Reputation: 46
Default Re: Discuss, backtest & implement pivot based trading systems here

Quote:
Originally Posted by Saint View Post
All the best,Abhay.....I probably would not understand a word,and therefore would most likely be unable to contribute.....but good luck and keep going.

Saint
Thanks for these encouraging words Saint. I understand that you have attained the level at which, you can exactly see what needs to be seen. But for poor souls like me, we try to take help from every possible and imaginable support

Trading is a mixed business of science as well as art and I know your inclination. While art is a kind of god-gift which may also come with trading experience, science can be learnt and followed from the first day. Hence this attempt. But I also understand that there is a limit to when a program can replace human judgement.

As always, you can at least mention your ideas here which will be promptly converted to working solutions by many learned programmers of this forum... It will be more than a reward.

Best regards,

Abhay
Reply With Quote
  #7  
Old 29th July 2008, 05:01 PM
Member
 
Join Date: Mar 2007
Location: Tirunelveli
Posts: 378
Thanks: 172
Thanked 110 Times in 69 Posts
sikandar will become famous soon enoughsikandar will become famous soon enough
Reputation: 130
Default Re: Discuss, backtest & implement pivot based trading systems here

Hi
can you make a pivot with out zig, in back test zig function will show enormous result. Pivot of palms center finger.
thanks for this new thread.
regards
sikandar
Reply With Quote
  #8  
Old 29th July 2008, 06:01 PM
Member
 
Join Date: Sep 2006
Location: Faridabad
Posts: 1,309
Thanks: 574
Thanked 761 Times in 342 Posts
prabhjeetrana is a splendid one to beholdprabhjeetrana is a splendid one to beholdprabhjeetrana is a splendid one to beholdprabhjeetrana is a splendid one to beholdprabhjeetrana is a splendid one to beholdprabhjeetrana is a splendid one to beholdprabhjeetrana is a splendid one to behold
Reputation: 797
Default Re: Discuss, backtest & implement pivot based trading systems here

Good initiative Aad, hope we get some fruitful ideas from the thread
Reply With Quote
  #9  
Old 30th July 2008, 01:36 AM
Member
 
Join Date: Sep 2007
Posts: 12
Thanks: 11
Thanked 0 Times in 0 Posts
indian06 is on a distinguished road
Reputation: 20
Default Re: Discuss, backtest & implement pivot based trading systems here

HI abhay
Thanks for sharing ur system , but in my Amibroker i am not getting the indicator the way it is meant to be. All prices get jumbled up.. How to solve this problem ??
thanks
Indian
Reply With Quote
  #10  
Old 30th July 2008, 11:53 AM
aad aad is offline
Member
 
Join Date: Jul 2006
Posts: 244
Thanks: 6
Thanked 23 Times in 7 Posts
aad is on a distinguished road
Reputation: 46
Default Re: Discuss, backtest & implement pivot based trading systems here

Quote:
Originally Posted by indian06 View Post
HI abhay
Thanks for sharing ur system , but in my Amibroker i am not getting the indicator the way it is meant to be. All prices get jumbled up.. How to solve this problem ??
thanks
Indian
Indian06,

Can you post your chart please ?

Regards,

Abhay
Reply With Quote
Sponsored Links

Reply

Bookmarks

Tags
continuous trading system, intraday trading system, pivot based entry-exit, techincal analysis


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


All times are GMT +5.5. The time now is 05:48 PM.

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 - 2009, Traderji.com All Rights Reserved.

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