automated stock trading Ninja Trader Fix code, experience only please

Job ID: 31139701

Budget: $50 – $100 USD

My code gets these errors causing the strategy to buy the position and then disables the code leaving the trade not managed.

Disabling NinjaScript strategy 'TradeForSteven/232291278'

Strategy 'TradeForSteven/232291278' submitted an order that generated the following error 'Order rejected'. Strategy has sent cancel requests, attempted to close the position and terminated itself.