Welcome to the Traders Laboratory Forums.
Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.

Reply
Bottomline Details »»
Bottomline
Platform: EasyLanguage, by Tams Tams is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Platform: MultiCharts Rating: (1 votes - 5.00 average)
Released: 04-16-2009 Last Update: Never Installs: 5
 
No support by the author.

Bottomline

This indicator prints the pertinent information on the bottom of the screen.

You can easily modify this indicator with information of your choice

MultiChart version can adjust the text size.


see also the complementary Masthead:
http://www.traderslaboratory.com/for...html#post62946


Download Now

File Type: txt Bottomline_(TS).txt (1.1 KB, 69 views)
File Type: txt Bottomline_(MC).txt (1.1 KB, 61 views)

Screenshots

Bottomline-bottomline.gif  

Show Your Support

  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without the author's permission.

Similar Indicator
Mod Developer Type Replies Last Post
ATR Marker Tams Trading Indicators 7 12:24 PM 10-14-2009
Masthead Tams Trading Indicators 0 01:41 PM 04-16-2009
iADX -- an Improved Mouse Trap Tams Trading Indicators 5 03:46 PM 08-09-2009
The Following 5 Users Say Thank You to Tams For This Useful Post:
aaa (04-18-2009), nuno-online (07-19-2010), Soultrader (04-20-2009), TIKITRADER (08-08-2009)

Comments
Old 04-18-2009, 12:18 PM   #2
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Bottomline



Every week Tams shares great and simple ideas in this forum...

Having any kind of information printed on the screen is powerfull.

aaa is offline  
Reply With Quote
Old 04-18-2009, 12:41 PM   #3
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Bottomline

Top and Bottom mixed in one

bottom( 0 ); = Top

bottom( 1 ); = Bottom

Code:
// Masthead + Bottomline
// version beta 0.1
// Author: TAMS
// date: 20090416
// license: public use
// description: this indicator prints the pertinent information on the bottom or top of the screen.
// MultiChart version can adjust the text size.
// you can easily modify this indicator with information of your choice
//
 
input:
ATR.length1(	10	),
ATR.length2(	20	),
Text.size(	14 	),
Text.color(	black	),
Bottom( 	1	);

var:
id.txt(	-1	),
txt.data1(	""	),
topprice(	0	),
bottomprice(	0	);

if Bottom = 0 then
Value1 = getappinfo(aihighestdispvalue)
else if Bottom > 0 then
Value1 = getappinfo(ailowestdispvalue);

txt.data1 = "HL="+NumToStr(highd(0)-lowd(0),2)
	+ ", ATR"+NumToStr(ATR.length2,0)+"="+ NumToStr(AvgTrueRange( ATR.length2),2)
	+ ", ATR"+NumToStr(ATR.length1,0)+"="+ NumToStr(AvgTrueRange( ATR.length1),2)
	+ ", Range[1]="+NumToStr(range[1],2)
	+ ", Range="+NumToStr(range,2);

if currentbar = 1 then 
begin
	id.txt = text_new(d, t, Value1 , txt.data1);
	Text_SetStyle (id.txt , 1, 1); 
	Text_Setcolor (id.txt , text.color); 
	{MC only}
	text_setsize (id.txt , text.size);
	text_setattribute (id.txt, 1, true); 
end;

text_SetString(id.txt, txt.data1);
text_setlocation(id.txt, d, t, Value1);
aaa is offline  
Reply With Quote
The Following 2 Users Say Thank You to aaa For This Useful Post:
nuno-online (07-17-2010), Tams (04-18-2009)
Old 04-18-2009, 02:01 PM   #4

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: Bottomline

nice !

you should add this to the code:


// Masthead + Bottomline
// version beta 0.2
// Author: TAMS
// date: 20090416
// license: public use
// description: this indicator prints the pertinent information on the bottom or top of the screen.
// MultiChart version can adjust the text size.
// you can easily modify this indicator with information of your choice
//

// beta 0.2 modification by aaa
// date: 20090418
// beta 0.2: combined masthead with bottomline



Great synergy!
;-)
Tams is offline  
Reply With Quote
Old 04-18-2009, 02:28 PM   #5
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Bottomline

I'm too shy to do that...

I'm a fan of your indicators and I 'm glad that you appreciate my tiny contribution.
aaa is offline  
Reply With Quote
Old 04-18-2009, 02:36 PM   #6

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: Bottomline

Quote:
Originally Posted by aaa »

Every week Tams shares great and simple ideas in this forum...
Having any kind of information printed on the screen is powerfull.

I am glad you can see the power in these simple ideas.

What I am trying to do is to introduce some basic tools and tricks
that people can use and modify to their methods.

I will increase the complexity of the tools if people can pick them up.
... eventually I will combine these little tools and demonstrate how to build big and complex analysis.

EasyLanguage is a powerhouse waiting to be unleashed.

Enjoy!

.
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
aaa (04-18-2009)
Old 04-18-2009, 02:54 PM   #7
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Bottomline

There is before TAMS...

...and after TAMS

What an amazing program !!!

I'm sure that everybody on this forum is glad to learn from you
aaa is offline  
Reply With Quote
Old 04-19-2009, 10:10 AM   #8

Join Date: May 2008
Location: Singapore
Posts: 59
Ignore this user

Thanks: 22
Thanked 32 Times in 16 Posts

Re: Bottomline

not too sure if it was brought up before,

if "aihighestdispvalue" or "ailowestdispvalue" is used in code, the chart has to be preloaded before the application of the Info Printout. The implication is that if the user has a habit of switching products (or symbol name as most like to call it), then, the first time the chart is loaded, the Info Printout will not appear. The user will then have to do a refresh to his/her chart to get it appearing.

As per tradestation Help for "GetAppInfo - AiLowestDispValue":
"Identifies lowest possible value of the underlying data visible on the screen for which the analysis technique is plotted. Note that this value is only useful if the chart is visible in the active workspace and the value is only updated when a new trade or barclose occurs."

I would suggest directly feeding the "Value1" with the following, which will place the InfoPrint either top or bottom depending on where the prices are (top if prices are generally low and bottom if prices are generally high, so as not to have the text overlap prices):
Code:
inputs:
	TrackPeriod( 500 );
variables:
	TrackRange( 0 );

TrackRange = Highest(High,TrackPeriod)-Lowest(Low,TrackPeriod);
	if Close >= ((0.5*TrackRange) + Lowest(Low,TrackPeriod))
		then begin
			Value1 = 0.08;
		end
		else
			begin
			Value1= 0.92;
	end;
sneo is offline  
Reply With Quote

Reply

Tags
atr, easylanguage, range, text

Thread Tools
Help Others By Rating This Thread
Help Others By Rating This Thread:


All times are GMT -4. The time now is 08:02 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.