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)
Hi coders, programmers and general folk who are a lot smarter than me!
I'm kindly asking someone to code an intraday ATR based trailing stop strategy for Ninjatrader 7 (and 8 to help those on that platform).
@FatTails ' anasupertrendu11 is exactly what I'm after however it's an indicator and cannot run an automated stop strategy.
This strategy is really going to help me for later in the European session and we get a reversal for which it becomes too late in the night to stay up and monitor here in Australia.
It doesn't need to have a lot of bells and whistles to it, simply the ability to adjust to the ever changing ATR of the day session. I use a 1 tick renko and Jigsaw DOM for entries, however 5 min candles should be fine to base the ATR off. I'm not overly sure how long the period should be but that's up to me to back test it once it's created.
Many thanks to who ever could help, or even recommend a similar strategy that can be found somewhere in cyber space!
Z
Can you help answer these questions from other members on NexusFi?
I'm looking to convert the anasupertrendu11 from an indicator to a strategy using the NT strategy builder with the help of a friendly coder.
It doesn't need to be anything near as sophisticated as what @fattails built but just employing a trailing stop function to work with atr for the day and a custom period and multiplier for me to test.
The indicator anasupertrend can't be used from Strategy Builder. Only a regular NT strategy.
It would be easy to use the indicator directly from a regular strategy and close on the right indicator value. Thats why I asked if that is what you wanted.
Would be very easy to do. Easier than converting the whole indicator. Let me know if you need help.
Yes as long as the strategy trails the stop and exits as per the anasupertrendu11 and the period/multiplier can be adjusted then I believe we'll have a very impressive strategy that would serve a lot of traders on the forum.
Really appreciate your help converting this. Perhaps we can post this on the indicator/strategy section with the permission of @Fat Tails?
There seems to be some confusion here .... let me try to clarify.
We need to differentiate between
- ATM strategies (Automated Trade Management), selectable via the SuperDOM or order entry
- automated strategies that can be built via the strategy builder or that can be manually coded
ATM strategies are simple and do not allow for integrating any indicators.
However, automated strategies built with the strategy builder or manually coded can do whatever you like. It is easy to incorporate the anaSuperTrendU11 into one of these strategies.
The anaSuperTrendU11 can be accessed via the Strategy Builder. The only current limitation is that the trend (uptrend or downtrend) cannot be directly called by the Strategy Builder, because the trend information is stored as a BoolSeries. The strategy builder cannot access BoolSeries, which is a design flaw of the strategy builder.
However, the latest update of the anaSuperTrendU11 has the BoolSeries replaced with a DataSeries which can be accessed by the strategy builder. I haven't yet updated the indicator in the download section of this forum. If you send me a private message, I will send you a download link to the indicator.
In my opinion, the strategy builder is more or less a toy. I do not like to use it, as it has a lot of limitations.
Yes, all I meant is a regular strategy can deal with the boolseries indicator, and work fine. Just not strategy builder. I was offering help to accomplish this in a normal strategy. If needed.
I think there will be a lot of traders on the forum who will benefit from a trail stop strategy.
I was a little surprised there weren't more requests for one.