Thanks chief..I am still into the coding..will definitely come back with more problems
how do i pass on an array to a different function?
suppose i calculate all the timeframe averages in a seperate function say macalculation() and invoke them into 2 other functions say checkopen () and checkclose(). Right now I am getting some problem with the values.Can u guide me on right syntax.
Pass the array by reference to the function. Something like this :
and the someFunction() in this case would be something like this :
[PHP]void someFunction(double& arrayReceived)
arrayReceived = 1; // array will be assigned some value
the "&" tells to compiler that the array is passed by reference
PS: used some values that are just for example. The size of the array you should determine according to your needs (as well as the operations you wish to do on the array elements)
PPS: please, in the future, posts about coding issues post at this thread : https://www.mql5.com/en/forum/174385 since this thread is dedicated to multi time frame indicators not coding questions
Can this be made MTF? Also notice that it only works on specific pairs, can it be modified to work on any chart it is attached to, is this possible at all?
Decompiled code. Sorry
Could you make this indicator also with arrow alerts on screen in chart and seperate window(to be swichted on/off mode) when colored lines DarkSlateGray Crosses DodgerBlue for long and short signals on screen. Short = when DarkSlateGray crosses form under through DodgerBlue and vice versa. Thx a lot for your cooperation and help. Marco
Marco320, added the arrows(dots) and alerts. Also being that the Gold line is really osma like for the Tma/Sma macd and signal cross added a multiplier if you put it at 1 or less than 1 will be smaller if greater than 1 the line will be more pronounced on your screen, but no matter the size it will still cross zero the same time as before.If you prefer arrows can change it to that, no problem.
updated version posted here: https://www.mql5.com/en/forum/173574
Please make a mtf version of the indicator. Thank you!
I find FX Pulse very useful. It shows the trend in all the time frames as well as showing which markets are open and the time there. Here is a screen shot:
If you do download it make sure you disable the news feed as it crashes my MT4.
Guest21, I have this indicator think it's the same, this one is a fixed version, think you might have some problems with the signals on that version.
Updated version posted here : https://www.mql5.com/en/forum/173574