easyLanguage RunCommandOnLastBar not working - TradeStation | futures.io
futures.io futures trading

Go Back   futures.io

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

easyLanguage RunCommandOnLastBar not working
Started:August 27th, 2013 (06:38 AM) by dalai Views / Replies:409 / 0
Last Reply:August 27th, 2013 (06:38 AM) Attachments:0

Welcome to futures.io.

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

easyLanguage RunCommandOnLastBar not working

Old August 27th, 2013, 06:38 AM   #1 (permalink)
Trading Apprentice
London + UK
Futures Experience: Intermediate
Platform: TradeStation
Favorite Futures: forex
Posts: 8 since Aug 2013
Thanks: 1 given, 2 received

easyLanguage RunCommandOnLastBar not working

trying to create a simple strategy in latest TS version ...

inputs: AutoExit(true);

If AutoExit and LastBarOnChart and BarStatus(1) = 2 then begin
Value1 = RunCommandOnLastBar( ".CancelAllOrders" );
Value2 = RunCommandOnLastBar( ".CloseAllPositions" );

have enabled strategy automation & unlocked macros but nothing happens?

(also Alert("msg") won't in a strategy but does work in PaintBar)

can anyone help?

Reply With Quote


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > easyLanguage RunCommandOnLastBar not working

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
Range bars not working rwbil NinjaTrader 4 December 9th, 2012 06:23 PM
BarTimerLBW working on minutes pakricard NinjaTrader Programming 3 October 11th, 2012 01:07 PM
Working with bools kbaran NinjaTrader Programming 3 August 28th, 2012 01:29 PM
Felton Indicators not working rptrader The Elite Circle 26 October 19th, 2011 06:18 PM

All times are GMT -4. The time now is 06:11 PM.

Copyright © 2016 by 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 2016-10-24 in 0.08 seconds with 19 queries on phoenix via your IP