Click here to Login





                                                   2 minute / 3 minute bars

  0

0
Dave W.
2013-03-07 04:44:52


Probably an easy answer, but I couldn't see how to change the chart timeframe to be 2 minutes or 3 minutes. I saw the functionality to create new periodicty, but there didn't seem to be an option to
add a period based on minutes or seconds...

Thanks for your help.



QuantShare
2013-03-07 10:35:40

  0

At the bottom of the chart, click on the time frame control then select "Custom I". Specify the number of seconds (Example: 120 for 2 minutes).


Dave W.
2013-03-07 15:50:38

  0

Great.

So, I'd like to make a feature request that we be able to set custom time intervals have have them be persistent and selectable. For example, I often want to look at 2, 3, and 7 minute charts. With the current functionality, it appears I'd have to manually type in the number of seconds for each interval every time I want to use it.

It would be much more useful to be able to define a set X (maybe up to 10) custom time intervals and have those intervals be selectable via the Chart TimeFrame list.

Is this already on the "to-do" list?



QuantShare
2013-03-08 10:54:10

  0

Best Answer
For this, you can create a script (Tools -> Script Editor) then add it to the bookmark panel.
http://www.quantshare.com/how-264-what-is-the-bookmark-panel

The script formula could be: (For 2-minutes time frame)

int timeframeMinutes = 2;
Chart chart = Charts.GetSelectedChart();
if(chart != null)
{
chart.IsHistorical = false;
chart.TimeFrame = timeframeMinutes * 60;
}



Dave W.
2013-03-09 20:17:43

  0

This worked great. Thanks.


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
Number of bars since the beginning of the month
Convert Seconds to Trading Bars
Number of Consecutive Trading Bars Condition was True
Stop Loss for the N-first Trading Bars only
Consecutive Up and Down Bars - Works With Any Trading Indicator

How-to Lessons
How to add future bars to plan for market scenarios
How to create a real-time watchlist
How to plot two different time frames in the same chart
How to filter stocks in a market composite
How to create and trade a Neural Network model

Related Forum Threads
CSV files of historical 1 or 5 minute forex data?
Found 1 Minute Historical Data for $65 on Ebay..... smart buy?
Range Bars
Bars in slider
permanent future bars

Blog Posts
QuantShare Trading Software: New Features in the 3.4.0 Version
Different periodicities and chart bar types in QuantShare Trading...
Create Realtime Quote Sheets with the Watchlist Tool
Presentation of QuantShare's new Real Time Version
Forecast volatility using trading rules and neural networks









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.