Price action TOS to NT7 - futures io
futures io futures trading

Price action TOS to NT7

Discussion in NinjaTrader

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

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

Price action TOS to NT7

(login for full post details)
  #1 (permalink)
Chicago,IL USA
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTraderBrokerage CQG continuum
Trading: ES,YM,NQ
xtrader's Avatar
Posts: 23 since Oct 2010
Thanks: 14 given, 5 received

Need help converting to NT7. This is a TOS indicator- Marker Indicator.
The other indicator is the HHLL

"Marker Indicator"

declare lower;

def high_diff = Max(0, high - high[1]);
def low_diff = Max(0, low[1] - low);

def high_avg = Average(high_diff, 8);
def low_avg = Average(low_diff, 8);
plot TD_I = if high_avg == 0 && low_avg == 0 then 0 else high_avg / (high_avg + low_avg) * 100;

input over_sold = 30;
input over_bought = 70;

def price = close + low + high;
plot OverBought = over_bought;
plot ZeroLine = 50;
plot OverSold = over_sold;



declare lower;

input length = 20;
input over_bought = 60;
input signal_line = 50;
input over_sold = 10;
input averageType = AverageType.EXPONENTIAL;

Assert(length > 1, "'length' must be greater than one: " + length);

def HH = if high > high[1] then (high - Lowest(high, length)) / (Highest(high, length) - Lowest(high, length)) else 0;
def LL = if low < low[1] then (Highest(low, length) - low) / (Highest(low, length) - Lowest(low, length)) else 0;

plot HHS = 100 * MovingAverage(averageType, HH, length);
plot LLS = 100 * MovingAverage(averageType, LL, length);
plot OverBought = over_bought;
plot SignalLine = signal_line;
plot OverSold = over_sold;


Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Automatic pattern research with NT
Elite Algorithmic NinjaTrader Trading
OFA (Order Flow Analytics) Licence
Automating strategies on multiple charts with same symbol
Indicators for pair trading MES and M2K
Platforms and Indicators
MACD line not plotting after change of plot order
(login for full post details)
  #2 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
Big Mike's Avatar
Posts: 49,779 since Jun 2009
Thanks: 32,306 given, 97,566 received


You have two nearly identical threads now in the NinjaTrader Programming section.

Please do not create another new duplicate thread. I've been moving them out of the Wiki, because they are not Wiki articles.


We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:

futures io Trading Community Platforms and Indicators NinjaTrader > Price action TOS to NT7

Last Updated on October 17, 2016

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Battlestations! Show us your trading desk - $1,500 in prizes!


Importance of Finding Your Own Way w/Adam Grimes

Elite only

Journal Challenge w/Jigsaw


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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.
no new posts