SessionLastBar code from MC to TS - TradeStation | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation

SessionLastBar code from MC to TS
Started:June 12th, 2016 (05:27 AM) by gorbod Views / Replies:291 / 1
Last Reply:June 13th, 2016 (05:25 AM) 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

SessionLastBar code from MC to TS

Old June 12th, 2016, 05:27 AM   #1 (permalink)
Elite Member
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Favorite Futures: OMX futures
Posts: 4 since Aug 2014
Thanks: 1 given, 0 received

SessionLastBar code from MC to TS

Does anyone has a Tradestation version of the Multichart function SessionLastBar (SessionLastBar returns a value of True if the current bar is the last bar of the session)?

Reply With Quote

Old June 13th, 2016, 05:25 AM   #2 (permalink)
Hamburg Germany
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
Posts: 1,109 since Apr 2013
Thanks: 188 given, 624 received

This post has been selected as an answer to the original posters question Answer

Hi gorbod,

there is no reserved word for this in Easylanguage unfortunately, but you can programmatically detect the last bar (at least on time based charts). This link will provide a start point, but additional coding is required to detect days with short sessions (due to holidays for example).



Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > SessionLastBar code from MC to TS

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
TS/MC DoubleMA indicator ptcm EasyLanguage Programming 10 October 6th, 2016 05:07 PM
TS equivalent of MC's symbol_ fork4k EasyLanguage Programming 4 February 26th, 2016 07:38 PM
MC advanatges over TS 9baller MultiCharts 8 April 27th, 2013 01:03 PM
compile help TS eld for MC aczk MultiCharts 1 June 12th, 2012 10:40 PM
TS / MC : Basic Indicator Help? Micardo EasyLanguage Programming 2 February 27th, 2011 11:30 AM

All times are GMT -4. The time now is 08:20 AM.

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-28 in 0.06 seconds with 23 queries on phoenix via your IP