Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 02-12-2008, 08:00 PM   #1

Join Date: Jul 2007
Location: MOUNTAIN VIEW
Posts: 32
Ignore this user

Thanks: 5
Thanked 10 Times in 5 Posts

Higher Time Frame Indicator for TS

Hello,

I'm not a TS programmer, so I'm going to ask for help on this. Also, tell me if it's a dumb idea as well.

I have limited screen space so instead of having to have multiple charts up for a higher time frame I was wondering if it possible and relatively easy to create a TS showme that prints a dot above each candle indicating the trend direction on a highet timeframe. So, for example, if I generally look at a 266 tick chart and i want to know what the trend is on a timeframe multiple of 3 or 4 times would it be possible to show a dot on the 266 tick chart indicating the trend of the 1064 tick chart (266*4)? A red dot for down or green for up. Of course this could be as complicated depending on the modifiable inputs such as higher timeframe and number of bars to determine trend etc. Any help is appreciated. By the way, I want to sell it for $499. Just kidding

David
drsushi is offline  
Reply With Quote
Old 02-13-2008, 04:45 AM   #2

Blu-Ray's Avatar

Join Date: Nov 2006
Location: England
Posts: 508
Ignore this user

Thanks: 164
Thanked 292 Times in 105 Posts

Re: Higher Time Frame Indicator for TS

David

It is possible to do, however when using tick charts you need to use ADE, which stands for "All Data Everywhere", and it is available from the TS forum. ADE is also quite CPU intensive, so you have to take that into consideration.

If you were using min to min data, then that would be straightforward.

Hope this helps

Blu-Ray
__________________

“ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google
Blu-Ray is offline  
Reply With Quote
Old 02-14-2008, 02:27 PM   #3
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,349
Ignore this user

Thanks: 317
Thanked 355 Times in 256 Posts
Blog Entries: 104

Re: Higher Time Frame Indicator for TS

Alternatively, if this is as complicated as you plan to get with interchart stuff, you could send highest time trend to a TS global variable and pick it up and plot it on lower time frame charts.
zdo is offline  
Reply With Quote
Old 03-18-2008, 12:24 PM   #4

swansjr's Avatar

Join Date: Oct 2007
Location: Gurnee, IL
Posts: 282
Ignore this user

Thanks: 86
Thanked 132 Times in 69 Posts

Re: Higher Time Frame Indicator for TS

I just installed the Global Variable DLLs and got it to work. I have a 699-tick chart (my higher timeframe) that passes trend data (crossover events) to my 233-tick chart (my lower timeframe), which paints a dot on the bar of the trend change. Sweet!

However…

…this appears to work only with real-time data. In other words, it's useless for back testing. Is this true, or am I missing something?

Thanks,
Jeff
swansjr is offline  
Reply With Quote
Old 03-18-2008, 07:30 PM   #5
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,349
Ignore this user

Thanks: 317
Thanked 355 Times in 256 Posts
Blog Entries: 104

Re: Higher Time Frame Indicator for TS

Yes GV is useless for back testing.
Only holds one / real time / current value

hth

Last edited by zdo; 03-18-2008 at 07:31 PM. Reason: spelling and grammar
zdo is offline  
Reply With Quote
Old 03-19-2008, 07:10 AM   #6

BlowFish's Avatar

Join Date: Mar 2007
Location: In Da House
Posts: 3,292
Ignore this user

Thanks: 129
Thanked 1,054 Times in 702 Posts

Re: Higher Time Frame Indicator for TS

Another way is maintaining a 'synthetic' HTP high low close series based on the lower time frame bar using a multiplier. Maybe this will give you some ideas.

Input NumBars(5);

BarCount = BarCount + 1;
HTPbarH = maxlist(HTPbarH, H);
HTPbarL = minlist(HTPbarL, L);

if Barcount = NumBars
begin
BarCount =0;
HTPbarH=High;
HTPbarL=Low;


etc. etc.
BlowFish is offline  
Reply With Quote
Old 04-22-2008, 03:38 PM   #7

swansjr's Avatar

Join Date: Oct 2007
Location: Gurnee, IL
Posts: 282
Ignore this user

Thanks: 86
Thanked 132 Times in 69 Posts

Re: Higher Time Frame Indicator for TS

Well, the global variables just did not cut it. I needed something that would work with back testing. I next tried ADE and WOW!

In my opinion, ADE is the way to go. I've installed it, created my own Classes and have been converting my favorite indicators to pass data to other tick-based charts. It works great. Highly recommended if you trade with multiple time frames.

Search for it on the TS forums.
swansjr is offline  
Reply With Quote
Old 04-22-2008, 06:41 PM   #8
forsearch

Status: Guest
Posts: n/a
Ignore this user


Re: Higher Time Frame Indicator for TS

Quote:
Originally Posted by swansjr »
Well, the global variables just did not cut it. I needed something that would work with back testing. I next tried ADE and WOW!

In my opinion, ADE is the way to go. I've installed it, created my own Classes and have been converting my favorite indicators to pass data to other tick-based charts. It works great. Highly recommended if you trade with multiple time frames.
How resource intensive is this on the CPU?
 
Reply With Quote

Reply

Tags
multiple time frame

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
Time Frame Control MrPaul Market Analysis 1 11-29-2007 12:31 PM
Learning from an unsuccessful trading setup on a smaller time frame kingking E-mini Futures Trading Laboratory 3 02-26-2007 04:51 AM
Use Fib projection on small time frame (1 Feb 07) kingking E-mini Futures Trading Laboratory 0 02-16-2007 11:17 AM
Trading opportunity in the smaller time frame kingking E-mini Futures Trading Laboratory 3 02-13-2007 08:20 AM
Identifying Market Excess: Other Time-Frame Buyers Soultrader Market Profile 3 08-30-2006 07:49 AM

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