NexusFi: Find Your Edge


Home Menu

 





Where do I begin learning to make an Indicator?


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one cory with 1 posts (0 thanks)
    2. looks_two markbbn with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 LukeGeniol with 1 posts (0 thanks)
    1. trending_up 4,693 views
    2. thumb_up 1 thanks given
    3. group 5 followers
    1. forum 7 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 
markbbn's Avatar
 markbbn 
Newington, CT
 
Experience: Intermediate
Platform: Ninja
Broker: Infinity
Trading: YM EUR
Posts: 11 since Jun 2009
Thanks Given: 13
Thanks Received: 6

I would like to learn how to program a indicator in Ninja 6.5.
I would like to take a std. MACD and have the lines change color when they cross the 0 line and I would like the Histogram to change color when it crosses the 0 line also.
Where is a good place to begin ?


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
CFTC Approves First US Bitcoin Perpetual Futures -- Kals …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098



markbbn View Post
I would like to learn how to program a indicator in Ninja 6.5.
I would like to take a std. MACD and have the lines change color when they cross the 0 line and I would like the Histogram to change color when it crosses the 0 line also.
Where is a good place to begin ?

begin by looking at the code , look at #2


Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,577

Mark,

As cory said, the best place to begin is by looking at the code for indicators you understand. Make minor changes and see how those changes affect the result. Remember to make a backup of any indicator before you make changes.

Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 Eric j 
NY
 
Experience: Advanced
Platform: Esignal, MBT navigator
Trading: Currencies
Posts: 2,507 since Jun 2009
Thanks Given: 1,396
Thanks Received: 2,576

Check out NT forum .

NinjaTrader Support Forum


Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117

Either you rely on the solution shown below, or you would buy yourself a basic book on C# and install an editor. Microsoft Visual C# Express Edition and SharpDevelop are freeware. After having aquired some basic knowledge, you can proceed to modifying and then coding indicators.

You could also print out the NinjaTrader helpfile to get an overview of the methods supplied with Ninjascript.


Attached Images
 
Reply With Quote
  #7 (permalink)
 
LukeGeniol's Avatar
 LukeGeniol 
Italy (IT) Italy
 
Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker: Rithmic
Trading: CL, Brent, GC, TF
Frequency: Daily
Duration: Minutes
Posts: 1,486 since Apr 2010
Thanks Given: 408
Thanks Received: 986

Mark, if u have some basic programming skills, looking at the code u should be able to change and implement some basic function.

Anyway u can figure out the basic C# programming on these site :

C Sharp Tutorial - Meshplex

C# Station: C# Tutorial - Introduction


Luke.


Take your Pips, go out and Live.
Luke.
Reply With Quote
  #8 (permalink)
 wavey 
Germany / Italy
 
Experience: Advanced
Platform: NT8, TS, TV
Trading: Index Futures, FX
Posts: 88 since Nov 2009
Thanks Given: 53
Thanks Received: 38

You should look into the indicator tutorials Ninja has in the helpguide, I remember it provided a pretty smooth start for me a good time ago...


Reply With Quote
Thanked by:




Last Updated on July 5, 2010


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts