NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 06-12-2012, 07:10 AM   #1
ScottieDog
Senior Member
 
Join Date: Aug 2010
Posts: 177
Thanks: 12
Thanked 3 times in 3 posts
Default Indicator which plots manually input values x 3

Hi,

I am looking for an indicator which will manually plot 3 lines on the chart, with ability to make plot style changes on any of the 3 lines.

At the moment I draw and then move the lines manually every day to their new position, would be easier if I can just type the correct value into an indicator then it puts the line there for me.. so I only have to open and close the indicator to input the new values.

I did try to code it myself (thought it would be easy lol) but canīt get it to work. Is there an indicator already coded that will do this? I am sure there is.

Thanks.
ScottieDog is offline  
Reply With Quote
Old 06-12-2012, 07:21 AM   #2
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

Hello ScottieDog,
You can have a look at the PriceAlert indicator which comes with NinjaTrader.
  • In Control Center menu goto Tools>Edit NinjaScript>Indicators..
  • In the Indicator dialog select PriceAlert and click Ok button

Please let me know if I can assist you any further.
NinjaTrader_Joydeep is offline  
Reply With Quote
Old 06-12-2012, 07:45 AM   #3
ScottieDog
Senior Member
 
Join Date: Aug 2010
Posts: 177
Thanks: 12
Thanked 3 times in 3 posts
Default

would it be possible to amend the code in this, so there are 3 price alert lines available?

A la copy and paste? lol
ScottieDog is offline  
Reply With Quote
Old 06-12-2012, 07:54 AM   #4
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

ScotteDog,
Please have a look at the ConstantLines indicator which comes with NinjaTrader.

It can draw upto 4 lines and you can set the values via the indicator parameter box and you can change the plot style etc.

Please let me know if I can assist you any further.
NinjaTrader_Joydeep is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Joydeep for this post:
Old 06-12-2012, 08:13 AM   #5
ScottieDog
Senior Member
 
Join Date: Aug 2010
Posts: 177
Thanks: 12
Thanked 3 times in 3 posts
Default

Perfect! Thanks.
ScottieDog is offline  
Reply With Quote
The following user says thank you to ScottieDog for this post:
Old 06-26-2012, 01:50 PM   #6
ScottieDog
Senior Member
 
Join Date: Aug 2010
Posts: 177
Thanks: 12
Thanked 3 times in 3 posts
Default

This indie is working great.

Just one thing. Is there a way to globally apply the settings onto other charts? IE. There are 3 charts I am using with this one indicator, I have to reset all 3 every morning with the same figures, is there a way that I can set one of them and it amends the other two automatically without me having to manually reset them too?

Thanks.
ScottieDog is offline  
Reply With Quote
Old 06-26-2012, 02:15 PM   #7
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,499
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Unfortunately not possible at this time. I will send the suggestion into development however.

Happy Trading!

-Brett
NinjaTrader_Brett 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
Input.IsValidPlot() on indicator with multiple plots DaveE Indicator Development 4 10-31-2011 02:05 PM
Different input values for the plots of an indicator IkerCB Miscellaneous Support 2 09-09-2010 05:00 AM
Indicator values that are not plots annettes General Programming 2 09-02-2010 05:32 AM
Accessing indicator values without plots suprsnipes Indicator Development 1 08-25-2010 05:23 AM
Exposing indicator values that are not plots AND NOT DATASERIES xTrader1 Indicator Development 2 10-29-2009 02:38 PM


All times are GMT -6. The time now is 04:56 PM.