NT8 HELP! sessioniterator - NinjaTrader Programming | futures.io
futures.io futures trading

NT8 HELP! sessioniterator
Started: by kidvic Views / Replies:111 / 1
Last Reply: Attachments:0

Welcome to futures.io.

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

NT8 HELP! sessioniterator

  #1 (permalink)
Trading for Fun
Los Angeles, CA
Futures Experience: Intermediate
Platform: NinjaTrader, ThinkOrSwim
Favorite Futures: Options, Futures
Posts: 92 since Mar 2015
Thanks: 13 given, 2 received

NT8 HELP! sessioniterator

I'm about to give an example of what i'm trying to do by using currentbar.tostring().

To draw an arrow up on every up bar you do this:

if (Close[0] > Open[0])

Draw.ArrowUp(this, "arrowup"+CurrentBar.ToString(), true, Time[0], Low[0]-5*TickSize, Brushes.Green);

to draw an arrow up on the LAST up bar you do this:

Draw.ArrowUp(this, "arrowup", true, Time[0], Low[0]-5*TickSize, Brushes.Green);

Now my question is, how do I do the same for a plot (AddPlot)?

I want to show only the last instance in an add plot, without iterating itself on previous sessions.
Not sure if I have to do anything with historical, or not, or where to start.

Thanks in advance.

Last edited by kidvic; October 7th, 2016 at 02:13 PM. Reason: better
Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


futures.io > > > > > NT8 HELP! sessioniterator

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

2016 True Edge Awards: Voting is open until Jan 21!


Bookmap New Indicator Panel, Cumulative Delta, Order Flow demo

Jan 17

An Afternoon with FIO member Massive l

Elite only

Leo Murphy: Making sense of Technical Analysis and Random Walk

Elite only

FuturesTrader71: Ask Me Anything

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hedging NT8 elechim72 NinjaTrader 3 June 14th, 2016 01:12 PM
NT8 simultaneously trading schranzi9 The Elite Circle 2 January 25th, 2016 11:25 PM
Will you upgrade to NT8? Big Mike NinjaTrader 94 December 17th, 2015 03:24 AM
Price line NT8 Renkotrader NinjaTrader 1 November 25th, 2015 01:34 PM
nt8 webinar tracy NinjaTrader 2 May 13th, 2015 10:48 AM

All times are GMT -4. The time now is 03:03 AM.

no new posts
Page generated 2017-01-17 in 0.08 seconds with 19 queries on phoenix via your IP