TrendLine_ Price Label Coding - EasyLanguage Programming | futures io social day trading
futures io futures trading


TrendLine_ Price Label Coding
Updated: Views / Replies:117 / 5
Created: by bidness91 Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

 
 
Thread Tools
 

TrendLine_ Price Label Coding

 
Valrico
 
 
Posts: 3 since Jan 2020
Thanks: 0 given, 0 received

TrendLine_ Price Label Coding

I just switched over to the Tradestation EasyLanguage from the ToS Thinkscript platform so my experience and research isnt helping. I have a simple built indicator showing the High and Low plotted across from the previous 20bars.

It is perfect for what I am looking for the only issue is I would like it to plot the Price to the right of the line. As of now it is just showing the trendline and I have tried 10 different ways of adding a price label but all I am finding is text options with the Text_ "" coding.


Quoting 
Inputs:

BackHigh (20),
BackLow (20),
TL_high_color (darkgreen),
TL_LOW_color(DarkRed),
TL_High_Size(2),
TL_low_Size(2),
TL_High_Style(2),
TL_low_Style(2);

Vars:
TL_High(1),
TL_LOW(2),
HighestHigh(0),
LowestLow(0),
timestorage(0);


HighestHigh= Highest(High,BackHigh);
LowestLow=Lowest(Low,BackLow);

If lastbaronchart or lastbaronchartEX Then

Begin
TL_High= TL_New(Date[BackHigh], Time[Backhigh], HighestHigh,Date,Time,HighestHigh);
TL_SetColor(TL_HIGH,TL_HIGH_COLOR);
TL_SetSize(TL_High,TL_High_Size);
TL_SetStyle(TL_High,TL_High_Style);
TL_Low= TL_New(Date[BackHigh], Time[Backhigh], LowestLow,Date,Time,LowestLow);
TL_SetColor(TL_low,TL_low_COLOR);
TL_SetSize(TL_low,TL_low_Size);
TL_SetStyle(TL_low,TL_low_Style);


End;

There is the code. Any help will be greatly appreciated. I am sure there is an easy line for this.

 
 
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.

 
 
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 2,153 since Apr 2013
Thanks: 384 given, 1,389 received


bidness91,

welcome to futures.io. Using legacy EasyLanguage there is no way around adding a separate text label using the "Text_New" reserved word you mentioned for adding a label to the line.
You can take a look a Object Oriented EasyLanguage that offers horizontal lines that can also display labels.

Regards,

ABCTG

Follow me on Twitter Visit my Facebook
 
 
Valrico
 
 
Posts: 3 since Jan 2020
Thanks: 0 given, 0 received

alright, that seems to be the problem then.

Is there an easy way to switch the formatting from TL to a Plot syntax? it seems the plot way is the easiest way to edit and format it.

 
 
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 2,153 since Apr 2013
Thanks: 384 given, 1,389 received

bidness91,

there is no easier way than to remove/block the trendline syntax and using the plot reserved word instead.

Regards,

ABCTG


bidness91 View Post
alright, that seems to be the problem then.

Is there an easy way to switch the formatting from TL to a Plot syntax? it seems the plot way is the easiest way to edit and format it.


Follow me on Twitter Visit my Facebook
 
 
Valrico
 
 
Posts: 3 since Jan 2020
Thanks: 0 given, 0 received

thanks for the help ABC.

looks like i am just going to have to keep searching for an alternate coding that has already been made.


 



futures io > > > > > TrendLine_ Price Label Coding
Thread Tools



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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Draw Tool to Manually Label A-B-Cs and 5 Wave Patterns - Does it Exist? forker NinjaTrader 27 January 30th, 2019 12:40 PM
How to draw Horizontal Lines with price label at predefined Prices ? jsk123 ThinkOrSwim Programming 7 May 13th, 2018 01:15 PM
Bridge Comes to San Francisco With a Made-in-China Label kbit Off-Topic 1 July 1st, 2011 02:17 PM
custom indicator chart label SARdynamite NinjaTrader Programming 7 July 18th, 2010 10:57 AM
BMT Chart Label indicator Big Mike The Elite Circle 15 May 20th, 2010 10:02 AM


All times are GMT -4. The time now is 09:50 PM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@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