DashStyle error - futures io
futures io futures trading



DashStyle error


Discussion in NinjaTrader

Updated
    1. trending_up 1,179 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 5 posts
    2. attach_file 1 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
 

DashStyle error

(login for full post details)
  #1 (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

OK, where am I going wrong? It's been a while...

Add(new Plot(Color.White, "mRSI"));
Add(new Plot(Color.Gray, PlotStyle.Line, "Avg"));

Plots[0].Pen.Width = 2;
Plots[1].Pen.DashStyle = DashStyle.Dash;

Indicator\mRSI.cs The name 'DashStyle' does not exist in the current context CS0103 - click for info 44 29

Mike

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:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
If ES tracks SPX, why do support/resistance, Level 2, vo …
Emini and Emicro Index
Reading A set of Trading Signals
EasyLanguage Programming
What blockvolume is visible? - order processing
NinjaTrader
Can the Magnet Tool Affect Chart Orders In Overcharts Ha …
Platforms and Indicators
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
 
 
(login for full post details)
  #3 (permalink)
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,816 received



Big Mike View Post
OK, where am I going wrong? It's been a while...

Add(new Plot(Color.White, "mRSI"));
Add(new Plot(Color.Gray, PlotStyle.Line, "Avg"));

Plots[0].Pen.Width = 2;
Plots[1].Pen.DashStyle = DashStyle.Dash;

Indicator\mRSI.cs The name 'DashStyle' does not exist in the current context CS0103 - click for info 44 29

Mike

Looks fine to me and compiles fine too...

vvhg

Hic Rhodos, hic salta.
Reply With Quote
 
(login for full post details)
  #4 (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


vvhg View Post
Looks fine to me and compiles fine too...

vvhg

WTF... won't compile here.

This too:

DrawLine("HH " + CurrentBar, true, mrohh, Value[mrohh], 0, Value[mrohh1], Color.Lime, DashStyle.Solid, 2);

Same thing, DashStyle error.



I guess I will have to contact NinjaTrader Support.

@vvhg, can you please check to see if I am missing a reference? That is all I can think of.



Mike

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:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,816 received


Big Mike View Post
WTF... won't compile here.

This too:

DrawLine("HH " + CurrentBar, true, mrohh, Value[mrohh], 0, Value[mrohh1], Color.Lime, DashStyle.Solid, 2);

Same thing, DashStyle error.



I guess I will have to contact NinjaTrader Support.

@vvhg, can you please check to see if I am missing a reference? That is all I can think of.



Mike

References are the same I have, so that can't be the cause.
Have you perhaps deleted a using declaration by accident? Mine (standard) are:



vvhg

Hic Rhodos, hic salta.
Reply With Quote
The following user says Thank You to vvhg for this post:
 
(login for full post details)
  #6 (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


vvhg View Post
References are the same I have, so that can't be the cause.
Have you perhaps deleted a using declaration by accident? Mine (standard) are:
Attachment 83686


vvhg

That was it, I was missing Drawing2D. No idea why...

Mike

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:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > DashStyle error


Last Updated on August 4, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

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

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



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