MTF indicator code
Hello Can anyone see what is wrong with this code. It is an MTF indicator for MT4. It shows for most timeframes correctly but for example so H4 and daily no lines are shown. When compiling, there is a warning that "not all control paths return a value" Line 62 column 4. I can not program so I do not understand what needs to be changed. Thankful for all the help from you who are good at this.
Files:
MTF_code.txt
5 kb
lMTF_Moving_Average.mq4
5 kb
MTF_Code.PNG
67 kb
- Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
- error need help
- Multi Timeframe Indicators
int init() { ⋮ SetIndexLabel(1,IndicatorName+" Current Candle"); ««««««« init returns an int. What are you returning? } // Line 62