NexusFi: Find Your Edge


Home Menu

 





Can any helpful genius create an ATR trailing stop strategy similar to anasupertrend?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one maryfromcolorado with 5 posts (5 thanks)
    2. looks_two Zefi with 4 posts (0 thanks)
    3. looks_3 Hawkeye1 with 2 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 6,085 views
    2. thumb_up 7 thanks given
    3. group 5 followers
    1. forum 13 posts
    2. attach_file 0 attachments




 
Search this Thread

Can any helpful genius create an ATR trailing stop strategy similar to anasupertrend?

  #1 (permalink)
 
Zefi's Avatar
 Zefi 
Mount Martha, Victoria, Australia
 
Experience: None
Platform: Acme VP & MP, Jigsaw
Trading: FESX FGBL
Posts: 230 since Dec 2014
Thanks Given: 128
Thanks Received: 259

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

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
Battlestations: Show us your trading desks!
48 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #3 (permalink)
maryfromcolorado
Denver CO USA
 
Posts: 32 since Sep 2016
Thanks Given: 0
Thanks Received: 13


You can use the anaSuperTrendU11 indicator from a strategy to exit. Just not strategy builder. Is that what you really want ?

Reply With Quote
The following user says Thank You to maryfromcolorado for this post:
  #4 (permalink)
 
Zefi's Avatar
 Zefi 
Mount Martha, Victoria, Australia
 
Experience: None
Platform: Acme VP & MP, Jigsaw
Trading: FESX FGBL
Posts: 230 since Dec 2014
Thanks Given: 128
Thanks Received: 259

Hi Mary

Thanks for the response.


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.

Thanks

Z

Follow me on Twitter Started this thread Reply With Quote
  #5 (permalink)
maryfromcolorado
Denver CO USA
 
Posts: 32 since Sep 2016
Thanks Given: 0
Thanks Received: 13

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.

Reply With Quote
The following user says Thank You to maryfromcolorado for this post:
  #6 (permalink)
 
Zefi's Avatar
 Zefi 
Mount Martha, Victoria, Australia
 
Experience: None
Platform: Acme VP & MP, Jigsaw
Trading: FESX FGBL
Posts: 230 since Dec 2014
Thanks Given: 128
Thanks Received: 259

Hi Mary

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?

Thanks again Mary

Z

Follow me on Twitter Started this thread Reply With Quote
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

There seems to be some confusion here .... let me try to clarify.


Zefi View Post
@FatTails ' anasupertrendu11 is exactly what I'm after however it's an indicator and cannot run an automated stop strategy.

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.


maryfromcolorado View Post
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.


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.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
  #8 (permalink)
maryfromcolorado
Denver CO USA
 
Posts: 32 since Sep 2016
Thanks Given: 0
Thanks Received: 13

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.

Sounds like you have it under control

Reply With Quote
The following user says Thank You to maryfromcolorado for this post:
  #9 (permalink)
maryfromcolorado
Denver CO USA
 
Posts: 32 since Sep 2016
Thanks Given: 0
Thanks Received: 13

Zefi,

I'll try to put something together this weekend.


Reply With Quote
The following 2 users say Thank You to maryfromcolorado for this post:
  #10 (permalink)
 
Zefi's Avatar
 Zefi 
Mount Martha, Victoria, Australia
 
Experience: None
Platform: Acme VP & MP, Jigsaw
Trading: FESX FGBL
Posts: 230 since Dec 2014
Thanks Given: 128
Thanks Received: 259


That's really kind of you to do that.

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.


Sent from my iPhone using futures.io

Follow me on Twitter Started this thread Reply With Quote





Last Updated on October 3, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts