NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 10-01-2008, 10:18 PM   #1
5iver
Senior Member
 
Join Date: Sep 2008
Posts: 127
Thanks: 0
Thanked 0 times in 0 posts
Default Plotting a value from one TF to another?

Hi.

Is it possible in Ninja to "go get" the price value of an indicator at a given moment in time on a higher TF, then come back to the one you're on and plot that value as a dot?

So, for instance (and I'm not a coder, so this is layman's code...):

I'm on a 500 volume chart.
As each bar closes, the value of an SMA from a 1 min chart is grabbed and plotted as a dot on the 500.

As time/vol proceeds, the dots will represent the path (through price) of that SMA from the 1min.

Wishful thinking?

Please advise.

Many thanks

5iver
Last edited by 5iver; 10-01-2008 at 10:25 PM.
5iver is offline  
Reply With Quote
Old 10-02-2008, 06:12 AM   #2
mrlogik
Certified NinjaScript Consultant
 
mrlogik's Avatar
 
Join Date: Sep 2006
Location: New York, USA
Posts: 774
Thanks: 1
Thanked 7 times in 5 posts
Default

Hey,

This can be done.

You can reference my post#4 here

good luck
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"

PureLogikTrading
mrlogik is offline  
Reply With Quote
Old 10-02-2008, 06:49 AM   #3
5iver
Senior Member
 
Join Date: Sep 2008
Posts: 127
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by mrlogik View Post
Hey,

This can be done.

You can reference my post#4 here

good luck
Mrlogik,

Thank you for your reply, I'm very glad it's possible, however, the post you directed me to might as well be written in an ancient Martian hieroglyphics as I have no programming or coding experience at all... (am I mrillogic?) if I gave this code to someone who knew what they were doing, I'm sure it's quite straightforward. Can you recommend anyone who might be willing to turn theory into reality?

Many thanks again for solving it, and for your time.

5iver
5iver is offline  
Reply With Quote
Old 10-02-2008, 07:09 AM   #4
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,


You will find our list of NinjaScript consultants here:
http://www.ninjatrader.com/webnew/pa...injaScript.htm
NinjaTrader_Ben 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
Custom plotting bobajob78 General Programming 5 04-09-2008 01:04 PM
Plotting the bid/ask lurkerlurker NinjaScript File Sharing Discussion 3 04-01-2008 03:59 PM
Plotting Bid and Ask volumes fishbed Indicator Development 1 12-07-2007 10:57 AM
Indicator not plotting Burga1 Indicator Development 11 12-06-2007 02:26 PM
PLOTTING THE BID camelcom Charting 1 04-05-2006 12:36 AM


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