Deny intrabar updating in a strategy - TradeStation | futures trading

Go Back

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

Deny intrabar updating in a strategy
Started:September 11th, 2013 (12:28 PM) by rdixey Views / Replies:494 / 1
Last Reply:September 11th, 2013 (10:06 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

Deny intrabar updating in a strategy

Old September 11th, 2013, 12:28 PM   #1 (permalink)
Elite Member
Sanfrancisco CA
Futures Experience: Intermediate
Platform: Tradestation
Favorite Futures: Futures
Posts: 8 since Sep 2013
Thanks: 3 given, 0 received

Deny intrabar updating in a strategy

What is the easy language code to make an indicator update once per bar for use in a strategy?

Reply With Quote

Old September 11th, 2013, 10:06 PM   #2 (permalink)
Trading for Profit
Houston, TX
Futures Experience: Intermediate
Platform: TradeStation
Broker/Data: TradeStation
Favorite Futures: CL
LogicalTrader's Avatar
Posts: 294 since Aug 2013
Thanks: 1,420 given, 751 received

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

If the first line in the EasyLanguage file is:

the strategy will evaluate only once per par. This can also be set in the "Format Strategies" dialog box.

This is from Tradestation help:

The EasyLanguage attribute IntraBarOrderGeneration allows you to turn on or off the intrabar order generation flag. If the attribute is not present in any of the strategy code, users will be allowed to control the setting through the Calculations tab. If the attribute is present and set to TRUE, the ’Enable intrabar order generation and calculation’ flag will be checked, the checkbox will be disabled, and the radio buttons will be available. If the attribute is present and set to FALSE, the ’Enable intrabar order generation and calculation’ flag will be unchecked and the checkbox and radio buttons will be disabled.

The syntax is as follows:

[IntrabarOrderGeneration = Value] // where Value can be TRUE or FALSE

The use of square brackets is required for this reserved word.

This attribute may only be used in a strategy. If used in any other type of module the following error should appear at verify time and the focus should be set to the attribute: ”Attribute IntrabarOrderGeneration is only available for use in strategies.”

The intrabar order generation feature is only supported for single data stream charts. If applied to a multiple data stream chart, the status of the strategy will be turned off.

[IntrabarOrderGeneration = FALSE] // Strategy will only generate orders at close of bar

Attributes are evaluated at compile time only so their values cannot be changed at run-time.

Hope this helps

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > Deny intrabar updating in a strategy

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
ninjatrader not updating price gparkis NinjaTrader 5 May 2nd, 2012 01:56 PM
PnL not updating when flat stephenszpak NinjaTrader 18 January 8th, 2012 11:33 PM
Oakland Police Lacerate Army Ranger’s Spleen and Cause Internal Bleeding … Then Deny Quick Summary News and Current Events 0 November 5th, 2011 02:10 AM
Charts stop updating TraderJesse NinjaTrader 11 July 29th, 2011 05:12 PM
NT7 - NoGapRangeBars not updating hunter548 The Elite Circle 6 January 12th, 2011 07:27 PM

All times are GMT -4. The time now is 10:02 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-25 in 0.07 seconds with 23 queries on phoenix via your IP