Trading Articles |
Article Categories |
Article Tools |
Price action TOS to NT7
|
|
Updated
|
-
trending_up
1,004 views
-
thumb_up
1 thanks given
-
group
0 followers
-
forum
1 posts
-
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)
|
(login for full post details)
|
#1 (permalink)
|
Chicago,IL USA
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTraderBrokerage CQG continuum
Trading: ES,YM,NQ
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;
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));
"HHLL"
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;
HHS.SetDefaultColor(GetColor(6));
LLS.SetDefaultColor(GetColor(5));
OverBought.SetDefaultColor(GetColor(7));
SignalLine.SetDefaultColor(GetColor(7));
OverSold.SetDefaultColor(GetColor(7));
|
|
|
Can you help answer these questions from other members on futures io? |
|
|
|
Best Threads (Most Thanked) in the last 7 days on futures io |
|
|
(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
Posts: 49,779 since Jun 2009
Thanks: 32,306 given,
97,566
received
|
Hi,
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.
Mike
|
|
|
The following user says Thank You to Big Mike for this post:
|
|
Last Updated on October 17, 2016
|
|
Ongoing
|
|
March
|
|
Elite only
|
|
April
|
|
|
|