Label TL with Word text AND numeric level text - EasyLanguage Programming | futures io social day trading
futures io futures trading


Label TL with Word text AND numeric level text
Updated: Views / Replies:319 / 3
Created: by Scalpin 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 90,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

Reply
 
Thread Tools Search this Thread
 

Label TL with Word text AND numeric level text

  #1 (permalink)
Trading Apprentice
Mound, MN
 
Futures Experience: Beginner
Platform: Tradestation
Favorite Futures: emini ES
 
Posts: 3 since Feb 2016
Thanks: 0 given, 0 received

Label TL with Word text AND numeric level text

I can't believe I can't find this anywhere, and maybe I'm just not searching the right question. I want to label a horizontal line with the label "Gap High", and also have a label attached to it with the corresponding numeric value (vs having the numeric value only on the right axis.)

For example, I want to place a line at 203 that says "Gap High 203"

if I want it at 201, it will have a label of "Gap high 201", WITHOUT me having to change the easylanguage.

I can't believe TS doesn't offer the ability to label a horizontal drawing object with a word label (yes you can use a text box but it doesn't stay on the right side of the chart unless you make it an indicator, after which it is a text box on EVERY chart at that level)

anyways, this is the code I have for the trendline indicator I had to make to get the label on the horizontal line. I just want it to have the word label, but also add the numeric label. I've tried adding a second Lev1Txt, but it will only do one or the other as far as I can tell. I've also tried adding a Lev2Txt, but Lev2Txt input isn't in the language

This is what I have, any help would be great! I'm sure its an easy fix! THANKS SO MUCH

Input: Level1 (0);

Vars: Lev1Txt (0);

Plot1 [-5](Level1,"Lev1",magenta);

If text_exist (Lev1Txt) = False then
Begin
Lev1txt = Text_New (D,T, Level1, "Gap High");
Text_setstyle (Lev1Txt,1,1);
Text_SetColor(Lev1Txt, magenta);
end
Else
Begin
Value2 = GetAppInfo(aiRightDispDateTime);
Value3 = ELDate(MonthFromDateTime(Value2),DayFromDateTime(Value2), YearFromDateTime(Value2));
Text_setLocation(Lev1Txt, Value3, HoursfromDateTime(Value2) * 100 + MinutesfromDateTime(Value2), Level1);
End;

Reply With Quote
 
  #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.

 
  #3 (permalink)
Elite Member
Colorado
 
Futures Experience: Advanced
Platform: MultiCharts
Broker/Data: IB & Iqfeed
Favorite Futures: ES , CL
 
sptrader's Avatar
 
Posts: 533 since Apr 2010
Thanks: 1,080 given, 668 received


I'm not a great programmer but I think you want something like this, it will add the number to the end of your text.

 
Code
Lev1txt = Text_New (D,T, Leve11, "Gap High" + NumToStr(Leve11,2));

Reply With Quote
The following user says Thank You to sptrader for this post:
 
  #4 (permalink)
Trading Apprentice
Mound, MN
 
Futures Experience: Beginner
Platform: Tradestation
Favorite Futures: emini ES
 
Posts: 3 since Feb 2016
Thanks: 0 given, 0 received

AWESOME

THANK YOU SO MUCH!!! I've been trying to do that for months, guess I could've just asked on the forum...

Anyways, thanks again!

Reply With Quote

Reply



futures io > > > > > Label TL with Word text AND numeric level text

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text in price over bar eryo NinjaTrader Programming 1 March 24th, 2015 09:45 AM
Price Zones From Text File bojangle NinjaTrader Programming 5 July 31st, 2013 10:24 AM
How to insert NewLine in EasyLanguage Text() ? Big Mike EasyLanguage Programming 9 March 28th, 2010 09:30 AM
Volume in text emini_Holy_Grail Traders Hideout 2 March 19th, 2010 09:00 AM
Horizontal line with text vast NinjaTrader Programming 2 February 4th, 2010 04:46 PM


All times are GMT -4. The time now is 05:20 AM.

Copyright © 2017 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
Page generated 2017-12-13 in 0.09 seconds with 19 queries on phoenix via your IP 54.92.194.75