Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Tick Strategy?
Collapse
X
-
Hello kinkeadfx,
This would be possible.
You will need to add a 1 tick series to your script, then check to see if the current tick is greater than the last tick and the previous tick is greater than the tick before.
For example:
In Initialize():
Add(PeriodType.Tick, 1);
In OnBarUpdate():
if (Closes[1][0] > Closes[1][1] && Closes[1][1] > Close[1][2])
EnterLong();Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by volIQ, 03-27-2024, 04:28 PM
|
3 responses
21 views
0 likes
|
Last Post
by RJay
Today, 05:41 AM
|
||
Started by Nickgiaco, 02-26-2024, 10:23 AM
|
2 responses
72 views
0 likes
|
Last Post Today, 05:12 AM | ||
Started by Johndc, Today, 04:39 AM
|
0 responses
7 views
0 likes
|
Last Post
by Johndc
Today, 04:39 AM
|
||
Started by johntraderuser2, Today, 02:34 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 02:34 AM | ||
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
13 views
0 likes
|
Last Post Today, 02:00 AM |
Comment