NexusFi: Find Your Edge

Home Menu


Plot this!

Discussion in EasyLanguage Programming

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

Search this Thread

Plot this!

  #1 (permalink)
Posts: 12 since Feb 2011

I have some code below that I would like to modify but I am not much of a coder.

The code below prints the high of the bar.

What I need is to have the high +1 tick and only 2 digits before the decimal and 2 digits after the decimal displayed.

Any help would be appreciated.

using elsystem;  
using elsystem.drawing;  
using elsystem.drawingobjects;  
	bool iShowCenter(true);  
	TextLabel TL(null),  
	BNPoint BNP(null);  
if barstatus(DataNum + 1) = 2 then  
	if iShowCenter then  
		BNP = BNPoint.Create(CurrentBar, High ); 
		TL = TextLabel.Create(BNP, Numtostr(High, 2));  
		//TL.AutoShow = true;  
		TL.Color =;  
		//TL.Name = "TL" + NumtoStr(CurrentBar, 0) + "C";  
		TL.Persist = true;  
		TL.TextString = Numtostr(High,2 );  
		TL.HStyle = HorizontalStyle.Center;  
		TL.VStyle = VerticalStyle.Bottom;  

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
Trade idea based off three indicators.
Traders Hideout
Platforms and Indicators
Exit Strategy
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
20 thanks
My NQ Trading Journal
17 thanks
Coding money management strategies.
14 thanks
Just another trading journal: PA, Wyckoff & Trends
12 thanks
HumbleTraders next chapter
9 thanks

Last Updated on September 15, 2015

© 2024 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 - Privacy Policy - Downloads - Top
no new posts