Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
There is a difference between the indicator and what the cci has shown. here is the 15 min time frame. I set it to typical price like in the indicator. I don't know what else could have been wrong.
I think I fixed the problem.
Here is the new version
1). To put my thoughts down and to make sure that I am understanding things as they are
2). To ask for others to help in my understanding of how MTF indicators work
3). To get advice on how I can work around the MTF issues to get the results I seek
I want the higher timeframe to be calculated only on completed higher time frame bars.
Can anyone suggest an elegant method to accomplish this?
Thank you for your Time
EK
U can check some of the indicator here.
The main idea (I took it from one of the indicators here) is to take the time bars as an array of times and see if current time is less then the requested timeframe and increase the index. like here
for(i=0, y15m=0, y4h=0, y1h=0, y30m=0;i<limit;i++)
{
if (Time[i]<TimeArray_15M[y15m]) y15m++;
if (Time[i]<TimeArray_4H[y4h]) y4h++;
if (Time[i]<TimeArray_1H[y1h]) y1h++;
if (Time[i]<TimeArray_30M[y30m]) y30m++;
where Period_1 .. 4 are PERIOD_M5 , PERIOD_M15 or so
Here's one more MTF indicator. It's based on a custom indicator (you can view the code to make your own).
It's called #MTF_LPB.mq4 (Linear Price Bar) Here's the link to the thread for info on the indicator: Linear Price Bar
Attached are 2 indicators. You need both in your indicators folder as the MTF version references the original indicator.
Linear Price Bar.mq4
#MTF_LPB.mq4
Keris
Hi Keris,
I am fairly new to programming indicators in MT4 and would like to know if you could help with making one for me an indicator I found in this forum by Nick. The indicator is very helpful for manual trading. The MTF indicator will greatly help in trading in the same direction.
I am attaching the same here for your ready reference.
Thaks for the guidance. Thought this was my first attempt in doing this. I find that while compiling there is one paraenteses which is unbalanced.
Can you help me fix it. Thanks in advance for the help. This should help me to make an attempt on my own. Also let me know if somthing is wrong which I may not be aware of.
Is if this indicator didnt need to be refreshed every couple of hours.
When I have this indicator on a 1 hour chart and it is using the 4 Hour in its array, after a few hours I refresh it the indicator Paints the line differently than what it did in real time.
I have tried to get the same values/results without the need for it to be refreshed but have been unable to.
Until I or someone else can re-code so the refresh is not needed than I dont see much value for me in this indicator.
Is if this indicator didnt need to be refreshed every couple of hours.
When I have this indicator on a 1 hour chart and it is using the 4 Hour in its array, after a few hours I refresh it the indicator Paints the line differently than what it did in real time.
I have tried to get the same values/results without the need for it to be refreshed but have been unable to.
Until I or someone else can re-code so the refresh is not needed than I dont see much value for me in this indicator.
Thanks
Minggu
Minggu,
As I've mentioned before, the whole idea of the MTF indicators was to allow you to see what was happening on multiple timeframes without having to constantly switch timeframes or have multiple charts open. In real time, they show you exactly what is happening on the longer timeframe, in increments of the shorter timeframe.
The last MTF bar for the longer timeframe represents what the longer timeframe looks like at the close. If you refresh the charts, all the incremental data is gone, so you get multiple bars that are identical to the closing bar of the longer timeframe. The real (closing) value of the indicator didn't change, you just don't see the increments.
Example of how you might use this:
You system calls for you to go long when the M5 and M15 Psars align, and H1 CCI is above 0. You can have 3 charts open, or you can use the MTF indicators and put them all on one chart. If you system calls for you to wait for the close, then no matter what, you need to for the H1 to close before making a decision.
But, you might use a little discretion. You are on minute 50. For the last 30 minutes (6 bars on your M5 chart) your H1 CCI has been above 0 and is climbing. It's currently at 100. You decide that everything looks positive, so you enter 10 minutes before the H1 bar closes. You did all of this without ever having to switch a chart or timeframe. (BTW, I'm not suggesting that the above scenario is something to be followed. I just made something up to illustrate how the MTF indicators might be used.)
Anyway, yes, they somewhat repaint themselves, but not like normal indicators that repaint, i.e. Zig Zag. The closing data of the longer timeframes never change. You just loose the incremented values when you refresh.
Thank you for taking the time to explain how the indicator works. What I am trying to get is where "If you refresh the charts, all the incremental data is gone, so you get multiple bars that are identical to the closing bar of the longer timeframe. The real (closing) value of the indicator didn't change, you just don't see the increments."
So I am looking for the Larger Bar data (only Completed Bars) and for every bar on the Lower timeframe just show the same data until a new larger timeframe bar has been completed.
This Super signals Indicator seems very powerful. But the #MTF_Super-signals_v1.mq4 has an error when I compile. I am not able to fix it.
Would you please help this?
This Super signals Indicator seems very powerful. But the #MTF_Super-signals_v1.mq4 has an error when I compile. I am not able to fix it.
Would you please help this?