NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Educational Resources > Reference Samples

Reference Samples Official NinjaScript reference code samples

Reply
 
Thread Tools Display Modes
Old 07-29-2009, 10:38 AM   #1
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default Indicator: Manipulating string objects

Reference sample for NinjaTrader 6.5.xxxx.x or greater.

Dealing with strings and other related concepts are essential to many computer programs. This sample is a collection of some of the most common string and text related functions including splitting a string, replacing a string with another string, and a few other string functions.

This reference sample demonstrates the following concepts:
  • Simple text/string manipulation ideas
Important methods and properties used include:Other methods and properties of interest include:Import instructions for NinjaTrader 6.5.XXXX.X or greater:
  1. Download the file contained in this thread to your PC desktop
  2. From the Control Center window, select the menu File > Utilities > Import NinjaScript
  3. Select the downloaded file
Note: A related sample demonstrating how to format numbers can be found here.
Attached Files
File Type: zip SampleStringFunctions.zip (2.4 KB, 446 views)
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indicator: Changing fonts for draw objects NinjaTrader_Josh Reference Samples 0 07-29-2009 09:08 AM
Indicator returning a string information TheChingachgook Indicator Development 1 04-07-2009 08:12 AM
Manipulating ATM orders from one Strategy with another drmartell Strategy Development 1 03-18-2009 03:09 AM
Manipulating StopLoss edgeliner Strategy Development 8 02-11-2009 10:28 AM
Indicator: Drawing unique objects and objects that update NinjaTrader_Josh Reference Samples 0 09-24-2007 09:01 PM


All times are GMT -6. The time now is 02:51 PM.