Click here to Login





                                                   Why is this not working?

  0

0
umair
2013-01-25 03:14:06


Intraday backtesting

BUY= I want to buy at open everyday. (No rule just outright buy at open.)
SELL= Sell end of day or stoploss or profit target

Stoploss= .05%
Profit= 1%

My settings in strategy are as I described above.

Buy at open of today
Rule= Open

Sell at close of day
Rule= close

stoploss= .05%
profit= 1%

Why is this not working?





Simulation/Backtest Trading Indicator (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads Notes Report an item

QuantShare
2013-01-25 12:37:53

  0

Hi,

Specify the order and stop settings then add one buy and one sell rule.
Each rule simply equals "1". (buy = 1 and sell = 1)

This instructs QuantShare to buy every position.




umair
2013-01-26 03:06:53

  0

Thanks, It seems everytime I put my profit/stop less than 1% the backtest does not execute.

It says "error in the trading system ''long'' formula.''

But if I change my stop/profit to => 1% everything works fine



QuantShare
2013-01-26 09:51:46

  0

What exactly did you put as profit/stop value?
You should put something like 0.5 for 0.5%




umair
2013-01-26 15:00:47

  0

it says .09 and then there is already a % sign by the system.

I just sent an email to support@quantshare.com with screenshots for the error and the settings.

thank you!



QuantShare
2013-01-26 22:28:24

  0

You should put 0.09 not .09




umair
2013-01-28 05:14:01

  0

Quant, that works. Thank you.

One more question! (sorry i'm being lazy and not reading the documentation provided by you guys as I am busy and am just evaluating this program)

Problem i'm facing is that the logic works but it buys every single bar intraday and sells at the next bar. How can I limit the simulation so It only buys the position once for a given day (at 930 AM) and then if profit/stoploss are hit.. it waits till the next day to open the next position?



QuantShare
2013-01-28 16:26:16

  0

Use the following formula:

buy = (hour() == 9 and minute() == 30);






No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Set the First Trading Bar Values to Not a Number
Number of bars since the beginning of the month
Dow Jones U.S. Technology Sector Index Fund survivorship bias-fre...
Survivorship bias-free S&P 500 database downloader
Rank Industries based on the average Relative Strength Index

How-to Lessons
How to plot a time-series that do not update the chart scale
How to detect whether price movements are predictable or not
How to filter stocks in a market composite
How to add a metric in the trading system simulation report
How to screen for stocks having a high correlation with the Dow J...

Related Forum Threads
Minium number of trades per year in fitness formula is not workin...
Not getting Data for NSE Stocks
Custom Drawing tool Trendline does not end with second click
William's %R not graphing properly
Trading System time period not including start day

Blog Posts
Programming skills are not that important
What's new in this trading software?
Watch your support and resistance lines
QuantShare New Website Feature: Groups
Learn How to Create Your Own Technical Analysis Indicators









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.