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

Notification

Icon
Error

Options
Go to last post Go to first unread
sharezack  
#1 Posted : Saturday, September 16, 2006 4:01:52 AM(UTC)
sharezack

Rank: Member

Groups: Registered, Registered Users
Joined: 9/15/2006(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)

Hi

I am trying for an exploration which can give me the following result......

Buy signal should come when the close is higher than the previous 5 days high in column A and in column b i want to find out the highest low in the last five days.

This will give e a buy signal when the script closes above the last five days high and also gives me the stop loss as highest low of the last five days.

Day 1 Day 2 Day 3 Day 4 Day 5 Day 6

High 300 304 298 296 299 306

Low 290 295 287 292 295 298

In the above example Day 6 the close was higher than all the previous 5 days so i should get a signal in column A and in column B i should get the value as 287 as that is the low in the last five days.

can some one give me the exploration code for the same

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.