yesterday close indicator - ThinkOrSwim Programming | futures trading

Go Back

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

yesterday close indicator
Started:July 18th, 2013 (02:24 AM) by Degault Views / Replies:875 / 1
Last Reply:December 29th, 2013 (03:00 PM) 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

yesterday close indicator

Old July 18th, 2013, 02:24 AM   #1 (permalink)
Trading Apprentice
Novosibirsk Russia
Futures Experience: Beginner
Platform: TradeStation, ToS
Favorite Futures: Futures
Posts: 4 since May 2013
Thanks: 2 given, 1 received

yesterday close indicator

Hello, i'm using next code for this indicator:


input timeFrame = {default DAY, WEEK, MONTH};

def YstrdaysClose = close(period = timeFrame)[1];

plot YesterdaysClose = YstrdaysClose;

It's working fine for day arregation period, but on a samller time frames I have problems. Or it's working ok and I can't understand that. So the problem is:

As far as I understand this indicator must change it's value as soon, as trade session is closed. But it seems for me, that it's working wrong. Learning this indicator I can't even understand when session was closed. Can some one help me, please?

Reply With Quote

Old December 29th, 2013, 03:00 PM   #2 (permalink)
Elite Member
Futures Experience: Advanced
Platform: ThinkOrSwim
Favorite Futures: options
Posts: 11 since Dec 2013
Thanks: 2 given, 8 received

Describe the problems you are seeing so we can be more helpful.

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > ThinkOrSwim Programming > yesterday close indicator

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
Execute trade intrabar on bar close indicator spinnybobo NinjaTrader 3 April 2nd, 2012 02:59 PM
Forensic Analysis Of Yesterday's Market-Close Mini Flash Crash kbit News and Current Events 0 March 1st, 2012 10:03 PM
Yesterday Close Setup Buddha Index Futures Trading 19 October 20th, 2010 07:52 AM
Volitility indicator question - Open - Open / open - close / close to open andresimon NinjaTrader 2 September 27th, 2010 12:33 AM
Indicator forcing NinjaTrader to close / shutdown dsraider NinjaTrader Programming 14 July 27th, 2010 07:09 AM

All times are GMT -4. The time now is 09:59 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-23 in 0.06 seconds with 19 queries on phoenix via your IP