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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
59 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
144 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
161 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
283 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment