![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Please, explain how I can make a new type of frame. Like the range or the renco but with my logic. Is it must be based on existing one?
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,499
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
Thanks for the forum post and welcome to the NInjaTrader forums. Although this is possible to do in NinjaTrader it is unfortunately not supported. This requires advanced programming and to be able to edit code without documentation or examples to achieve this. If you are able to do this you can take a look at the My Documents->NinjaTrader 7->bin->custom->type->bartype.cs file. It is there were we have our already pre built bar types. You can use this as an example and simply change the logic to do what you need. You would need to recompile any indicator to force everything to compile after making a change in this document. Let me know if I can be of further assistance.
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you, Brett. This is what I looking for. Lack of documentation makes the task more difficult but that's not a problem.
|
|
|
|
![]() |
| Tags |
| custom, frame, type |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| This does not make sense to me | bob100 | ATM Strategies (Discretionary Trading) | 5 | 01-24-2011 07:35 AM |
| If other than Input[barsAgo] is used then make it impossible to change the price type | Arpad | Indicator Development | 7 | 11-05-2010 01:19 PM |
| How do I make more than 3 cents? | KBJ | Strategy Analyzer | 4 | 05-02-2009 12:34 PM |
| Minute Time Frame Indicators in a TickTime Frame strategy | Nathamus | General Programming | 5 | 04-10-2007 02:41 AM |
| Would make NTS the best ever..... | jmi88 | Suggestions And Feedback | 3 | 10-28-2006 06:13 AM |