Go Back   Traders Laboratory > Trading Resources > Trading Indicators > Coding Forum

Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Bookmarks
del.icio.us StumbleUpon Google Digg Facebook Furl Reddit Netscape

 
LinkBack Thread Tools Display Modes Language
  #1 (permalink)  
Old 02-12-2008, 08:00 PM
drsushi drsushi is offline
Registered Trader

 
Join Date: Jul 2007
Posts: 23
Thanks: 0
Thanked 3 Times in 3 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

Reply With Quote
  #2 (permalink)  
Old 02-13-2008, 04:45 AM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Premium Trader

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 355
Thanks: 60
Thanked 19 Times in 14 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

__________________
Remember - Take the path of least resistance.
Reply With Quote
  #3 (permalink)  
Old 02-14-2008, 02:27 PM
zdo zdo is offline
Registered Trader

 
Join Date: Nov 2007
Posts: 74
Thanks: 17
Thanked 12 Times in 8 Posts
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.

Reply With Quote
  #4 (permalink)  
Old 03-18-2008, 12:24 PM
swansjr swansjr is offline
Registered Trader

Trader Specs
 
Join Date: Oct 2007
Location: Gurnee, IL
Posts: 14
Thanks: 3
Thanked 0 Times in 0 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

Reply With Quote
  #5 (permalink)  
Old 03-18-2008, 07:30 PM
zdo zdo is offline
Registered Trader

 
Join Date: Nov 2007
Posts: 74
Thanks: 17
Thanked 12 Times in 8 Posts
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
Reply With Quote
  #6 (permalink)  
Old 03-19-2008, 07:10 AM
BlowFish's Avatar
BlowFish BlowFish is offline
Dullard

Trader Specs
 
Join Date: Mar 2007
Location: Europe Mostly
Posts: 615
Thanks: 20
Thanked 58 Times in 45 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.

Reply With Quote
  #7 (permalink)  
Old 04-22-2008, 03:38 PM
swansjr swansjr is offline
Registered Trader

Trader Specs
 
Join Date: Oct 2007
Location: Gurnee, IL
Posts: 14
Thanks: 3
Thanked 0 Times in 0 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.

Reply With Quote
  #8 (permalink)  
Old 04-22-2008, 06:41 PM
forsearch forsearch is offline
Registered Trader

 
Join Date: Mar 2007
Posts: 127
Thanks: 17
Thanked 11 Times in 11 Posts
Re: Higher Time Frame Indicator for TS

Quote:
View Post
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
  #9 (permalink)  
Old 04-23-2008, 06:56 AM
swansjr swansjr is offline
Registered Trader

Trader Specs
 
Join Date: Oct 2007
Location: Gurnee, IL
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Re: Higher Time Frame Indicator for TS

Quote:
View Post
How resource intensive is this on the CPU?
I’ve not noticed a performance drop. Everything seems to work just fine. I’m often running ADE with 699-tick and 233-tick charts. I’ll have other work spaces open as well and all running smooth.

I picked up an Apple Mac Mini last year to exclusively run TradeStation. If you’ve not seem them they are small little boxes about 6” wide and 2” tall. This fits nicely on a desk or hidden under a desk. I’m running on an Apple Mac Mini, Intel Core 2 Duo 1.83 GHz processor, 80-gig drive and 1 gig of ram.

The OS is Windows EP Home Edition.

In short, it does not seem to be an issue with todays modern desktop computer.

Reply With Quote
  #10 (permalink)  
Old 04-23-2008, 05:50 PM
swansjr swansjr is offline
Registered Trader

Trader Specs
 
Join Date: Oct 2007
Location: Gurnee, IL
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Re: Higher Time Frame Indicator for TS

Quote:
View Post
The OS is Windows EP Home Edition.
That's "XP" not EP!


Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 3 02-26-2007 04:51 AM
Use Fib projection on small time frame (1 Feb 07) kingking E-mini Futures 0 02-16-2007 11:17 AM
Trading opportunity in the smaller time frame kingking E-mini Futures 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 12:39 AM.

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59