Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Stop order submitted when employ strategy
Collapse
X
-
Stop order submitted when employ strategy
When I install a strategy into a chart I immediately get a stop loss order before any other order has been placed. I've written strategies before but never encountered this. I am exiting the strategy either from the chart or by clicking the "flatten everything" and getting the same behavior on subsequent installs of the strategy...Tags: None
-
it's back again....
this strategy is doing it again. When I install it, whether I use the sim101 or IB simulation account it places a stop order far from the market.... it is always at the same price.
I moved the
"SetStopLoss(CalculationMode.Ticks,Stopticks);"
statement to the Initialize section of the code and it's the same....
I replaced the "Stopticks" variable with the number 10 and now it places a stop order 10 ticks below the market upon deployment...
Comment
-
The strategy starts up, places a stop order and with no order, including that stop order, filled, when I click on the strategy button in control center, it says the strategy is short one contract [my default amount in the strategy]. This is immediately after starting up NT...
the strategy tab reports unrealized p&l when no order has been filled, the account is flat and the strategy thinks it is short a contract....
I took NT and TWS back to the previous versions and it's still the same problem...Last edited by maxpi; 12-10-2007, 02:34 PM.
Comment
-
When you run a strategy, it calculates the current strategy's position and submits any outstanding orders for this virtually managed position. If you do not wish orders to be submitted, select the "Wait until flat" option under Tools > Options >Strategies > NinjaScript.RayNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
598 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment