Plot a Linear Regression Channel on the TSI Indicator - EasyLanguage Programming | futures.io
futures.io futures trading
 

Go Back   futures.io

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


Plot a Linear Regression Channel on the TSI Indicator
Started:October 11th, 2016 (03:07 PM) by TornadoES Views / Replies:125 / 5
Last Reply:October 12th, 2016 (07:11 AM) Attachments:3

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
     

Reply
 
Thread Tools Search this Thread

Plot a Linear Regression Channel on the TSI Indicator

Old October 11th, 2016, 03:07 PM   #1 (permalink)
Trading Apprentice
Madrid, Spain
 
Futures Experience: Beginner
Platform: TradeStation
Favorite Futures: Emini Es
 
Posts: 7 since Feb 2016
Thanks: 7 given, 1 received

Plot a Linear Regression Channel on the TSI Indicator

Hi everyone,

I am trying to code a Linear Regression Channel on a TSI Indicator in Tradestation. I have an indicator that plot this LRC on the price series but as it uses the "TL_New" reserved word I can not get it working on the TSI Indicator.

I have attached a screenshot were it is shown how the LRC looks in the price series.

Anyone knows how I can get it working or just some advice?

Thanks in advance.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
     

Old October 11th, 2016, 03:07 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 12th, 2016, 04:38 AM   #3 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,148 since Apr 2013
Thanks: 191 given, 646 received


TornadoES,

unfortunately this is not exactly supported with legacy EasyLanguage in Tradestation. However you might be able to walk around this by using one of the two methods described in this thread in the official TS forum.

Another approach would be to use OOEL for your trendlines. All approaches will require some more programming or have limitations/downsides (like the first method described in the link), though.

Regards,

ABCTG


TornadoES View Post
Hi everyone,

I am trying to code a Linear Regression Channel on a TSI Indicator in Tradestation. I have an indicator that plot this LRC on the price series but as it uses the "TL_New" reserved word I can not get it working on the TSI Indicator.

I have attached a screenshot were it is shown how the LRC looks in the price series.

Anyone knows how I can get it working or just some advice?

Thanks in advance.

Attachment 218772


Reply With Quote
     
The following user says Thank You to ABCTG for this post:
     

Old October 12th, 2016, 06:51 AM   #4 (permalink)
Trading Apprentice
Madrid, Spain
 
Futures Experience: Beginner
Platform: TradeStation
Favorite Futures: Emini Es
 
Posts: 7 since Feb 2016
Thanks: 7 given, 1 received

Thanks for your help ABCTG.

It is possible to use OOEL for the trendlines if I use range bars?

Reply With Quote
     

Old October 12th, 2016, 06:58 AM   #5 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,148 since Apr 2013
Thanks: 191 given, 646 received

Futures Edge on FIO
TornadoES,

you are welcome. The underlying chart settings shouldn't matter. With OOEL you can draw trendlines accurately by tying them to either bars or datetime values, which is required to make them accurate on range bars, too.

Regards,

ABCTG


TornadoES View Post
Thanks for your help ABCTG.

It is possible to use OOEL for the trendlines if I use range bars?


Reply With Quote
     
The following user says Thank You to ABCTG for this post:
     

Old October 12th, 2016, 07:11 AM   #6 (permalink)
Trading Apprentice
Madrid, Spain
 
Futures Experience: Beginner
Platform: TradeStation
Favorite Futures: Emini Es
 
Posts: 7 since Feb 2016
Thanks: 7 given, 1 received

Here is the link to the TS forum where it seems that the Tradestation employees managed to code the LRC in the TSI indicator.

https://community.tradestation.com/Discussions/Topic.aspx?Topic_ID=147299&Reply_ID=812849

I have also attached a screenshot and the code just in case someone need to use this LRC and do not have access to the TS forum.

Attached Thumbnails
Plot a Linear Regression Channel on the TSI Indicator-lrc-tsi.png  
Attached Files
Register to download File Type: docx LRC-TSI.docx (68.3 KB, 4 views)
Reply With Quote
     
The following user says Thank You to TornadoES for this post:
     

Reply



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming > Plot a Linear Regression Channel on the TSI Indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

NinjaTrader 8: Features and Enhancements, Tips and Tricks

Dec 6
 

Al Brooks: Stop Losing when a Good Trade goes Bad, Correcting Mistakes

Elite only
 

Trading Technologies: Algo Design Lab hands-on

Dec 13
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code To Program Esignals Linear Regression Channel In Trade Station dr0832 EasyLanguage Programming 2 May 16th, 2016 10:01 PM
Can Ninjatrader 7 replicate linear Regression Channel Lines in Esignal dr0832 NinjaTrader Programming 28 April 6th, 2015 04:18 PM
Linear regression channel Tom Joad Open E Cry 7 January 22nd, 2015 11:38 PM
Linear Regression Reversal Indicator zeller4 NinjaTrader 10 November 18th, 2011 11:08 PM
Painted Linear Regression Indicator essiar NinjaTrader 3 May 3rd, 2011 07:42 PM


All times are GMT -4. The time now is 06:22 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-12-04 in 0.09 seconds with 20 queries on phoenix via your IP 54.147.236.192