Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Problem with trade signal
Collapse
X
-
Josh, thank you again.
I am not sure if I am doing this right. I am attaching a file which i believe is the saved strategy i have created. To make it simple I have taken only one criterion in the conditions and created only the long side. What I have done is added to each set as follows:
In Conditions In Actions
set 1: variable0== 0, Variable0 = 1,
set 2: Barssinceentry() > 0, Enterlong(defaultquantity, "")
set 3: Variable 0==1, variable0 = 1
Set 4: Bars > 0 EnterLong
Set 5: Variable0== 2 Variable0 = 1
Set 6: Bars etc
Set 7: Variable0-- 3 variable0 = 1
Set 2,4,6,8 are basically same.
Now, this must be wrong, because I am getting a buy trade with the first signal and each subsequent one is only a signal and no trade.
Sorry, cannot attach file, it tells me it is 177bites, only allowed 17.
So please advise how i should change this. Thanks.
Comment
-
No longs in a strategy
Josh, I have used a strategy yesterday and worked fine. Today for some reason it is giving sell signals but no buy signals although according to the criteria there should be. I have checked the conditions etc. several times with no faults. If i run the same strategy in the analyser there are buys as well as sells. What kind of problem could be doing this?
Have a happy thanksgiving.
Comment
-
You need to check your Control Center logs. In your Strategy Wizard you might also just add "Output message" action. That way you can look in the Output Window to see what your code is doing.
Other than that you can also take a look at this tip: http://www.ninjatrader-support2.com/...ead.php?t=3418Josh P.NinjaTrader Customer Service
Comment
-
Josh, regarding the One fill per signal problem we discussed couple of days ago, here is what i have done (still not working):
In Conditions In Actions
Set 1: Variable0==0 Eneter long(DefaultQuantity,"") AND Variable0=1
Set 2: same EnterLong(DefaultQuantity,"")
Set 3: Variable0==0 EnterShort(DefaultQuantity,"") AND Variable0=1
Set 4: Same EnterShort(DefaultQuantity,"")
Set 5,6,7: Variable0==1,2or 3 EnterLong(DefaultQuantity,"") AND Variable0=1 in all.
Sets8,9,10 Variable0==1,2 or 3 EnterLong(DeafultQuantity,"") & Variable0=1 in both.
Is it supposed to be Variable 2,3 in Actions instead of 1 in all?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment