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

NT8 HELP! sessioniterator
Started: by kidvic Views / Replies:139 / 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 01: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)

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)


Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27

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

All times are GMT -4. The time now is 04:21 PM.

no new posts
Page generated 2017-03-27 in 0.06 seconds with 19 queries on phoenix via your IP