![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jun 2011
Location: Ireland
Posts: 184
Thanks: 32
Thanked 20 times in 19 posts
|
Hi all;
Has anybody any ideas over the time frame that NT use to calculate 'rising' and 'falling'? Can I change it? If so - How? If not - is the only way round it to write my own code defining my rising and falling conditions? Thanks; Ben. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Aug 2010
Location: Washington, D.C.
Posts: 1,184
Thanks: 178
Thanked 301 times in 259 posts
|
This is defined in the help file.
|
|
|
|
|
|
#3 | |
|
Senior Member
|
Quote:
![]() The function does not seem to be indexed, though it should be easy to use if statements to work around that. Better yet is to simply code your own rising() function, including input parameters for the period over which you want to test your rising conditions and how you want them to occur. |
|
|
|
|
|
|
#4 | |
|
Senior Member
Join Date: Jun 2011
Location: Ireland
Posts: 184
Thanks: 32
Thanked 20 times in 19 posts
|
Quote:
'Tut - blooming half - wits asking stupid questions !' Anyway -thanks for pointing out the obvious guys - Ben. (Going to read the whole page next time). |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EMA rising and falling | zachj | Indicator Development | 1 | 12-26-2011 01:16 PM |
| Rising/Falling Strategy | Syrinxgroup | Strategy Development | 1 | 03-14-2011 05:20 AM |
| Hma rising and falling arrows | djkiwi | General Programming | 41 | 01-10-2011 03:04 AM |
| Rising and falling | eventrader | Strategy Development | 1 | 06-13-2010 07:13 PM |
| Falling(), Rising() on bars before | symphys | Strategy Development | 4 | 05-15-2010 09:32 AM |