I have a problem with an indicator I've coded.
Compilaion is ok but once I try to run it,nothing appear on the bar chart and I have the following error message in the log file :
"Error on calling the 'OnBarUpdate' method on bar 100 (last bar):la référence d'objet n'est pas définie à une instance d'objet."
I'm sorry I can't translate that in english because I don't even understand that sentence in french.
I've been stuck with this problem for days and this is driving me crazy.
Can someone check the attached script and tell me what's going wrong ?
Comment