Welcome to the Traders Laboratory Forums.
Beginners Forum Interested in trading but don't know where to start? Post any questions you may have here.

Reply
Old 01-25-2010, 04:54 PM   #1

Join Date: Jan 2010
Location: Stockholm
Posts: 21
Ignore this user

Thanks: 7
Thanked 5 Times in 4 Posts

Inside Bar Indicator?

Hi

I am wondering if there is an Inside Bar indicator or CCC Indicator for tradestation that works in the Radar Screen?

What im basically am looking for is an indicator which on a daily chart tells me if there has been an Inside bar or an CCC in any of the 20-30 pairs that im watching through the Radar Screen.

I have been trying to code one myself in Easy Language but unfortunate my skills are not good enough to get it to work...

If anyone can point me in the right direction I would be a VERY happy man.
The Henk is offline  
Reply With Quote
Old 01-25-2010, 05:09 PM   #2

TIKITRADER's Avatar

Join Date: Feb 2009
Location: USA
Posts: 213
Ignore this user

Thanks: 467
Thanked 298 Times in 136 Posts

Re: Inside Bar Indicator?

Tams wrote this, it may help.

http://www.traderslaboratory.com/for...tion-6581.html


I do not know if it will work as is or need an adjustment.
TIKITRADER is offline  
Reply With Quote
The Following 2 Users Say Thank You to TIKITRADER For This Useful Post:
Tams (01-26-2010), The Henk (01-25-2010)
Old 01-25-2010, 05:40 PM   #3

Join Date: Jan 2010
Location: Stockholm
Posts: 21
Ignore this user

Thanks: 7
Thanked 5 Times in 4 Posts

Re: Inside Bar Indicator?

Thank you for the quick response!

Im looking for something similar, I do however want it to work in the Radar Screen which this one does not.

It could be anything, just plot a point or anything there when there is an Inside Bar so that it draws my attention to that pair, doesn't necessarily need to do anything fancy etc...
The Henk is offline  
Reply With Quote
Old 01-25-2010, 05:48 PM   #4

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: Inside Bar Indicator?

just modify the stock tradestation one and add "LastBarOnChart" to the if then statement...


so it would look something like this (in fact, this should work):

Code:
if High < High[1] and Low > Low[1] and LastBarOnChart then 
	begin
	Plot1( Close, "IB", red);
	Alert("IB Pending");
	end
else
	NoPlot( 1 );
That should work in radar screen so that if the last bar that closed is an inside bar it should populate the closing price of the asset and alert you.

Cheers!
daedalus is offline  
Reply With Quote
The Following 2 Users Say Thank You to daedalus For This Useful Post:
Tams (01-26-2010), The Henk (01-25-2010)
Old 01-25-2010, 06:27 PM   #5

Join Date: Jan 2010
Location: Stockholm
Posts: 21
Ignore this user

Thanks: 7
Thanked 5 Times in 4 Posts

Re: Inside Bar Indicator?

Hi Daedalus.

That is very similar to what I wrote, I could not get it work properly though.

What Im looking for is very similar to this, I would however like to have the choice of getting indications on both 1 Inside Bar and when there are numerous Inside Bars, the price etc is not important id rather just have a text that says IB or something in the Radar Screen.

Also at the moment its indicating whenever there is an inside bar at this very moment which is not necessary. Since im planning on using this for a daily chart I just need notification whenever a bar has closed and not when its about to close.

All the help is very much appreciated!!
The Henk is offline  
Reply With Quote
Old 01-25-2010, 07:29 PM   #6

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: Inside Bar Indicator?

well if you want multiple inside bars, just add an additional if then that compares further bars back....
Code:
if High < High[1] and Low > Low[1] and High[1] < High[2] and Low[1] > Low[2]and LastBarOnChart then
That statement would check to see if the last two consecutive bars were both IB's.

Just change the alerts to whatever you want. Then make sure you set the indicator in radarscreen to NOT update tick-by-tick. Then it will be default only calculate on each bar's close.
daedalus is offline  
Reply With Quote
The Following User Says Thank You to daedalus For This Useful Post:
Tams (01-26-2010)
Old 01-26-2010, 03:15 AM   #7

Join Date: Jan 2010
Location: Stockholm
Posts: 21
Ignore this user

Thanks: 7
Thanked 5 Times in 4 Posts

Red face Re: Inside Bar Indicator?

Hi

Whenever I add that extra line I get absolutely nothing in my tradestation, im not very good at Easy Language and I am probably doing something wrong. You dont by any chance have the full code I need?
The Henk is offline  
Reply With Quote
Old 01-26-2010, 06:31 PM   #8

Tams's Avatar

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

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

Re: Inside Bar Indicator?

Quote:
Originally Posted by The Henk »
Hi

Whenever I add that extra line I get absolutely nothing in my tradestation, im not very good at Easy Language and I am probably doing something wrong. You dont by any chance have the full code I need?

what do you mean by " get absolutely nothing" ?

what have you added?
how did you add it?
what did you apply to? how?
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking-inside-bar Backtesting (LIBB) Questions rickek Coding Forum 3 10-12-2011 07:00 PM
Inside day 11-08-2006 feb2865 Forex Trading Laboratory 1 09-07-2011 08:13 PM
Inside Bar Indicator bear296 Coding Forum 1 06-24-2009 02:31 PM
Playing Inside Days Soultrader E-mini Futures Trading Laboratory 12 03-06-2007 04:10 PM

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