![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Mar 2009
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
Hi
I've tried to search for this but can't find it anywhere. It's a very simple calculation but I've no coding skills so am lost. I'm surprised it's not a standard calc for most platforms. I simply want a rolling indicator that plots the day's percentage change (a) and the absolute percent movement (b). E.g. -2.5% for a and 2.5% for b. Separately or on the same chart it doesn't really matter, as long as I can then use the strategy analyser. Close (or current level) minus previous close divided by the previous close. Is there anywhere this could be found or could some kind soul knock this up quickly (even just a). Many thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
|
Hello,
There are a few NetChange indicators which should accomplish this, or at least give you an idea of how this could be accomplished: http://www.ninjatrader.com/support/f...&keys=1&ents=1
Matthew
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2009
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks, they're close, but not quite there.
The net change doesn't show the percentage, while the display netchange just shows today's which doesn't allow for back testing. Appreciate any other ideas |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Aug 2011
Location: France
Posts: 268
Thanks: 24
Thanked 15 times in 15 posts
|
Hi strewthmate,
here is an other example of what you need.. |
|
|
|
|
|
#5 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
The following user says thank you to koganam for this post: |
|
|
|
#6 |
|
Junior Member
Join Date: Mar 2009
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
Excellent thanks. The ROC works. I completely missed that one as I assumed it just gave you the numerical ROC not the %. Many thanks.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Sep 2009
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
I am looking for an indicator similar to the ROC indicator.
The ROC (Rate-of-change) indicator displays the percent change between the current price and the price x-time ago. I am looking for: An indicator that displays the price change between the current price and the price x-time ago. Where similar to ROC, I can input a "Period" parameter and view all the price changes along the time line with that period difference. e.g., If I input a "period" of 1 on a daily chart, I would see the change in price for each day in the Data Box. Thanks. |
|
|
|
|
|
#8 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Sep 2009
Posts: 27
Thanks: 0
Thanked 0 times in 0 posts
|
Excellent! That is exactly what I was looking for!
![]() Thank you. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suggestion: simple but useful change for z-order | JS999 | Charting | 1 | 10-26-2011 04:42 PM |
| Daily Percent Change on a 5-min Chart? | fosch | Indicator Development | 15 | 08-18-2010 12:15 PM |
| Percent Change of an Indicator | NTWolfe | Strategy Development | 3 | 04-05-2010 05:44 AM |
| filter conditions based on net change in units of percent | marcussharp | Market Analyzer | 2 | 03-17-2010 11:52 AM |
| Percent Change Quote Window | Quicktrader10 | Miscellaneous Support | 2 | 09-11-2006 12:46 AM |