Toronto, Canada
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 2 since Apr 2022
Thanks Given: 0
Thanks Received: 0
|
Hello,
I'm not too sure where to start. I would like to create an advance ATM strategy in NT8 where it would do the following:
Once Stop / Limit order Entry is triggered:- Stop loss is set 1 tick below the signal bar (PAT's Strategy)
- Take profit is set 1 point
- Limit order(s) is set with conditions:
- Option to place the limit order by:
- Percentage from entry to stop
- Points / Ticks from the entry
- Option of number of contracts
- Option to add multiple limit orders with the same options
- Once limit order is filled, have an option to set the Take Profit to 1 point for all combined orders
- Once limit order is filled, stop loss will remain at the stop loss from the initial order
For example:
Market is at $4010
Initial Stop/Limit Entry Order at $4011
> Stop/Limit Order triggered with 2 contracts.
> Take Profit at $4012
> Stop Loss at $4006
> Limit Order is set $4008.50 (-50% from initial entry to stop loss) with 2 contracts
> Limit Order Triggered
> Move Take Profit for all 4 contracts to $4010.75 for 1 point profit
> Stop loss for all 4 contracts remains at $4006
Right now, I can do this manually but I would like to do it automatically. Also, if this is possible, how much would it cost to write the code?
Thanks
|