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
  #1761 (permalink)  
Old 02-17-2008, 03:49 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,000
fxbs is on a distinguished road
TREND_alexcud_Sig_En.mq4
plots Up/Dn Signals on chart window
can be used standalone or with or for becktesting TREND_alexcud_v_2
Attached Images
File Type: gif rend alexcud sig1.gif (18.6 KB, 704 views)
File Type: gif rend alexcud sig2.gif (30.5 KB, 717 views)
Attached Files
File Type: mq4 TREND_alexcud_Sig_En.mq4 (6.1 KB, 239 views)
File Type: mq4 TREND_alexcud_v_2M1En.mq4 (21.6 KB, 239 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1762 (permalink)  
Old 02-17-2008, 04:06 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,000
fxbs is on a distinguished road
just a joke : )))
Attached Images
File Type: gif rend alexcud sig2.gif (30.5 KB, 842 views)
File Type: gif rend alexcud sig3 joke.gif (25.9 KB, 851 views)

Last edited by fxbs; 02-17-2008 at 04:09 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1763 (permalink)  
Old 02-17-2008, 06:31 PM
Junior Member
 
Join Date: Oct 2006
Posts: 15
rolange is on a distinguished road
Help please!!!

I've been attempting to modify the MACD MTF Bar indicator in two ways but can't seem to make it work. Any help much appreciated!!!!

