I was trying to create a custom indicator but I can't seem to get it to work. If anyone has an example algorithm that uses a custom indicator I would really appreciate taking a look at how it's implimented. 

Author