Forum

Custom indicator doesn't work properly

Hi. I'm making a CI which does not work properly. When debugging stops in "bool y=..." line in OnCalculate(). I tested some options for that line and found that instead functions (iBands), variables (Close[]), if I replace for numbers or constants, indicator works. I have to say that Indicator, in

Problem in script

Hi. I am building a script that does the following: From a list of symbols, it opens (ChartOpen) a singular symbol in PERIOD_H4 and analizes Close[1] and makes certain calculations on Chart's max and min prices. Writes results in a file depend on calculatios. Close chart (CloseChart). When ends