This site also is very helpful for writing indicators.
http://www.fxcodebase.com/