Alert at close of candle - ThinkOrSwim Programming | futures trading

Go Back

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

Alert at close of candle
Started:June 29th, 2015 (08:33 PM) by newuse Views / Replies:297 / 0
Last Reply:June 29th, 2015 (08:33 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

Alert at close of candle

Old June 29th, 2015, 08:33 PM   #1 (permalink)
Trading Apprentice
Futures Experience: None
Platform: Think or Swim
Favorite Futures: ES
Posts: 9 since May 2015
Thanks: 4 given, 0 received

Alert at close of candle

I am curious if there is a way to track whether a candle is closed. Looking through this thread I read some example code from a post that contains these lines:

An excerpt from Dbjergins' second comment:

def onExpansion = if IsNaN(close) then yes else no;
plot HighestClose = if onExpansion then SecondaryPeriodHighestClose else double.NaN;

  1. Can I use IsNaN(close) to track whether the candle is closed?
  2. What are some other ways to track whether a candle is closed aside from IsNaN(close)?

Thank you for your suggestions and time.

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > ThinkOrSwim Programming > Alert at close of candle

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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
candle close indicator br8080 NinjaTrader Programming 2 February 29th, 2016 12:42 AM
close price of the weekly high candle SKumar ThinkOrSwim Programming 2 June 5th, 2015 12:22 PM
How to get a Previous Close rate last candle se picture. Twar ThinkOrSwim 0 April 28th, 2015 05:43 PM
Sierra Chart alert formula error, color bar based on alert Big Mike Sierra Chart 4 September 19th, 2014 01:45 AM
coding to put range of candle beneath each candle anniebee321 NinjaTrader 13 June 18th, 2010 04:20 PM

All times are GMT -4. The time now is 08:41 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-25 in 0.05 seconds with 19 queries on phoenix via your IP