How to refer to a lagged ADX indicator? - EasyLanguage Programming | futures trading

Go Back

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

How to refer to a lagged ADX indicator?
Started:October 3rd, 2015 (06:18 PM) by vanzolini Views / Replies:562 / 2
Last Reply:October 4th, 2015 (04:58 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

How to refer to a lagged ADX indicator?

Old October 3rd, 2015, 06:18 PM   #1 (permalink)
Trading Apprentice
Sao Paulo, Sao Paulo/Brazil
Futures Experience: Intermediate
Platform: Tradestation
Favorite Futures: Commodities
Posts: 10 since Sep 2015
Thanks: 10 given, 1 received

How to refer to a lagged ADX indicator?


I am trying to code a strategy that requires ADX to be above a certain threshold and increasing

I coded like this:

StrongTrend = ADX (Length) > ADX //yesterday// (Length) and ADX (Length) > ADX_Level

How can I write the code for yerterdays ADX?


Reply With Quote

Old October 3rd, 2015, 06:18 PM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old October 4th, 2015, 04:58 AM   #3 (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


instead of calling the ADX function directly in your condition store the function result in a variable first. Then you can back reference this variable (using [1] for one bar back for example). You could also back reference the function, but with using the variable you spare one function call.


Reply With Quote
The following 2 users say Thank You to ABCTG for this post:

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming > How to refer to a lagged ADX indicator?

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
ADX and ATR indicator in panel 1 perryg NinjaTrader 29 May 22nd, 2014 06:17 AM
Need help to modify standard Ninjatrader's ADX/DMI indicator formula Azrael Hire a Consultant or Programmer 0 April 11th, 2013 07:25 PM
ADX color line change in DM Indicator Joshua 1 vs 8 NinjaTrader Programming 30 October 31st, 2010 03:10 PM
Why do some people refer to futures contracts as "cars"? shodson Traders Hideout 19 January 6th, 2010 01:55 PM
what is adx sharky Traders Hideout 4 June 15th, 2009 04:29 PM

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