![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Member
Join Date: May 2008
Posts: 90
Thanks: 1
Thanked 0 times in 0 posts
|
Hi,
Is is possible to have a NinjaScript Strategy pick up and mangae an existing position (ATM Strategy) that was entered via the DOM with the mouse. Basically, I want to enter the order manually (using the mouse) then "turn on" my exit Ninja script strategy where that will move stops, etc based on my logic. I don't want the Ninja Script Strategy (to enter the trade via ATM). I simply want to manage one that was entered manually. From the code it is hard to see what function or method I would use to accomplish this. Thanks.... Mark |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
You can move the orders, but the ATM will move them back to where you programmed it to. So functionaly, no you can't.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Member
Join Date: May 2008
Posts: 90
Thanks: 1
Thanked 0 times in 0 posts
|
Quote:
Ben, Ok, forget ATM then, what I want to do is: Basically, I want to enter the order manually (using the mouse) then "turn on" my exit Ninja script strategy where that will move stops, etc based on my logic. Is this possible in any way with Ninja, I am looking for a solution to this problem of taking over an existing position and managing it until exit. I need a way upon entering the Ninja Script Strategy of resolving Marketposition == Long or Short then I can place stop oders as I wish. If you don't know how perhaps you can refer this to someone who might know how to do this. This seems pretty basic. Thanks.... Mark |
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
This is not supported, sorry. Manual and Strategy trades are independent.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#5 | |
|
Member
Join Date: May 2008
Posts: 90
Thanks: 1
Thanked 0 times in 0 posts
|
Quote:
Ok, so how is this handled. How does Ray or Derik suggest doing this? With an ATM Strategy that places the order? If so, how do they suggest making the order placement immediate when I have a 2 minute chart. I dont want to wait two minutes for an order entry and I hate to have a multi-series strategy or CalculateBarOnClose=False I am a Ninja Trader 7 beta tester what is the "Sync Account Position" setting for in Edit Strategy in Ninja Trader 7. What does that do? I need a workable way to do this with Ninja Trader, can you provide suggestions for taking an existing position and managing it with Ninja Script in Ninja trader 7 or 6.5? Thanks.... Mark |
|
|
|
|
|
|
#6 | |
|
Member
Join Date: May 2008
Posts: 90
Thanks: 1
Thanked 0 times in 0 posts
|
Quote:
Ray or Derik, Can you respond to this thread and suggest how you would go about accomplishing this, what are my options, how would you do it (ATM, etc). I am using NT7. Thanks Mark |
|
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jan 2009
Posts: 584
Thanks: 2
Thanked 21 times in 12 posts
|
You can attach a strategy to your order that starts with placing a stop order and that is done as soon as it enters the opposite pos.
example: You are long. strategy: Will place a stop loss order and move the stop according to your ideas. as soon as the strategy enters a short position your real postition becomes flat (you were long already) and you are done. andreas www.zweisteintrading.eu |
|
|
|
|
|
#8 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Remember that NinjaScript strategies were never meant to manage manually traded positions. They have their own strategy position which may or may not be in sync with your account position. As you start a strategy if you have "Sync account position" selected, it will try to compensate the account position to your strategy position and will only place live trades through the strategy to your account after a sync has been reached on startup.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Jul 2009
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
|
I've got the same objective -- seems like a pretty basic objective (manually enter trade and then apply an automated exit strategy to the open position). Can this be done?
Rookie question, I know, but I guess it's not as obvious an answer as I had assumed it would be. Thanks. |
|
|
|
|
|
#10 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Turtle21,
You can use ATM strategies to manage manual trades. NinjaScript strategies are not meant for managing manual entries. There are ways you can get it to do so, but it was not designed for this purpose.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Chart Trader: Apply ATM strategy after entry order is filled? | cw30000 | Charting | 7 | 07-21-2009 01:53 PM |
| Strategy will not put a ATM Strategy in play when order filled | m3power222 | Strategy Development | 9 | 06-09-2009 01:13 PM |
| My procedure not picking up values from my ATM Strategy | radford0222 | Strategy Development | 1 | 03-02-2009 07:29 AM |
| Closing ATM strategy in replay filled at price that did not occur. | GaryAlbers | Automated Trading | 1 | 09-28-2008 12:56 AM |
| Managing NinjaScript Strategies with ATM | daven | Suggestions And Feedback | 1 | 09-25-2007 04:05 PM |