Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Entry / Exit Strategy
Collapse
X
-
Entry / Exit Strategy
I created 2 sets using the Strategy Wizard. Set 1 is suppose to enter the market and Set 2 is suppose to exit the market. The problem is that it is working discretionary, which means that while testing it, it enters the market in Set 2, instead of Set 1, eventhough I made sure it says "Enter Long" in Set 1 within "do the following" in the wizard.Tags: None
-
Question: How can I create a condition using the wizard that meets the following:
- If Set 1 is true do something
- Set 2 won't execute until Set 1 is true
Maybe this is not built in different Sets maybe is within the same Set, I'm not sure.
Please advice.
Comment
-
I use a specific set of conditions such as Bar1 > Bar2 among others to enter a position (Let say for example Set 1 to "Enter Long"). My concern is that if I do what you suggest in Post #6, to re-enter the same conditions in Set 2 (Remember that I'm specific in terms of how many bars ago to execute an "Enter Long") and if I include the condition to Exit the Long position, then I'm afraid that the Exit won't execute, because is reading a series of conditions that are not related to what I want to Exit the position already in because the exit is not based on the amount of Bars I specify in Set 1.
Comment
-
You can also set a variable in Set 1 and check the value of the variable in Set 2.
That way you don't have to maintain the same set of conidtions in Set 1 and Set 2 as you tweak them
Comment
-
I have another question:
Let say I'm using the SMA indicator with a 1 day chart to get in with a market order. What I've seen so far is that the order gets in position and executed at the closing of the bar that crosses above / below the SMA. What I'll like to see is to get in the market order as soon as the bar touches the SMA, not at the closing of the bar.
How can I do this using the Strategy Wizard?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by geddyisodin, 04-25-2024, 05:20 AM
|
8 responses
60 views
0 likes
|
Last Post Yesterday, 10:45 AM | ||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
4 responses
3,287 views
1 like
|
Last Post
by jgualdronc
Today, 10:02 AM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 09:55 AM | ||
Started by halgo_boulder, 04-20-2024, 08:44 AM
|
2 responses
22 views
0 likes
|
Last Post Today, 09:41 AM | ||
Started by mishhh, 05-25-2010, 08:54 AM
|
19 responses
6,189 views
0 likes
|
Last Post
by rene69851
Today, 09:29 AM
|
Comment