Program to return value of previous close - ThinkOrSwim Programming | futures io social day trading
futures io futures trading


Program to return value of previous close
Updated: Views / Replies:352 / 0
Created: by nickvaf Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Program to return value of previous close

  #1 (permalink)
Trading Apprentice
Bedford + MA/USA
 
Futures Experience: Beginner
Platform: ThinkorSwim
Favorite Futures: Gold
 
Posts: 1 since Jul 2017
Thanks: 0 given, 0 received

Program to return value of previous close

~Solved~ mods can delete


Not much experience programming, just need quick help trying to program a function to return the value of the previous day's close. Not sure if this is the right start, any help please? Trying to save this as Custom 1 to view along other info in the MarketWatch Quotes page. Thank you in advance!

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

def PrevDayClose = close(period = timeFrame)[-1];


Last edited by nickvaf; July 26th, 2017 at 09:11 PM.
Reply With Quote

Reply



futures io > > > > > Program to return value of previous close

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

September Journal Challenge (sponsored by TopstepTrader)

September

Battlestations! Win $947 in prizes for showing us your trading desk!

October
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plotting High Low Close for Previous day, which close to use? Eug911 Emini Index Futures Trading 2 May 6th, 2017 06:32 AM
Close of Previous Day on Custom Indicator? jngrim ThinkOrSwim 4 February 25th, 2017 05:16 PM
How to get a Previous Close rate last candle se picture. Twar ThinkOrSwim 0 April 28th, 2015 05:43 PM
OHLC based on previous day's close asf008005 NinjaTrader Programming 9 May 29th, 2012 04:18 AM
How to program price cross below a number of previous bars Twiddle NinjaTrader Programming 8 May 17th, 2011 04:58 PM


All times are GMT -4. The time now is 08:29 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2018-10-20 in 0.07 seconds with 14 queries on phoenix