logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
swordman  
#1 Posted : Monday, August 21, 2006 11:24:20 AM(UTC)
swordman

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/10/2006(UTC)
Posts: 42
Location: Hong Kong

Dear All :

I wrote an expert hightlight and wish to transform it into system tester code . How can I excerpt highest close value from only several candles . For example , if today is Day 0 , yesterday was Day -1 , etc .. If my expert highlight only highlight the Day-6 , -5 to -1 , How do I excerpt the value of highest close from this bars .

I have written a binary indicator to set the validity to the highlight as 0 & 1 , 1 is highlight and 0 means no highlight but how can I excerpt the value from these Day-6 to -1 . Of course it may not be the same days each time . Sometimes it was Day -3 to day -1 , somerthing like that . If I want to take the value of the candle body of the lowest candle body and the highest candle body of this cluster of valid highlight candle to get a range (or just the highest close among these if too dificult ) .

How should I write it ?

Thanks in advance .

P.S. dear wabbit , please email me to the forrest_yau@yahoo.com.hk to discuss our previous email . Thanks .

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.