| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack (229) | Thread Tools | Display Modes |
|
|||
|
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 |
|
|||
|
"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. |
|
|||
|
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? Last edited by rolange; 02-17-2008 at 07:30 PM. |
|
|||
|
Quote:
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. |
|
|||
|
Quote:
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 |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
Mtf Macd
Quote:
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 |
![]() |
| 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 | |
|
|