![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Feb 2008
Posts: 5
Thanks: 0
Thanked 1 time in 1 post
|
Hi,
since I'm don*t have any experience regarding programming I'm looking for help (code if possible) for the following problem: I want to draw parallel lines (as much as I like) in equidistance (i. e. all lines are 10 ticks apart) to an indicator like the sma, ema etc. and to each other. So basically the code should do the following: draw 5 (variable 1 or input 1) lines on each side of the sma (14) (14 = variable 2 or input 2) in the distance of 10 (variable 3 or input 3) ticks to the sma, means line 1 is 10 ticks away either side, line 2 is 20 ticks away either side, line 3 is 30 ticks awy either side etc. Any help/code is highly appreciated. Thank you, firstbrain |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
|
firstbrain,
I would suggest going through some of our educational resources here. http://www.youtube.com/watch?v=JZpo01eSO9c http://www.ninjatrader.com/support/h..._resources.htm
Adam P.
NinjaTrader Customer Service |
|
|
|
![]() |
| Tags |
| lines, parallel |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parallel optimization | jjmmg | Strategy Development | 1 | 11-12-2010 05:20 AM |
| Parallel Trendlines | rtj4201 | Charting | 3 | 12-17-2009 04:56 AM |
| parallel line | zaelias | Charting | 2 | 09-23-2009 02:42 AM |
| How to keep trend lines parallel | Truth | Charting | 1 | 12-01-2008 05:12 AM |
| Drawing parallel lines | DORAIRAJ_S@HOTMAIL.COM | Indicator Development | 5 | 11-25-2007 04:49 PM |