1. Add the timeframes displayed to 5 min and daily as well as the existing 15,30,H1,H4
2. Use MAIN signal line above/below Slow signal line to colour the bars rather than the Main > than 0
Attached Files
File Type: mq4 MTMACDmainaboveSignal.mq4 (7.5 KB, 96 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1764 (permalink)  
Old 02-17-2008, 06:39 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,000
fxbs is on a distinguished road
"MAIN signal line above/below Slow signal line"
are you using two signal lines? but not double-smooze macd?
could you show on the chart what's the idea?

Last edited by fxbs; 02-17-2008 at 07:22 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1765 (permalink)  
Old 02-17-2008, 07:26 PM
Junior Member
 
Join Date: Oct 2006
Posts: 15
rolange is on a distinguished road
Hi

Yeah its a hybrid of the GMACD2 and the MTF MACDX indicators

so the bars are green if the Macd Fast > Macd Slow on each TF
and red vice versa

I wanted to have the bars showing in 6 TFs

Is this do-able?
Attached Files
File Type: mq4 GMACD2.mq4 (16.1 KB, 100 views)
File Type: mq4 3MTFMACDX.mq4 (5.3 KB, 103 views)

Last edited by rolange; 02-17-2008 at 07:30 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1766 (permalink)  
Old 02-17-2008, 08:30 PM
Member
 
Join Date: Jan 2006
Posts: 56
hiachiever is on a distinguished road
Quote:
Originally Posted by rolange View Post
I've been attempting to modify the MACD MTF Bar indicator in two ways but can't seem to make it work. Any help much appreciated!!!!

1. Add the timeframes displayed to 5 min and daily as well as the existing 15,30,H1,H4
2. Use MAIN signal line above/below Slow signal line to colour the bars rather than the Main > than 0
You have three main problems with the way tht this indicator is written.
1. You haven't declared in the init section the num ber of buffers you are going to use.
2. You are using 12 buffers wheres MT4 only allows 8.
3. YOu are taking into account the time frame differences. That when displaying on a 5 minute chart the 15 minute TF is made up of three bars. So these 3 bars must be the same (ie stretched). At present each bar would be a value to a higher TF bar.

I will post an MTF MACD indicator that displays at the bottom of the chart, but allows correct MTF viewing of the MACD.

Cheers,
Hiachiever.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1767 (permalink)  
Old 02-17-2008, 09:08 PM
Member
 
Join Date: Jan 2006
Posts: 56
hiachiever is on a distinguished road
Quote:
Originally Posted by rolange View Post
Hi

Yeah its a hybrid of the GMACD2 and the MTF MACDX indicators

so the bars are green if the Macd Fast > Macd Slow on each TF
and red vice versa

I wanted to have the bars showing in 6 TFs

Is this do-able?
Due to buffer problems (Ie limit of 8) You can only have 6 TF's showing if you split your indicator into two seperate indicators. Also to display 6 TF's all as bars on the chart would be an absolute mess (this is why others haven't done it before). The best option and the one most widely used is the 3MTFMACDX approach of displaying a line for each Tf in one indicator.

If you want to modify 3MTFMACDX to display different TF's then you will need to modify so that you can have the user enter the desired TF's and then display twice. One for Higher TF's and one for Lower TF's.

Cheers,
Hiachiever
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1768 (permalink)  
Old 02-17-2008, 10:23 PM
Junior Member
 
Join Date: Oct 2006
Posts: 15
rolange is on a distinguished road
Thanks for your two posts above
I have even less of a clue than I did before
I have too little programming ability to do something as advanced as this I see
didn't know there was a buffer limit
not that it would have made any difference as I was barking up the wrong tree from the off it seems like

so the way to proceed is with the same indicator twice in two sep windows?

I presume 1 window D1, H4, H1
and the other window M5,M15,M30,

is it still possible to make a bar indicator using the conditions of GMACD (the fast EMA above slow EMA < or > 0)?

thank you for your help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1769 (permalink)  
Old 02-17-2008, 10:40 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,000
fxbs is on a distinguished road
right, plane and simple - just use two indis (4+4 = 8timeframes)
(you can find planty MTF MACD Bars in this thread - choose any you like)

f-la for Macd in g-macd:

double macd_M1=iMACD(NULL,PERIOD_M1,FastEMA,SlowEMA,Signa lSMA,PRICE_CLOSE,MODE_MAIN,0);
double macd_MM1=iMACD(NULL,PERIOD_M1,FastEMA,SlowEMA,Sign alSMA,PRICE_CLOSE,MODE_SIGNAL,0);


trend criteria:

if ((macd_M5 > macd_MM5) && (macd_M1 > macd_MM1)) { trend_signal = "TREND/UP"; color_signal = Lime;}
//Down Data
if ((macd_M5 < macd_MM5) && (macd_M1 < macd_MM1)) { trend_signal = "TREND/DN"; color_signal = Red; }

//Consolidation Data
if ((macd_M5 < macd_MM5) && (macd_M1 > macd_MM1)) { trend_signal = "SIDEWAY"; color_signal = Orange; }
if ((macd_M5 > macd_MM5) && (macd_M1 < macd_MM1)) { trend_signal = "SIDEWAY"; color_signal = Orange; }

_______________

plain in English -
macd line >signal line = up or (osma>0)
macd < sig =down

if M1tf up and M5tf up - Trend Up
if all down - trend down
everything else - sideways


So - rules (algorithm) classical - same to all macds
if you use mtf Bar indi: colors much - go; doesn't - NOGO

Last edited by fxbs; 02-17-2008 at 11:07 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1770 (permalink)  
Old 02-17-2008, 11:15 PM
Member
 
Join Date: Jan 2006
Posts: 56
hiachiever is on a distinguished road
Mtf Macd

Quote:
Originally Posted by rolange View Post
Thanks for your two posts above
I have even less of a clue than I did before
I have too little programming ability to do something as advanced as this I see
didn't know there was a buffer limit
not that it would have made any difference as I was barking up the wrong tree from the off it seems like

so the way to proceed is with the same indicator twice in two sep windows?

I presume 1 window D1, H4, H1
and the other window M5,M15,M30,

is it still possible to make a bar indicator using the conditions of GMACD (the fast EMA above slow EMA < or > 0)?

thank you for your help
Rolange,

The answers to your two questions, are Yes and Yes.

Yes you will need to split into 2 windows. 1 Window D1, H4, H1 other the other half.

And yes. It is possible to display bar indicator for GMACD.

If I have time I will post some more details.

Cheers,
Hiachiever
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