Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (229) Thread Tools Display Modes
  #121 (permalink)  
Old 05-02-2006, 06:54 AM
elihayun's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 351
elihayun is on a distinguished road
Quote:
Originally Posted by DanielTyrkiel
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
Attached Files
File Type: mq4 #MTF Forex freedom Bar.mq4 (8.0 KB, 2523 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #122 (permalink)  
Old 05-02-2006, 07:02 AM
elihayun's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 351
elihayun is on a distinguished road
Quote:
Originally Posted by Emerald King
Hello to All,

I am posting this question for several reasons;

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


ArrayCopySeries(TimeArray_4H,MODE_TIME,Symbol(),Pe riod_4);
ArrayCopySeries(TimeArray_1H,MODE_TIME,Symbol(),Pe riod_3);
ArrayCopySeries(TimeArray_30M,MODE_TIME,Symbol(),P eriod_2);
ArrayCopySeries(TimeArray_15M,MODE_TIME,Symbol(),P eriod_1);

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

Hope u understand the idea
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #123 (permalink)  
Old 05-06-2006, 09:22 AM
Junior Member
 
Join Date: Nov 2005
Posts: 7
Suresh is on a distinguished road
MTF for Super signals Indicator

Quote:
Originally Posted by keris2112
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.
Attached Files
File Type: mq4 super-signals_v1.mq4 (1.3 KB, 569 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #124 (permalink)  
Old 05-08-2006, 02:11 PM
Junior Member
 
Join Date: Nov 2005
Posts: 7
Suresh is on a distinguished road
MTF for Super-signals Indicator

Hi Kerris,

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.


Regards


Suresh
Attached Files
File Type: mq4 #MTF_Super-signals_v1.mq4 (3.2 KB, 671 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #125 (permalink)  
Old 05-09-2006, 12:00 AM
Member
 
Join Date: Nov 2005
Posts: 35
Emerald King is on a distinguished road
What I wish the Most

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #126 (permalink)  
Old 05-09-2006, 03:09 AM
keris2112's Avatar
Senior Member
 
Join Date: Dec 2005
Location: California, US
Posts: 130
keris2112 is on a distinguished road
Quote:
Originally Posted by Emerald King
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.

Keris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #127 (permalink)  
Old 05-09-2006, 04:11 AM
Member
 
Join Date: Nov 2005
Posts: 35
Emerald King is on a distinguished road
Thanks

Hello Keris,

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.

Any Ideas?
Thanks
EK
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #128 (permalink)  
Old 05-09-2006, 10:54 PM
Member
 
Join Date: Nov 2005
Posts: 35
Emerald King is on a distinguished road
I need to do more research

Hello Keris,

After thinking about what you have said I need to study your original indicator at depth before I decide on my course of action.

Thank you
EK
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #129 (permalink)  
Old 05-11-2006, 02:34 AM
Member
 
Join Date: Dec 2005
Posts: 35
zhu28ming is on a distinguished road
MTF for Super signals Indicator

Hello, Keris:

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?

Thanks a lot
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #130 (permalink)  
Old 05-11-2006, 02:41 AM
Member
 
Join Date: Dec 2005
Posts: 35
zhu28ming is on a distinguished road
MTF for Super signals Indicator

Hello, Keris:

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?

Thanks a lot
Attached Files
File Type: mq4 super-signals_v1.mq4 (1.4 KB, 388 views)
File Type: mq4 #MTF_Super-signals_v1.mq4 (3.2 KB, 382 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
forex, histogram, mtf bband, TRO SAK MULTIPAIR, mtf macd, pipnailer, megatrend, absolute strength, bbsqueeze, TheBuyZoneForex.pdf, MTF ADX, multi, multi time frame, mtf absolute strength

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/1077-multi-timeframe-indicators.html
Posted By For Type Date
求助:一个可以把大时间周期的均线放在小时间周期上的指标 - mt4编程与智能交易系统 - 领域外汇论坛 —外汇论坛|外汇开户|外汇保证金|FXSOL开户 This thread Refback 08-31-2008 07:31 AM
亂MT4亃MetaTrader Part8亂儊僞僩儗乕僟乕亃 Post #0 Refback 08-17-2008 12:55 PM
老涡: fractals.mq4 This thread Refback 08-07-2008 06:37 PM
Multi Timeframe Indicators - Page 91 - Forex Trading This thread Refback 08-02-2008 09:22 PM
MTF Stochastic 4TF Post #2168 Refback 08-02-2008 07:13 PM
耔咫耔轺 4 徕 ?? - Trading4Living 翦  滗屣 This thread Refback 07-23-2008 06:20 PM
Multi Timeframe Indicators - Page 117 - Forex Trading This thread Refback 07-20-2008 03:49 AM
耔咫耔轺 4 徕 ?? - Trading4Living 翦  滗屣 This thread Refback 07-13-2008 04:55 PM
耔咫耔轺 4 徕 ?? - Trading4Living 翦  滗屣 This thread Refback 07-13-2008 04:12 PM
软滂赅蝾瘥 桃 4 - 义蹴梓羼觇 囗嚯桤 Forex This thread Refback 07-12-2008 08:08 AM
软滂赅蝾瘥 桃 4 - 义蹴梓羼觇 囗嚯桤 Forex This thread Refback 07-12-2008 05:41 AM
Weekly_HILO. - MQL4 浠g爜鍩哄湴 Post #2066 Refback 07-10-2008 08:39 PM
Multi Timeframe Indicators - Page 62 - Forex Trading This thread Refback 07-05-2008 10:25 PM
仭僥僋僯僇儖偵偮偄偰岅傠偆仭part2 This thread Refback 07-05-2008 11:05 AM
BZ_TL_SkylineM - MQL4 Code Base Post #1684 Refback 07-05-2008 07:12 AM
MTF BB-Squeeze - MQL4 Code Base Post #1870 Refback 07-03-2008 03:32 AM
Weekly_HILO. - MQL4 Code Base Post #2066 Refback 06-25-2008 05:45 AM
≮持违スレ≯MetaTrader介看荚漓脱3≮ゆとり漓脱≯ - MetaTraderまとめWiki Post #1124 Refback 06-22-2008 01:31 PM
My MT4 modified indicators and collection - Page 7 Post #1177 Refback 06-22-2008 11:30 AM
Weekly_HILO. - MQL4 Code Base Post #2066 Refback 06-20-2008 04:56 AM
EESFX This thread Refback 06-19-2008 02:17 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-18-2008 10:24 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-17-2008 06:18 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-16-2008 10:29 PM
RSS-赅磬: 埋 桧滂赅蝾瘥 灶疱犟 Post #1652 Refback 06-15-2008 03:06 PM
软滂赅蝾瘥 桃 4 - 义蹴梓羼觇 囗嚯桤 Forex This thread Refback 06-13-2008 06:00 PM
袘谢芯谐 Post #1652 Refback 06-12-2008 02:17 PM
仭僥僋僯僇儖偵偮偄偰岅傠偆仭Part4 Post #977 Refback 06-11-2008 12:15 PM
袙褋械 懈薪写懈泻邪褌芯褉褘 肖芯褉械泻褋: 袦邪泄 2008 Post #1684 Refback 06-09-2008 10:47 AM
LinearRegSlope_v1 - MQL4 浠g爜鍩哄湴 Post #1901 Refback 06-09-2008 08:52 AM
My MT4 modified indicators and collection - Page 7 Post #1177 Refback 06-08-2008 08:54 PM
My MT4 modified indicators and collection - Page 7 Post #1177 Refback 06-08-2008 04:15 PM
Tro_Range - MQL4 Code Base Post #1652 Refback 06-08-2008 07:06 AM
Tro_Range - MQL4 浠g爜鍩哄湴 Post #1652 Refback 06-07-2008 09:40 PM
袙褋械 懈薪写懈泻邪褌芯褉褘 肖芯褉械泻褋: 袠薪写懈泻邪褌芯褉 Tro_Range Post #1652 Refback 06-07-2008 06:32 PM