ThinkScript -- Time of Day variables - ThinkOrSwim Programming | futures trading

Go Back

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

ThinkScript -- Time of Day variables
Started:January 11th, 2016 (01:31 PM) by ldrider000 Views / Replies:182 / 0
Last Reply:January 11th, 2016 (01:31 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

ThinkScript -- Time of Day variables

Old January 11th, 2016, 01:31 PM   #1 (permalink)
Trading Apprentice
Rigby, Idaho
Futures Experience: Intermediate
Platform: Think or Swim
Favorite Futures: TF
Posts: 1 since Jan 2016
Thanks: 0 given, 0 received

ThinkScript -- Time of Day variables

Hello All,
I've been using TOS for years now but have only recently begun writing my own Thinkscript strategies. I'm looking for a way to add a time-of-day type condition to a strategy. For example...

close all open positions at the market close, or

only enter a position between 9am and 11am.

I used to be a decent programmer and I understand the basics of using studies and opening and closing orders, but I can't get my pointy little head wrapped around how to play with time. Any help would be greatly appreciated. Thanks so much.

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > ThinkOrSwim Programming > ThinkScript -- Time of Day variables

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
Thinkscript - % of NYSE stocks above their 20-day MA aramb ThinkOrSwim 0 January 12th, 2015 11:08 AM
Time of day? patbateman NinjaTrader 20 April 21st, 2012 02:40 PM
This Forum's Time of Day Cashish Tech Support 6 November 9th, 2011 11:39 PM
Time of day,and possible time frame sycronization phasganon The Elite Circle 1 September 23rd, 2011 11:53 PM
Time of day trading TomBear The Elite Circle 5 September 8th, 2009 07:16 AM

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