Need some help creating a cumulative index - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Need some help creating a cumulative index
Started:January 27th, 2010 (10:28 AM) by kaywai Views / Replies:1,124 / 0
Last Reply:January 27th, 2010 (10:28 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Need some help creating a cumulative index

Old January 27th, 2010, 10:28 AM   #1 (permalink)
Trading for Fun
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: IB
Favorite Futures: ES, forex, oil
Posts: 131 since Nov 2009
Thanks: 11 given, 7 received

Need some help creating a cumulative index


This is what I have achieved so far:

if (CurrentBar > 2 )
0]-Open[0])/(((Math.Max(High[0],Close[1]))-(Math.Min(Low[0],Close[1])))!= 0? (Math.Max(High[0],Close[1])-(Math.Min(Low[0],Close[1]))):1.0));

What I want to do now is start from a zero base and add values from myDataSeries1 to the base as each new bar is formed. Struggling with that bit. Can someone please help?

Last edited by sam028; January 28th, 2010 at 04:41 AM.
Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Need some help creating a cumulative index

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
S&P500 index and S&P500 index futures correlation ocmsrzr Index Futures Trading 15 October 9th, 2013 09:49 AM
Gomi cumulative delta gmorgan111 The Elite Circle 6 February 7th, 2012 01:15 AM
Multicharts Cumulative Delta Student of Tape MultiCharts 4 May 31st, 2011 05:24 AM
Gomi Cumulative Delta gmorgan111 Traders Hideout 2 May 11th, 2011 12:11 PM
Cumulative Index kaywai NinjaTrader Programming 12 January 24th, 2010 09:53 AM

All times are GMT -4. The time now is 06:05 PM.

Copyright © 2016 by 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.
no new posts

Page generated 2016-10-21 in 0.07 seconds with 19 queries on phoenix via your IP