Thanks for your help and time.
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
Condition to calculate the indicator
Collapse
X
-
Condition to calculate the indicator
Is it possible to start to calculate the indicator from the first bar of the trading session ? For example : The trading hours being at 9:30 am. If I calculate the indicator based on 30 minutes chart, the indicator should be started to calculate after the first 30 minutes bar, in this case (9:30am to 10:00 am).
Thanks for your help and time.Tags: None
-
Hi Winnie, thanks for your post! Yes, you could for example use Bars.BarsSinceSession for this, it will give you the bars since the session has started, so you can contol then on which bar to start your custom calculations - http://www.ninjatrader-support.com/H...ceSession.htmlBertrandNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Rapine Heihei, Today, 08:19 PM
|
1 response
8 views
0 likes
|
Last Post Today, 08:30 PM | ||
Started by Rapine Heihei, Today, 08:25 PM
|
0 responses
6 views
0 likes
|
Last Post Today, 08:25 PM | ||
Started by f.saeidi, Today, 08:01 PM
|
1 response
9 views
0 likes
|
Last Post Today, 08:17 PM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Today, 07:51 PM
|
0 responses
8 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
5 responses
98 views
1 like
|
Last Post
by caryc123
Today, 07:47 PM
|
Comment