Thank You
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Unable to cancel out e orders
Collapse
X
-
Unable to cancel out e orders
Finding problem with then strategy request to please give any solution why this is happening and what is the solution
Thank You1 PhotoTags: None
-
Hello siddhugaddi,
This error typically occurs if a strategy was enabled, then disabled, and then orders is submitted were cancelled or filled while the strategy was disabled, and then the strategy was re-enabled.
Remove the strategy instance from the chart in the Strategies window > Configured area, then add a new instance from the Available list.Chelsea B.NinjaTrader Customer Service
-
-
Hello NinjaTrader_ChelseaB thank you sir for your help that worked
I have one more doubt suppose i have place order using Strategy builder where my Stop loss and Take profit were defined by the strategy why i was unable to move take profit and stop loss after placing the order it was same price all the time untill stoploss or target any one of hit
Comment
-
Hello siddhugaddi,
Are you referring to manually changing the price of a working order submitted by a ninjascript strategy?
If so, this would not be possible with the strategy builder, but would be possible in an unlocked script by using the overload with isLiveUntilCancelled as true and only submitting the order once without modifying it or resubmitting it.
Below is a link to an example.
Are you referring to modifying a stop order from the strategy logic?
Below is a link to an example.
Chelsea B.NinjaTrader Customer Service
Comment
-
-
Hello siddhugaddi,
You want to use the EMA as the input series for the Cumulative Delta?
OrderFlowCumulativeDelta(SMA(7), CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Session, 0)
OrderFlowCumulativeDelta(ISeries<double> input, CumulativeDeltaType deltaType, CumulativeDeltaPeriod period, int sizeFilter)
Chelsea B.NinjaTrader Customer Service
Comment
-
Comment
-
-
private double EMA EMA3;
EMA3 = EMA((OrderFlowCumulativeDelta(BarsArray[0], CumulativeDeltaType, CumulativeDeltaPeriod, 0).DeltaClose[0]),5);
Print("5 EMA" + EMA3);
I'm getting this output:: 5 EMAEMA(Order Flow Cumulative Delta(Session,0).DeltaClose,5)
and getting ERROR :: Argument 1 : cannot convert from 'double' to 'NinjaTrader.Ninjascript.Iseries<double>
any solution for this sir jiLast edited by siddhugaddi; 09-27-2024, 10:51 AM.
Comment
-
Error was resolved thank you sir
but EMA3 is holding any value
when i Print("5 EMA" + EMA3);
OUTPUT :: EMA(Order Flow Cumulative(Bid ,Session).DeltaClose,5)
i'm getting above is my output not any numerical value of EMA
any suggestion for thisLast edited by siddhugaddi; 09-27-2024, 10:51 AM.
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment