Thanks
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Filter chart by a specific 5 minute candle
Collapse
X
-
-
Hello jas1210,
Thanks for your notes.
Are you referring to historical data on a Chart window?
If you are running the NinjaScript indicator or strategy on a 5-minute chart then you could create a Time Condition the checks if the time is 9:30AM and print out the OHLC information using Open[0], High[0], Low[0], Close[0] in that Time Condition.
See this help guide page for more information about creating Time Conditions: https://ninjatrader.com/support/help...imeComparisonsBrandon H.NinjaTrader Customer Service
-
Hello jas1210,
Thanks for your notes.
Please see the 'How to create time comparisons' section of this help guide page: https://ninjatrader.com/support/help...on_builder.htm
You could create a Time Comparison condition in a script that checks if the Time is 9:30 and then print out the OHLC information within that condition using Open[0], High[0], Low[0], and Close[0].
This would check if the time is 9:30 and get the Open, High, Low, and Close price of that bar when the condition is true.
PriceSeries: https://ninjatrader.com/support/help...riceseries.htm
Brandon H.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Taddypole, 04-26-2024, 02:47 PM
|
5 responses
32 views
0 likes
|
Last Post
by eDanny
Today, 11:49 AM
|
||
Started by kujista, 04-23-2024, 06:23 AM
|
6 responses
46 views
0 likes
|
Last Post Today, 11:42 AM | ||
Started by giulyko00, 04-24-2024, 12:03 PM
|
7 responses
34 views
0 likes
|
Last Post
by eDanny
Today, 11:35 AM
|
||
Started by NM_eFe, Today, 10:13 AM
|
0 responses
10 views
0 likes
|
Last Post
by NM_eFe
Today, 10:13 AM
|
||
Started by hdge4u, Yesterday, 12:23 PM
|
1 response
10 views
0 likes
|
Last Post
by hdge4u
Today, 09:58 AM
|
Comment