Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

NinjaTrader
Reply
 
Thread Tools Display Modes
Old 01-03-2011, 09:59 AM   #106
richbois
Senior Member
 
Join Date: Jan 2009
Posts: 116
Thanks: 17
Thanked 6 times in 6 posts
Default

Quote:
Originally Posted by jbclem View Post
(1) Is there a way to move the colored boxes, diamonds, and triangles further away from the candlesticks they are reporting on. They are so close that they are covering and touching the candlestick wicks and make it impossible to read the candlestick. Is there a parameter I can adjust to change their location. (2) Also, could someone point me to a manual or good description of how this VSA indicator functions? I don't mean the VSA theory, but exactly what the indicator is doing when it places the colored boxes, and when it changes the text in the large white text boxes(the ones that often cover too much of the chart). For example, are these large white text boxes reporting on the last bar on the chart, or are they just informational FAQs that pop up at random.
Hi yes it can be done but it is not as easy as it looks

In the variable section you need to add a new variable

in my case after line 61 i added
private
int dist = 5;


then goto property section

after the 3 Values section at line 945 in original script

add this
[Description(
"Distance")]
[Category(
"Parameters")]
[Gui.Design.DisplayNameAttribute(
"Shape Distance")]
publicint Dist
{
get { return dist; }
set { dist = Math.Max(1, value); }
}


then you need to go to the Shape section and change each line of code and remove the 2 and replace it by dist like in this example

if (isUpThrustBar[0] && !isNewConfirmedUpThrustBar[0])
{
DrawSquare(
"MySquare" + CurrentBar, true, 0, High[0] + dist * TickSize, Color.Red);
}



I hope that helps as now you can pick in the parameters what distance you want

if this is too complicated than go in the Shape section and just change the 2 for any number you want than it will be fixed

good luck
richbois is offline  
Reply With Quote
Old 01-04-2011, 05:22 AM   #107
jbclem
Member
 
Join Date: Jun 2008
Posts: 37
Thanks: 0
Thanked 2 times in 2 posts
Default

Richbois, thanks...this is what I was looking for, though I was hoping the adjustments might be done from inside NinjaTrader. Could you tell me exactly where to find the variables section, the property section, and the shape section. I have 9 .cs files and I looked in the longest one called VPA .cs but the lines aren't numbered, so that must be the wrong place to look. I also don't know if this is the original script...do you know where that is available? John
jbclem is offline  
Reply With Quote
Old 01-04-2011, 09:04 AM   #108
richbois
Senior Member
 
Join Date: Jan 2009
Posts: 116
Thanks: 17
Thanked 6 times in 6 posts
Default

Quote:
Originally Posted by jbclem View Post
Richbois, thanks...this is what I was looking for, though I was hoping the adjustments might be done from inside NinjaTrader. Could you tell me exactly where to find the variables section, the property section, and the shape section. I have 9 .cs files and I looked in the longest one called VPA .cs but the lines aren't numbered, so that must be the wrong place to look. I also don't know if this is the original script...do you know where that is available? John

Yes in the VPA.CS file

You will see the sections I am talking about at or close to the line ##s I quoted
richbois is offline  
Reply With Quote
Old 01-04-2011, 10:07 AM   #109
Larry22
Senior Member
 
Join Date: Dec 2007
Location: Montreal
Posts: 102
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by jbclem View Post
though I was hoping the adjustments might be done from inside NinjaTrader.
To do that you need to go to tools then edit ninja script then indicator from there select the VPA one.

Quote:
Originally Posted by jbclem View Post
I have 9 .cs files and I looked in the longest one called VPA .cs but the lines aren't numbered, so that must be the wrong place to look. I also don't know if this is the original script...do you know where that is available? John
By using the Ninja script indicator edit feature you will be able to see all the numbered lines and add the lines required to have your boxes further on your chart.

Good luck
Larry22 is offline  
Reply With Quote
Old 02-05-2011, 10:34 PM   #110
janis
Junior Member
 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 1 time in 1 post
Default VSA Indicator

Hi everyone!
I have a question here. I downloaded VPA.zip (17.6 KB) and in lower volume box missing volumes (volume box is empty). Any suggest of why there is no volumes? Thanks for advise!
janis is offline  
Reply With Quote
The following user says thank you to janis for this post:
Old 06-05-2011, 07:20 PM   #111
logjam101
Junior Member
 
Join Date: Nov 2009
Location: somerwhereville
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Default

I am using NT 7 V 1000.5. When I try to import the the indicator I am getting a message " Import failed. The NinjaScript Arichive File may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in the import archive."

