![]() |
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: Dec 2011
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
I am writing custom indicator. And my client asked if could he have a custom action in condition builder in wizard for making new strategy. Is this possible? Lets say that I need another version on "Bars ago" in my parameters list called "Bars ago2" that will return data based on some custom calculations. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hello Huskz,
Thanks for the post and welcome to the NinjaTrader forums! Unfortunately it is not possible to customize the actions available under the condition builder interface.
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Dec 2011
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
|
So solution is to make custom strategy?
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
A custom strategy is good if you want it to place orders. Any other action can use custom programming in an indicator. What type of custom action are you trying to create?
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Dec 2011
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
|
Well I did indicator similar to Swing Indicator. I also display High and Low swings.
Customers idea is to get High or Low swing by their order of happening. Let say that in some period of time happened 4 high swings. Customer wants to get second high swing and use it in condition builder when planning a strategy. |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
OK, I see what you're looking for. The condition builder is a nice introduction to creating strategies, and is a front end to NinjaScript so that all the conditions you create in it can be viewed as code. Once you outgrow its capabilities, can click unlock code, and then would have the freedom to code any conditions you like.
You can work in code in either an indicator or a strategy. A strategy is used for order placement, and indicator code can be anything else.
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#7 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Dec 2011
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
|
Thanx guys for your help. I decided to build another custom indicator. this indicator will use my previous indicator and will calculate values accordingly
|
|
|
|
|
|
#9 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
You're welcome, Huskz. Best of luck creating your new indicator and please let us know if we can be of further assistance.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Tags |
| c #, condition builder, indicator, strategy |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| condition builder help | jtrotter33 | Strategy Development | 7 | 12-06-2011 08:42 AM |
| Condition Builder | msc400 | Strategy Development | 2 | 11-09-2011 06:00 AM |
| Condition builder help | shambo | Strategy Analyzer | 3 | 02-18-2010 12:10 PM |
| How to use Condition builder. | seokjoons | Strategy Development | 1 | 01-02-2010 12:50 PM |
| Condition Builder | OUFan | Strategy Development | 6 | 12-19-2007 02:05 PM |