Thursday, August 13, 2009

Channel BreakOut Codes

55 Days High & Low Channel BreakOut Code

// Define a period
period = 55

H = highest [period]( high )
L=lowest [period]( low )

return H as "55-Day Channel Highest", L as "55-Day Channel Lowest"

20 Days High & Low Channel BreakOut Code

// Define a period
period = 20

H = highest [period]( high )
L=lowest [period]( low )

return H as "20-Day Channel Highest", L as "20-Day Channel Lowest"

No comments:

Post a Comment