My problem is the "close[5]". I get permanent no result. If I change the "close[5]" into "close[1]" can I see correct results. I think anywhere is a problem with the loaded day data. Anybody out there who knows a solution?
With current bar <5 you would have been getting an Index Out of Range error that would have crashed the indicator since for those bars, Close[5] does not exist. That's why rejecting bars prior to bar number 5 fixed the problem.
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett
thanks for your quick reply. I wrote a short code that display me the closeprice 5 days ago. The result was correct. Tomorrow will I update my screencode and test. One last question: Where can I open the "log error tab"?