NexusFi: Find Your Edge


Home Menu

 





indicator plots close N weeks ago


Discussion in NinjaTrader

Updated
    1. trending_up 1,416 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 ChrisJff 
Sydney
 
Experience: Beginner
Platform: Ninjatrader
Trading: Stocks
Posts: 12 since Feb 2015
Thanks Given: 28
Thanks Received: 12

Hello

Does anybody know of an indicator for ninjatrader that plots the close N weeks ago?

Unfortunately, although it would probably be simple to code, my programming skills are non-existent.

Thanks
Chris


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Ceasefire Surges to 19.5% on US 15-Point Plan -- 82 …
Prediction Markets & Event Contracts
Penalties in Budapest, Peace Deadline in Tehran: Arsenal …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
Topstep Acquires The Futures Desk -- Prop Firm Consolida …
Funded Trading Evaluation Firms
Tradeify 3.0 Overhauls Futures Prop Firm Model -- One-Ti …
Funded Trading Evaluation Firms
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 ChrisJff 
Sydney
 
Experience: Beginner
Platform: Ninjatrader
Trading: Stocks
Posts: 12 since Feb 2015
Thanks Given: 28
Thanks Received: 12

Just to provide a little context, I'm trying to build a breakout strategy that I got from Larry Connors.

I have the amibroker code but I'm trying to build it in Ninjatrader with Bloodhound so that I can play around with it on different markets and timeframes and with different conditions to those specified in the amibroker code.

Bloodhound is very useful when you have the right indicators with which to build a strategy. You can even use it to produce a signal like an indicator. For example, you can get it to tell you when the current weekly close has been above the weekly close of 5 weeks ago for the last 8 weeks therefore defining an upthrust.

However, I haven't found a way to then incorporate these signals into a strategy. Come to think of it, it would be useful if bloodhound could be made to work in 'indicator mode' so that the signals it produced are then treated as indicator signals and can be used as inputs into a strategy - this would be the holy grail of a programming free, system trading construction platform!.

If anybody could help me with the code for this indicator then I would be happy to give you the amibroker code and the pdf describing the breakout strategy, which has a good record of double digit returns for the last 15 years on the S&P500, so long as you did not give it to anybody else and respected Larry Connors' copyright on it.


Started this thread Reply With Quote
  #3 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 6,233 since Sep 2015
Thanks Given: 15,885
Thanks Received: 16,118



ChrisJff View Post
Hello

Does anybody know of an indicator for ninjatrader that plots the close N weeks ago?

Unfortunately, although it would probably be simple to code, my programming skills are non-existent.

Thanks
Chris


ChrisJff View Post
Just to provide a little context, I'm trying to build a breakout strategy that I got from Larry Connors.

I have the amibroker code but I'm trying to build it in Ninjatrader with Bloodhound so that I can play around with it on different markets and timeframes and with different conditions to those specified in the amibroker code.

Bloodhound is very useful when you have the right indicators with which to build a strategy. You can even use it to produce a signal like an indicator. For example, you can get it to tell you when the current weekly close has been above the weekly close of 5 weeks ago for the last 8 weeks therefore defining an upthrust.

However, I haven't found a way to then incorporate these signals into a strategy. Come to think of it, it would be useful if bloodhound could be made to work in 'indicator mode' so that the signals it produced are then treated as indicator signals and can be used as inputs into a strategy - this would be the holy grail of a programming free, system trading construction platform!.

If anybody could help me with the code for this indicator then I would be happy to give you the amibroker code and the pdf describing the breakout strategy, which has a good record of double digit returns for the last 15 years on the S&P500, so long as you did not give it to anybody else and respected Larry Connors' copyright on it.

Hi Chris - sorry I can't help you as I don't code on NT.

In most trading platforms, once you've set the chart to weekly timeframe, I think what would work is something like

Close[n]

Where n is the number of weeks ago you want.


However, I appreciate this may not be helpful to you given you don't code at all.


You may try on this thread for specific help on NT




Good luck.


Reply With Quote
Thanked by:




Last Updated on August 12, 2016


© 2026 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 - Downloads - Top
no new posts