SupDemZones Indicator Help - futures io
futures io



SupDemZones Indicator Help


Discussion in NinjaTrader

Updated
    1. trending_up 1,397 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 2 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
 

SupDemZones Indicator Help

(login for full post details)
  #1 (permalink)
 heyyo1432 
miami, FL
 
Experience: Beginner
Platform: Ninja Trader 8
Broker: amp future + CQG
Trading: CL, ES, ZB, ZN, GC, TF, YM
 
Posts: 2 since Jun 2017
Thanks: 1 given, 1 received

Hi mk77ch,

**I was going to place this as private message, but this may help others in the forum, so I am posting this in a public thread.**

My name is Jake, I am brand new to future.io and brand new to programming/ninja script.
I have pretty much zero experience with ninja script or coding in general. I found out about programming ninja script maybe a few weeks ago and I am very excited to learn.

First off - Thank you for uploading your indicator I am sure it will help a lot of us here in the forums reach new heights in our trading!

I'm hoping you [or another expert] can help me or point me in the right direction:

I have NT 8 and I recently downloaded your indicator SupDemZones. I gotta say that is some impressive coding skills. It's a great indicator, and it's exactly what I needed for a strategy I want to build.

The problem: I don't know how to call it in the strategy. for example, I am attempting to add it onto my screen:

else if (State == State.DataLoaded)
{ //begin state.dataloaded
//here is where you can add indicators and visuals to charts
AddChartIndicator(SupDemZones(Input, useMTF, barType, barPeriod, demandColor, supplyColor, activeLineOpacity, activeAreaOpacity, brokenLineOpacity, brokenAreaOpacity, lineWidth, extendZones, hideActiveZones, hideBrokenZones, indicatorVersion));

and I get a compile error: Indicator 'SupDemZones': Error on calling 'OnStateChange' method: Object reference not set to an instance of an object.

not sure what that means. Any ideas?

Also - If I want to get values of the demand zone that just appeared: ie - demandzone[0] and get the high and low values of it, how would I do that?

i.e. - i.e. - Variable1 = demandzone[0].high, variable2 = demandzone[0].Low

I am not sure of the syntax here for this indicator.

Also - Would it be possible for you to help me out by sending me the syntax or a reference/location/website where i can find out if the zones have been tested already or not for this particular indicator?

i.e.- bool ZoneTested (set to false if no retests, set true if retested already).

Again, not sure of the syntax here.

For my strategy, I only want to set an entry in a zone that is going with the direction, preferrably EARLY in the direction, and zone is UNTESTED.

Thank you so much for your help!

Started this thread Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(79 thanks from 10 posts)
looks_twoSalao's Journalby Salao
(23 thanks from 5 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(16 thanks from 8 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(12 thanks from 7 posts)
looks_5Rogue MNQ 2/21 Journeyby RogueJoules
(0 thanks from 2 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Crude Dude Oil Trading System
73 thanks
futures io site changelog and issues/problem reporting
71 thanks
Would You Sell Your System?
65 thanks
FIO Journal Challenge - April 2021 w/Jigsaw Trading
30 thanks
Big Mike in Ecuador
25 thanks
 
(login for full post details)
  #3 (permalink)
 GeeBee 
Totonto,Ontario, Canada
 
Experience: Beginner
Platform: Ninja Trader
Trading: oil, russel 2000
 
Posts: 29 since Nov 2011
Thanks: 5 given, 8 received



heyyo1432 View Post
Hi mk77ch,

**I was going to place this as private message, but this may help others in the forum, so I am posting this in a public thread.**

My name is Jake, I am brand new to future.io and brand new to programming/ninja script.
I have pretty much zero experience with ninja script or coding in general. I found out about programming ninja script maybe a few weeks ago and I am very excited to learn.

First off - Thank you for uploading your indicator I am sure it will help a lot of us here in the forums reach new heights in our trading!

I'm hoping you [or another expert] can help me or point me in the right direction:

I have NT 8 and I recently downloaded your indicator SupDemZones. I gotta say that is some impressive coding skills. It's a great indicator, and it's exactly what I needed for a strategy I want to build.

The problem: I don't know how to call it in the strategy. for example, I am attempting to add it onto my screen:

else if (State == State.DataLoaded)
{ //begin state.dataloaded
//here is where you can add indicators and visuals to charts
AddChartIndicator(SupDemZones(Input, useMTF, barType, barPeriod, demandColor, supplyColor, activeLineOpacity, activeAreaOpacity, brokenLineOpacity, brokenAreaOpacity, lineWidth, extendZones, hideActiveZones, hideBrokenZones, indicatorVersion));

and I get a compile error: Indicator 'SupDemZones': Error on calling 'OnStateChange' method: Object reference not set to an instance of an object.

not sure what that means. Any ideas?

Also - If I want to get values of the demand zone that just appeared: ie - demandzone[0] and get the high and low values of it, how would I do that?

i.e. - i.e. - Variable1 = demandzone[0].high, variable2 = demandzone[0].Low

I am not sure of the syntax here for this indicator.

Also - Would it be possible for you to help me out by sending me the syntax or a reference/location/website where i can find out if the zones have been tested already or not for this particular indicator?

i.e.- bool ZoneTested (set to false if no retests, set true if retested already).

Again, not sure of the syntax here.

For my strategy, I only want to set an entry in a zone that is going with the direction, preferrably EARLY in the direction, and zone is UNTESTED.

Thank you so much for your help!




Hi heyyo1432

I have updated NT7 to NT8 and was looking mkSupDemZones for NT8. As you have mentioned that you have downloaded for NT8.
Could you please forward the link where to find the mkSupDemZones for NT8 or attach the indicator file.

Thank you in advance.

Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > SupDemZones Indicator Help


Last Updated on July 24, 2019


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1,800 in prizes!

April
 

Seven Trading Mistakes Solved With Smart Trading Tools w/Brannigan Barrett

Elite only
     



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