Forum

Indicator problem

Hi: I cut and past one of the indicator from this site and inbed it in my expert. However, I have a difficulty geting it to work. Here is the setup. // -------------------------Property--------------------------------- #property indicator_color1 Blue // Medium at max or min #property

More questions regarding to iCustom indicator

Hi: With the help from this forum, I was able to write a custom indicator that plot 3 traces. When I looked closely to the return argurment of the "int start()" function, I was amazed. How can the start function return "double" when the declaration indicated "int"? I am guessing that the function

Need help writing a custom indicator

I wrote a custom indicator that draw a line using moving average. So far, it drew a line. However, I have a scale that use a timeframe as a switch to select two scaling parameters. How do I get timeframe from the current chart so I can select the proper scaling parameter. I am not concern about the