Multi-Timeframe Indicators
  #1 (permalink)  
Old 04-07-2007, 07:37 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,973
Thanks: 119
Thanked 383 Times in 152 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default Multi-Timeframe Indicators

Thanks to keris2112 for sharing these indicators at forex-tsd forum. I'm attaching them here for you:

Quote:
Originally Posted by keris2112
Hi all,
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) TimeFrame is 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:
#MTF_MovingAverage.mq4
#MTF_PSar.mq4
#MTF_RSI.mq4
#MTF_MACD.mq4
#MTF_CCI.mq4
Bollinger Bands
Juice
Linear Price Bar
Price
Stochastic


The attached chart is the following:
M5 Chart with LimeGreen PSar
M15 PSar
M60 SMA(13)
H4 CCI
M30 MACD
H1 RSI

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.

Keris

Attached Images
File Type: gif mtf-example.gif (17.0 KB, 293 views)
Attached Files
File Type: zip #MTF Set 1.zip (6.6 KB, 174 views)
File Type: zip #MTF Set 2.zip (9.2 KB, 132 views)
Shark EA Ultimate
Actual Profits on Live Account: +1064%
Since Jan 2007. View Live Statements.
Reply With Quote
The following users have thanked scorpion for useful post above:
  #2 (permalink)  
Old 04-07-2007, 07:38 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,973
Thanks: 119
Thanked 383 Times in 152 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

There're a bunch of many multi-timeframe indicators downloadable at:
Index of /_MT4_Indicators/MultiTimeFrame
Reply With Quote
The Following 3 Users Say Thank You to scorpion For This Useful Post:
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Multi-Hedge Indicator pipscalper Indicators 15 04-10-2008 10:24 PM


All times are GMT. The time now is 11:20 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast