Traders Laboratory - View Single Post - Higher Time Frame Indicator for TS
View Single Post
  #6 (permalink)  
Old 03-19-2008, 07:10 AM
BlowFish's Avatar
BlowFish BlowFish is offline
BlowFish is in da house

Trader Specs
 
Join Date: Mar 2007
Location: Europe Mostly
Posts: 892
Thanks: 24
Thanked 126 Times in 89 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