Help with Channel This in Ninja 6.5 - NinjaTrader | futures io social day trading
futures io futures trading


Help with Channel This in Ninja 6.5
Updated: Views / Replies:3,425 / 20
Created: by CaptainAmericaXX Attachments:2

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 2  
 
Thread Tools Search this Thread
 

Help with Channel This in Ninja 6.5

  #1 (permalink)
Just starting out...
Montrose, CO
 
Futures Experience: Intermediate
Platform: Ninja Trader
Favorite Futures: TF
 
Posts: 11 since Mar 2011
Thanks: 4 given, 0 received

Help with Channel This in Ninja 6.5

Hello,
I'm still new to programming. I'm trying to use the Channel This indicator in a strategy with Ninja 6.5. I'm getting an error that, "'Ninja Trader.Indicator.MAV' is a 'type', which is not valid in the given context". Anyone have a suggestion as how to fix this indicator to make it workable in a 6.5 strategy?

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,067 received



CaptainAmericaXX View Post
Hello,
I'm still new to programming. I'm trying to use the Channel This indicator in a strategy with Ninja 6.5. I'm getting an error that, "'Ninja Trader.Indicator.MAV' is a 'type', which is not valid in the given context". Anyone have a suggestion as how to fix this indicator to make it workable in a 6.5 strategy?

try here version NT 7 https://futures.io/ninjatrader-programming/8747-need-help-channel-indicator.html#post105489 post #3 and think about Fat Tail's suggestions

Reply With Quote
 
  #4 (permalink)
Just starting out...
Montrose, CO
 
Futures Experience: Intermediate
Platform: Ninja Trader
Favorite Futures: TF
 
Posts: 11 since Mar 2011
Thanks: 4 given, 0 received

Thank you for the reply.
I read that post. I'm still clinging to 6.5 because there are indicators I like in it that will not work in 7.

Reply With Quote
 
  #5 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,067 received


CaptainAmericaXX View Post
Thank you for the reply.
I read that post. I'm still clinging to 6.5 because there are indicators I like in it that will not work in 7.


did you try also here ChannelThis and updated DoubleMA - Page 2 - NinjaTrader Support Forum

Reply With Quote
 
  #6 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,067 received

also check in your indy list MAV.cs edit+compile(F5) and verify if script is OK. If not ok repeat it with all the indies in the zipped file.

Reply With Quote
 
  #7 (permalink)
Just starting out...
Montrose, CO
 
Futures Experience: Intermediate
Platform: Ninja Trader
Favorite Futures: TF
 
Posts: 11 since Mar 2011
Thanks: 4 given, 0 received

Thanks for your suggestions redratsal. I downloaded the Channel This and Double MA, also the MAV compiles, but Channel This will still not work in an indicator. Also the DoubleMA will not work in a strategy. They are both giving the same error I listed above.( "'Ninja Trader.Indicator.MAV' is a 'type', which is not valid in the given context") Both indicators list code lines like this in Variables:
private NinjaTrader.Indicator.MAV.MAType mA1Type = NinjaTrader.Indicator.MAV.MAType.HMA;
Somewhere MAV is not specified as I 'type' correctely I'm guessing, but I don't know how to fix it. Any suggestions?

Reply With Quote
 
  #8 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,067 received


CaptainAmericaXX View Post
Thanks for your suggestions redratsal. I downloaded the Channel This and Double MA, also the MAV compiles, but Channel This will still not work in an indicator. Also the DoubleMA will not work in a strategy. They are both giving the same error I listed above.( "'Ninja Trader.Indicator.MAV' is a 'type', which is not valid in the given context") Both indicators list code lines like this in Variables:
private NinjaTrader.Indicator.MAV.MAType mA1Type = NinjaTrader.Indicator.MAV.MAType.HMA;
Somewhere MAV is not specified as I 'type' correctely I'm guessing, but I don't know how to fix it. Any suggestions?


I checked the script via notepad++, I don't have NT6.5 to compile it but try to replace line 26 with

private mAType = 1;

Reply With Quote
 
  #9 (permalink)
Just starting out...
Montrose, CO
 
Futures Experience: Intermediate
Platform: Ninja Trader
Favorite Futures: TF
 
Posts: 11 since Mar 2011
Thanks: 4 given, 0 received

Are you directing me to place that in the MAV indicator or the Channel This? I tried it in the MAV and got an error stating that I needed to specify the class variable. In Channel This line 26 didn't match with the suggestion.

Reply With Quote
 
  #10 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,067 received



CaptainAmericaXX View Post
Are you directing me to place that in the MAV indicator or the Channel This? I tried it in the MAV and got an error stating that I needed to specify the class variable. In Channel This line 26 didn't match with the suggestion.


Ok, try this one I modified the Mav, as the NT7 version was reporting the same error just import attached mav.zip with NT utilities. This indy was modified several times by other users, check that it plots correctly.

Modifications:

in Mav.cs lines 136 and 137 modified in comments

Attached Files
Register to download File Type: zip Mav.zip (32.7 KB, 15 views)
Reply With Quote
The following user says Thank You to redratsal for this post:

Reply



futures io > > > > Help with Channel This in Ninja 6.5

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Channel-Trading Tradetronics Trading Reviews and Vendors 53 December 27th, 2012 02:04 PM
MA Channel in Ninja tickvix NinjaTrader 11 September 3rd, 2011 06:22 PM
need help channel this indicator mytrades123 NinjaTrader Programming 2 March 13th, 2011 07:23 AM
ninja 7 donchian channel bobarian NinjaTrader 3 March 10th, 2011 08:33 PM
DoubleMA and Channel This Barrosco Feedback and Announcements 0 July 16th, 2009 09:28 AM


All times are GMT -4. The time now is 04:15 PM.

Copyright © 2017 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
Page generated 2017-12-12 in 0.14 seconds with 38 queries on phoenix via your IP 54.163.210.170