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
Identifying Low of bar while processing by tick
Collapse
X
-
Identifying Low of bar while processing by tick
hello ... I need to identify the low and the high of a given bar in my strategy, however the strategy executes at every tick (CalculateOnBarClose = false). Can you direct me to any resource that would help me achieve this. thank you!
Tags: None
-
Hello,
Thanks for writing in.
You can do this by using FirstTickOfBar and the index of 1.
For example:
if (FirstTickOfBar)
Print("Low: " + Low[1] + " High: " + High[1]);
Below is a link to the help guide on FirstTickOfBar.
http://www.ninjatrader.com/support/h...ttickofbar.htmChelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DawnTreader, Yesterday, 05:58 PM
|
5 responses
22 views
0 likes
|
Last Post Today, 01:32 PM | ||
Started by kevinenergy, Today, 12:01 PM
|
1 response
9 views
0 likes
|
Last Post Today, 01:32 PM | ||
Started by ILM8008, Today, 01:31 PM
|
0 responses
3 views
0 likes
|
Last Post
by ILM8008
Today, 01:31 PM
|
||
Started by swjake, Today, 12:04 PM
|
3 responses
13 views
0 likes
|
Last Post Today, 01:28 PM | ||
Started by Richozzy38, Yesterday, 01:06 PM
|
6 responses
26 views
0 likes
|
Last Post Today, 01:26 PM |
Comment