NexusFi: Find Your Edge


Home Menu

 





Easylanguage: Function to Plot Text Verticaly


Discussion in EasyLanguage Programming

Updated
    1. trending_up 5,022 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
nunoonline
France
 
Posts: 10 since Apr 2010
Thanks Given: 7
Thanks Received: 0

Hi

is there a function in easylanguage to plot text verticaly above the bar (or below the bar)?

thank you
Nuno


Reply With Quote

 
  #3 (permalink)
nunoonline
France
 
Posts: 10 since Apr 2010
Thanks Given: 7
Thanks Received: 0


here the EasyTrader_I's help

Input: Txt_adjust (5);// Points
Input: TxtClr (RGB(255,135,00));
//=========================
var: TX1(0); var: TX7(0);
var: TX2(0); var: TX8(0);
var: TX3(0); var: TX9(0);
var: TX4(0); var: TX10(0);
var: TX5(0); var: TX11(0);
var: TX6(0); var: TX12(0);
//==========================
If LastBarOnChart then begin

TX1 = text_new(Date,Time,High+Txt_adjust*5 Points,"H");
TX2 = text_new(Date,Time,High+Txt_adjust*4 Points,"E");
TX3 = text_new(Date,Time,High+Txt_adjust*3 Points,"L");
TX4 = text_new(Date,Time,High+Txt_adjust*2 Points,"L");
TX5 = text_new(Date,Time,High+Txt_adjust Points,"O");

TX6 = text_new(Date,Time,Low-Txt_adjust Points,"L");
TX7 = text_new(Date,Time,Low-Txt_adjust*2 Points,"A");
TX8 = text_new(Date,Time,Low-Txt_adjust*3 Points,"P");
TX9 = text_new(Date,Time,Low-Txt_adjust*4 Points,"U");
TX10 = text_new(Date,Time,Low-Txt_adjust*5 Points,"T");
TX11 = text_new(Date,Time,Low-Txt_adjust*6 Points,"A");
//Above the Bar
Text_SetColor(TX1,TxtClr);Text_SetStyle(TX1,2,1);
Text_SetColor(TX2,TxtClr);Text_SetStyle(TX2,2,1);
Text_SetColor(TX3,TxtClr);Text_SetStyle(TX3,2,1);
Text_SetColor(TX4,TxtClr);Text_SetStyle(TX4,2,1);
Text_SetColor(TX5,TxtClr);Text_SetStyle(TX5,2,1);
//Below the Bar
Text_SetColor(TX6,TxtClr);Text_SetStyle(TX6,2,0);
Text_SetColor(TX7,TxtClr);Text_SetStyle(TX7,2,0);
Text_SetColor(TX8,TxtClr);Text_SetStyle(TX8,2,0);
Text_SetColor(TX9,TxtClr);Text_SetStyle(TX9,2,0);
Text_SetColor(TX10,TxtClr);Text_SetStyle(TX10,2,0);
Text_SetColor(TX11,TxtClr);Text_SetStyle(TX11,2,0);
End;


thank you


Reply With Quote




Last Updated on December 22, 2010


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts