Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I trade against fast moving data (like 200 tick charts ES) and am looking for a way to do this:
- Manually set a strategy to ARMED when I feel like conditions are good
- Then have the strategy trigger based on whatever conditions are in the strategy
- Take manual control over the automated strategy if needed (so stop the automation but keep the last orders active with ability to move the orders around on the chart like usual)
- otherwise, let the strategy complete and go into an UNARMED state
Maybe this is as simple as enabling/disabling a strategy by hand? But depending on the interface this could be clear/simple or an annoying amount of clicks. I need it to be fast.
Main point is, I want to manually ARM the system and then let it buy/sell when strategy says. Things move too quickly for me to start the thing based on timing chart candle moves at 200tick charts, but i can see setups in advance.
Is this possible with default NT or would this take a bunch of custom programming?
Thanks!
Can you help answer these questions from other members on NexusFi?
You can use a strategy to trigger an order with an ATM template of your choice attached to it. Once the order is working, you can disable the strategy and still manually modify the stop and target. Obviously, you would need some programming to define your entry conditions. Check the SampleAtmStrategy that comes with Ninjatrader for an example.
Ideally, you don't want to disable/enable the strategy but define the logic for the armed/re-armed conditions.
I have used software for this. It's quite remarkable. It's called MPTpredictor. You can Google it.
It gives you the ability to set up entry, stop and targets and move all around without being live.
Once you are happy you just wait and click one button and it "activates" orders. There are many other features and the author has his own way to trade attached to the software which is kind of annoying but it's such good software.
Broker: NT Brokerage, Kinetick, IQFeed, Interactive Brokers
Trading: ES
Posts: 159 since Dec 2014
Thanks Given: 40
Thanks Received: 166
This can be easily done with code examples you could splice together. Here is a sample of adding a button to your chart and covers several of the gotchas so you don't crash your platform. I would recommend 2 buttons, one to enable, one to disable allowing new trades. Those button could simply set a bool value (maybe allowOpenNewTrades) in your strategy. That bool value could be wrapped in an if statement and that if block would encompass all of your trade entry logic. I'd probably not expose this as a property and set it to false in State.SetDefaults and only allow the button's click handler change its value.
I recommend doing it this way because you indicated you only wanted to prevent entries and it sounds like you want your automation to still manage any open trades. Also, you never have to worry about enabling disabling the strategy itself. This would only prevent new automated trade entries.
That's great, thanks! That does sound like an approach that would work (not sure I need two buttons), have the automation 'running' but internally set it to respond to the ARMED button, process a single trade (blocking other new trades and setting the button text to WORKING if possible) until complete, then set the ARMED button back to the waiting state.