Click here to Login

                                                   Backtest buying a group of stocks during a certain time frame intraday


2021-08-22 14:24:09

Is it possible to backtest buying a group of stocks based on a specific time of day i.e 10:20am? without needed an indicator to trigger the buy or sell..So basically if I want to backtest buying aapl at 10;20am on 08/20/2021 with that specific time of day being the trigger to get in?

2021-08-25 04:39:54


Set a specific date in the simulator and enter a buy rule such as this:
buy = hour() == 10 and minute() == 20;
sell = hour() == 15 and minute() >= 50;

No more messages


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"


Trading Items
Hull Moving Average Strategy - Multi Time Frame Trading System
Recent Insider Buying and Selling for US Stocks
Price at a specific Intraday Time
Export Indicators Data - Custom Time Frame
Intraday Data for NSE Stocks

How-to Lessons
How to detect stocks trading near all time highs
How to hide a trading indicator from a particular time frame
How to plot two different time frames in the same chart
How to quickly download the most recent EOD data for your stocks
How to speed up watchlist and screener plug-ins when working with...

Related Forum Threads
Dynamic Watchlist update for each time step during a simulation?
Using multiple time frame in the real time version
Intraday historic data for US stocks for 3-4 years or longer?
Quantshare crash during optimization backtest
SUM for the past X days with intraday time series

Blog Posts
How to Backtest an Intraday Stock Trading System with EOD Ranking
Update Chart Layout based on Active Time Frame
How to Adjust the Time Displayed in your Intraday Charts
Diversify your portfolio by investing in stocks from various indu...
How to Backtest a Strategy from a Chart

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2022
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.