How do I get this indicator to work. Help would be appreciated. Thanxs
logjam101 is offline  
Reply With Quote
Old 09-30-2011, 01:43 PM   #112
Jonson
Member
 
Join Date: Nov 2010
Location: Russia
Posts: 69
Thanks: 28
Thanked 2 times in 2 posts
Thumbs up

hi
I have found the paid version http://www.tradeguider.com/addins/ninja.aspx, this addition costs money or it works also as the indicator on this thread?
Jonson is offline  
Reply With Quote
Old 10-07-2011, 10:55 AM   #113
StockJock
Member
 
Join Date: Aug 2010
Location: Earth
Posts: 93
Thanks: 8
Thanked 7 times in 5 posts
Default

Quote:
Originally Posted by logjam101 View Post
I am using NT 7 V 1000.5. When I try to import the the indicator I am getting a message " Import failed. The NinjaScript Arichive File may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in the import archive."

How do I get this indicator to work. Help would be appreciated. Thanxs
Me too. I have the VPA indicators for earlier versions of NT and there has been some code changes in NT 7 that prevent it from working. I think there's a number of people who would appreciate a workable version of VPA for NT 7, if there's someone who is willing to reprogram it.
StockJock is offline  
Reply With Quote
Old 10-26-2011, 05:51 PM   #114
jwhtrades
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 3
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by Trader2010a View Post
Hi,

Can't find the VPA indicator that works with NT7 so I modify the original one. Enjoy

T2010a
Hi Trader2010a,

Great indicator, thanks, do you have any trading strategy info for this indicator? It's a lot more complete than the previous version.
Thanks in advance,
jwhtrades
jwhtrades is offline  
Reply With Quote
The following user says thank you to jwhtrades for this post:
Old 11-01-2011, 10:45 AM   #115
StockJock
Member
 
Join Date: Aug 2010
Location: Earth
Posts: 93
Thanks: 8
Thanked 7 times in 5 posts
Default

Is there a "symbol key" that explains what each symbol means, so that I can decipher the chart?
StockJock is offline  
Reply With Quote
Old 11-01-2011, 02:48 PM   #116
laurus12
Member
 
Join Date: May 2010
Location: Europe
Posts: 79
Thanks: 13
Thanked 3 times in 3 posts
Default

Hello John,

Look at the picture and the attached file in post #104 below.

Laurus
laurus12 is offline  
Reply With Quote
The following user says thank you to laurus12 for this post:
Old 11-01-2011, 09:17 PM   #117
StockJock
Member
 
Join Date: Aug 2010
Location: Earth
Posts: 93
Thanks: 8
Thanked 7 times in 5 posts
Default

Thanks. I missed that. I can see that there's a little problem distinguishing between the Red Square and the Deep Pink Square; also between the Lime Up Triange and the Aqua Up Triangle. In these cases, its necessary to consider where they are located to confirm the information the symbol is trying to convey.
StockJock is offline  
Reply With Quote
The following 3 users say thank you to StockJock for this post:
Old 04-23-2017, 04:52 AM   #118
msaeed
Junior Member
 
Join Date: Apr 2017
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks
msaeed is offline  
Reply With Quote
Old 06-30-2017, 01:50 PM   #119
markbb10
Junior Member
 
Join Date: Oct 2013
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default

Is there a doc or legend that describes the symbols on the VPA indicator...
markbb10 is offline  
Reply With Quote
Old 08-01-2017, 10:24 PM   #120
Janbee
Junior Member
 
Join Date: Jul 2017
Location: Ha noi
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default

Any guide how to use this indicator?


-------------------------------------------------------------------------------------------------
*phu kien tien ich xe hoi*| *phu kien tien ich giai tri tren o to*| *tac dung cua phu kien o to*
Janbee is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSA indicator request dokebilee Indicator Development 8 01-11-2010 11:37 AM
VSA - Volume Spread Analysis markm NinjaScript File Sharing Discussion 4 12-30-2008 07:12 PM
VSA Trade Alerts kronie Indicator Development 3 11-17-2008 01:11 PM


All times are GMT -6. The time now is 05:01 PM.

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations, unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is an affiliated company to NinjaTrader Brokerage (“NTB”), which is a NFA registered introducing broker (NFA #0339976) providing brokerage services to traders of futures and foreign exchange products. This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate and the information made available on this Web site is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly. The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. 

Vendors along with their websites, products and services, collectively referred to as (“Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any if its affiliates. NT or any of its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website and it’s your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content.