Click here to Login





                                                   Access intraday data while working on daily chart

  0

0
umair
2013-03-04 09:06:42


My intraday indicator gives me only one value at hour 16:00

I want that value to be shown when I switch over to daily chart setting.

I saw a tutorial for accessing daily data while working with intraday data but not the other way around.


Right now I have:

a = Crossindicator(close);
y = hour() == 16;
z = a and y;
k = iff(y == 1,a,0);

I want to be able to see the above intraday value in my daily chart. My end goal is to be able to create a SMA for the above function based on ''K'' for different days.




QuantShare
2013-03-04 19:55:52

  1

"TimeframeApply" function allows you to access intraday data from daily data. Just use negative value for the time frame.
Example: -60 to access one minute data.




umair
2013-03-04 22:20:05

  0

So basically timeframeapply has several preprogrammed time values

TimeframeApply(7 =weekly
TimeframeApply(31 =monthly
TimeframeApply(60 =intraday
TimeframeApply(365 =yearly



QuantShare
2013-03-05 01:12:27

  0

Not exactly.
If you are using daily data then

TimeframeApply(7 = weekly
TimeframeApply(60 = 60-day
TimeframeApply(-60 = 60-seconds

If you are using intraday data then

TimeframeApply(60 = 60-seconds
TimeframeApply(-60 = 60-day



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
Daily Historical Data - Alphavantage
Intraday Historical Data - Alphavantage
Intraday Trading System with Daily Ranking
Intraday Data for Major Stock Exchanges
One-Minute Intraday Data for Currency Pairs

How-to Lessons
How to speed up watchlist and screener plug-ins when working with...
How to display Forex economic calendar data in a chart
How to plot two different time frames in the same chart
How to display two stocks on the same chart
How to download new quotes when selecting a chart

Related Forum Threads
Intraday data download is not working
Historical intraday data limited on chart
Scripting, Parser.Parse, and intraday data
Loading Intraday Data
Daily Beta Intraday

Blog Posts
Backtesting trading strategies using intraday data
Day Trading: A trading system that combines intraday and EOD data
6 New Ways to Download Free Intraday Data for the U.S. Stock Mark...
6 places to download historical intraday Forex quotes data for fr...
6 ways to download free intraday and tick data for the U.S. stock...









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 2023 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.