Log says: "Enabling NinjaScript strategy "strategy": On starting a real-time strategy - StartBehavio=WaitUntilFlat EntryHandling=All entries EntreisPerDirection=1 StopTargetHandling=By strategy position ErrorH.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Not Making Orders
Collapse
X
-
Strategy Not Making Orders
My script appears to be working correctly, but it's not making any orders.
Log says: "Enabling NinjaScript strategy "strategy": On starting a real-time strategy - StartBehavio=WaitUntilFlat EntryHandling=All entries EntreisPerDirection=1 StopTargetHandling=By strategy position ErrorH.1 PhotoLast edited by heavy; 04-22-2020, 10:20 PM.Tags: None
-
-
Hi heavy, thanks for your question.
I tested the script and I get historical trades on June ES data. If this is a modification of the SampleMACrossover script that would be the prime example to compare the changes to. See here for the help guide page on debugging NinjaScript code as well:
Please let me know if I can assist any further.
Comment
-
Strategy just received the following order errors:
a. 'order rejected' Strategy has sent cancel requests, attempted to close the position and terminated itself
b. insufficient margin. Available margin: usd 500. Used margin: usd0 total portfolio margin including this order: usd1000 this order increases margin by usd1000 affected Order sellshort 1 market
I have attached the updated script.Attached FilesLast edited by heavy; 04-26-2020, 04:05 PM.
Comment
-
Hi heavy, thanks for your reply.
If you are running into a margin error in the Sim101 account you will need to reset it. Please take these steps to reset your sim101 account and it should work fine:- From the NinjaTrader Control Center window select the Accounts tab
- Right click on your simulation account and select 'Edit Account'
- Press the "Reset" button
Comment
-
Hello Heavy,
Thank you for your note.
For more information on your account, margin errors, and required funds, You'll need to contact your broker directly.
If your account is with NinjaTrader you can reach them directly with the information below:- brokeragesupport(at)ninjatrader(dot)com
- Toll Free: 1.800.496.1683
Thank you for your patience.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
66 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