Traderji.com - Discussion forum for Stocks Commodities & Forex

Basic backtest questions

Discuss Basic backtest questions at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Hi, I am putting together a backtesting framework and have become a little stuck. If ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > AmiBroker

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 29th January 2007, 09:22 PM
Member
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
alichambers is on a distinguished road
Reputation: 20
Default Basic backtest questions

Hi,

I am putting together a backtesting framework and have become a
little stuck. If anyone could help it would be great.


1. How do I code for open gaps (ie. place buy order. The entry bar
gaps up through this buy order price, so the actual entry price is
not the one originally specified, but the open of the bar that gaps
up)


2. How do I code for gap downs through a stop loss (ie. I place a
stop loss order, but the price of the bar that triggers the stop loss
opens below the stop loss. Therefore I would be stopped out at the
new open price)


3. How do I tell the backtester to simulate spread betting (I live in
the UK). I will explain it here:

- Spread betting is betting £x per point (or pip) of movement.
- I risk 5% of my total capital on any one trade
- Therefore the calculations are as follows (an example):

Buy Price = 1.9000
Initial Stop Loss = 1.8950
Risk = 50 pips
Capital = £20000
5% risk per trade = £20000 * 5% = £1000 to risk on this trade
Price to bet per point: £1000 / 50 points = £20 per pips

Thanks!
Alex
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: Basic backtest questions
Thread Thread Starter Forum Replies Last Post
Basic Questions On MF's stocknovice Mutual Funds Discussion Forum 3 9th May 2007 04:21 PM
web sites for basic TA a_n_i_l Technical Analysis 2 25th August 2006 07:37 PM
basic kalskar Introductions 1 27th March 2006 08:43 PM
Basic Doubts !!! snowy Beginners Guide 1 13th October 2005 08:55 PM
Some basic questions Ashish Jain Technical Analysis 4 13th October 2004 09:16 PM


All times are GMT +5.5. The time now is 12:21 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 - 2008, Traderji.com All Rights Reserved.

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