TexasGuy
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
Start time/end time in NT8 Strategy builder
Collapse
X
-
Chelsea B.NinjaTrader Customer Service
- Likes 1
-
Hmm Unlock the code...but that's my security blanket...Thank you. One last question. In the NT8 Strategy builder the trailing stop asks for trialing stop asks for
From entry signal..is this saying once I reach X ticks (in my case) profit move to to ValueY ?
Mode is type of increment?
Value is ?
Texas Guy
Comment
-
Hello Texas Guy,
I haven't suggested that you unlock your code.
The video demonstrates a time filter in the Strategy Builder..
The From entry signal is used to pair an exit with a specific entry's signal name.
Below is a link to the Strategy Builder 301 course which discusses signal names and from entry signals.
Chelsea B.NinjaTrader Customer Service
Comment
-
With this time filter, I added it and it seems to work but if you do not have a Profit target or stop loss target the open positions run until session close (if you have the strategy set to close all positions before session close)
So how do you not only set a strategy to trade between certain hours but also ensure those positions that are opened during those times are closed at the end time you selected?
- Likes 1
Comment
-
Hello TrendFollowingCapital,
Additional logic would be necessary in a separate condition to check if a position is open at a specific time and then place an exit order for the position.
Alternatively, you can use the ExitOnSessionCloseSeconds to advance when the position is flattened and all working orders cancelled.
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by r68cervera, Today, 05:29 AM
|
0 responses
3 views
0 likes
|
Last Post
by r68cervera
Today, 05:29 AM
|
||
Started by geddyisodin, Today, 05:20 AM
|
0 responses
6 views
0 likes
|
Last Post
by geddyisodin
Today, 05:20 AM
|
||
Started by JonesJoker, 04-22-2024, 12:23 PM
|
6 responses
35 views
0 likes
|
Last Post
by JonesJoker
Today, 05:14 AM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
12 responses
3,241 views
0 likes
|
Last Post
by Leafcutter
Today, 05:08 AM
|
||
Hi
by AveryFlynn
Started by AveryFlynn, Today, 04:57 AM
|
0 responses
7 views
0 likes
|
Last Post
by AveryFlynn
Today, 04:57 AM
|
Comment