whahahaha, you ole mizer, you
THNX for PM
HERE YOU HAVE IT
Thank you very much for the time and effort...
I would be very grateful if someone good at programming can do the following for me:
modify the MTF 4 XO indicator so that when the current bar (of the lowest timeframe) closes it freezes the color of the MTF 4 XO bar - so that the past does not repaint? OR is it possible for an alert to appear on the screen at the close of the current bar (on the lowest timeframe)? This alert should tell us the situation of the MTF 4 XO indicator at the close of the bar. e.g. 30 min = red, 60min=green, 240min=green, 1440min=red. The alert should not close until we have pressed ok on the alert.
I hope that makes sense.
I thank you in advance.
It´s my first exploration on MTF code. So I hope everything works well.
After a little observation, works good using all timeframes.
But there are differences depending on what broker are you using.
Corrected Version D12M9Y2006 after Igorad correction in generalized MTF code.
i made an MTF of igorads stepma version 7.1
but there is a slight problem.
i want it to show the two colors when trend changes
but when i change the colormode to 2 the indicator disapears.
everything works fine when only one color his shown.
could anyone please fix this problem.
Indicators for sub-current time frames
I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to plot the Daily RSI on your 5 Min. chart.
When I put together the Daily Volitily Breakout indicator, that sorta did what I wanted in that it allowed you to add it to any timeframe (Daily or less) and see where the daily breakout point would be. The problem was that it was limited to only showing the Daily value.
About 2 weeks ago I came across Igorad's Price Channel Stop indicator and it seemed to do what I wanted (with regard to mulitiple timeframes). I started trying to use the Price Channel indicator as a template, adding code from other indicators and tweaking it to work within the new structure, but they never seemed to work. (I'm still not a very good coder.) Then last night I had a "breakthrough": If I can't figure out how to properly add the code from the other indicators, why not just Reference them, with their iName or iCustom? So, that's what I did. And, it works great.
Here are a few things to keep in mind when using these:
1) TimeFrameis the input you use to specify what timeframe to pull the data from.
2) You must set TimeFrame in minutes (1,5,15,30,60,240,1440,10080,43200)
3) By default, TimeFrame is set to 0, which means that it will use whatever the current timeframe is, i.e it will act as the original indicator.
4) If you set TimeFrame to anything other than 0, it must be >= current timeframe. (In other words, don't use a M15 PSar on an H1 chart. The values won't be correct. An H1 PSar on an M15 chart works properly.)
I've setup 5 Multi-TimeFrame (MTF) indicators to use as examples. You can open them up and use the code as a template so that you can make any existing indicator MTF. Please don't post asking for other indicators to be made, as the thread will soon turn into one big 'please do this for every MT4 indicator'. It's really, really simple to do, and if you don't know how to code, spend a week reading Coder Guru's MT4 programming guide and you'll be able to do it.
If I have time, I'll add more. Hopefully others will add their MTF conversions to the thread.
Multi-TimeFrame set 1 contains:
The attached chart is the following:
M5 Chart with LimeGreen PSar
Well, I hope these come in handy for some of you. Thanks Igor, for your fantastic coding skills. I've learned a lot just by studying your code.
I've been looking to add indicators which show time frames below that of the chart I'm on, not above. Has a work around for this been found? I didn't see any posts reference this change..
I am looking for MTF version of these inds. please help me.