Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bars Since Entry
Collapse
X
-
Bars Since Entry
I'm writing strategies using the wizard. My programming skills are not up to coding in C#. Is there some kind of function like a bars since entry? I'd like to test if it has been up to X bars since I entered a position, and execute at the close of 'X' bar if profit is below a threshold. Couldn't find anything like this function, but perhaps I don't know were to look.Tags: None
-
Lol. You guessed it exactly. It is BarsSinceEntry()
http://www.ninjatrader-support.com/H...BarsSinceEntry
Josh P.NinjaTrader Customer Service
-
Bars Since Entry in the Wizard
I can see the example coding in the provided link. I've been creating strategies using only the strategy wizard. I'm not sure how to add this into the wizard or can I even do that? Like I said in the first entry, I'm not good enough to write strategies using anything but the wizard. I guess its time to get serious about the C# tutorial.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
3 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
6 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
Comment