Price action TOS to NT7 - NinjaTrader Programming | futures.io
futures.io futures trading
 

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming


Price action TOS to NT7
Started:October 16th, 2016 (11:01 PM) by xtrader Views / Replies:87 / 0
Last Reply:October 16th, 2016 (11:01 PM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


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, and we will never resell your private information.

-- Big Mike
     

Reply
 
Thread Tools Search this Thread

Price action TOS to NT7

Old October 16th, 2016, 11:01 PM   #1 (permalink)
xtrader21
Chicago,IL USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTraderBrokerage CQG continuum
Favorite Futures: ES,YM,NQ
 
xtrader's Avatar
 
Posts: 10 since Oct 2010
Thanks: 5 given, 0 received

Price action TOS to NT7

TOS latest version 10/15/16 has a price action indicator, "Marker Indicator" that fails to show 30 and 70 as OB and OS as described in the studies section of the TOS platform manual. I have recoded this and call it MarkerIndicator 30/70. This is my first indicator post.
I would like this for my ninja trader 7 if some good soul could code it? Thanks.


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;
TD_I.SetDefaultColor(GetColor(1));

input over_sold = 30;
input over_bought = 70;

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

TD_I.SetDefaultColor(GetColor(9));
OverBought.SetDefaultColor(GetColor(5));
ZeroLine.SetDefaultColor(GetColor(5));
OverSold.SetDefaultColor(GetColor(5));

Reply With Quote
     

Reply



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Price action TOS to NT7

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

NinjaTrader 8: Features and Enhancements, Tips and Tricks

Dec 6
 

Al Brooks: Stop Losing when a Good Trade goes Bad, Correcting Mistakes

Elite only
 

Trading Technologies: Algo Design Lab hands-on

Dec 13
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Price action tobym333 Currency Futures 3 December 3rd, 2015 11:58 AM
Price Action Observations lajx Trading Journals 42 August 31st, 2015 08:15 AM
Price Action Adamus Traders and Trading Methods 6 February 20th, 2013 08:56 AM
Price Action - HELP! ollivermilton Beginners and Introductions 3 March 8th, 2012 07:48 PM
Price Action Setups Zoethecus Index Futures Trading 5 February 10th, 2010 11:51 AM


All times are GMT -4. The time now is 10:20 AM.

Copyright © 2016 by futures.io. 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

Page generated 2016-12-07 in 0.05 seconds with 19 queries on phoenix via your IP 54.159.189.139