PDA

View Full Version : modifying an existing NT6 indicator


bmaltz
05-01-2007, 02:28 PM
How would Iuse an existing indicator that comes with NT6, modify it, and save it under a different name?

For example, I want to be able to add a PivotPoint indicator that is calculated on Weekly H, L, & C values and display the resulting Support and Resistance lines on a chart. I figured I would take one of the 2 existing Pivot Point indicators (Pivots and PivotDaily) and modify one of them to do what I want. I seem to run into a problem with filenames when I try to do this, however. Am I missing something?



Thanks,
Ben

NinjaTrader_Dierk
05-01-2007, 05:21 PM
Please:
- start NT
- go to windows explorer and copy file
<my documents>/NinjaTrader6/bin/Custom/Indicator/@<system indicator>.cs to
<my documents>/NinjaTrader6/bin/Custom/Indicator/<your new indicator>.cs
- Tools-> Edit NinjaScript->Indicator->edit your new indicator->Change class name to <your new indicator>. See code line
>> public class MyCustomIndicator : Indicator
- F5 to compile

Note: We have non-intraday pivots on our list. We expect them to implemented within the next few weeks.

bmaltz
05-02-2007, 11:53 AM
Hey, that's great news. Thanks for the notice.

Regards,
Ben