Saturday, July 18, 2009

20 Day Momentum ProRealTime Code

Hi All,

I think I figure out the codes for 20 Day Momentum. Add the indicator as the same as how we added the 55-20 Day Channel Breakout Indicator.

// Define a period
period = 20

H = highest [period]( close )
L=lowest [period]( close )

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

No comments:

Post a Comment