Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Calendar Advertising Others Help






Register
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.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-06-2008, 06:36 AM
radatats's Avatar
Senior Member
 
Join Date: Feb 2006
Location: NY
Posts: 266
radatats is on a distinguished road
How to zero sync overlaid indicators

I am hoping that some of the fantastic coders here can help me sync the zero lines of overlaid indicators. I like to use various combinations of indicators but to save space and reinforce the visual relationships I prefer to overlay them in the same window pane.

The problem occurs when the indicators resize themselves at different rates. The zero lines do not sync up and the indicators don't align very well. (pic 1)

The only solution I have found so far is to check the fixed minimum/maximum boxes on the common properties tab. This way you can center the indies in the pane vertically and make them line up. (pic 2)

However, this means that extreme levels are often outside the visible area on the chart. Not very helpful.(pic 3)

Can anyone find a way to allow these indicators to vary their size as necessary while still centering the zero line vertically in the display pane? I believe this would open up a whole new range of using indicators together.

I have attached the indies from the pics but I bet the solution once found will be applicable to all indies.

Thanks,

Steve
Attached Images
File Type: gif macd-cci.gif (51.6 KB, 716 views)
File Type: gif macd-cci-1.gif (48.5 KB, 707 views)
File Type: gif macd-cci-2.gif (61.5 KB, 701 views)
Attached Files
File Type: mq4 macd colored.mq4 (8.4 KB, 66 views)
File Type: mq4 superwoodiecci-1.mq4 (3.9 KB, 60 views)
__________________
Change everything till it works!!! Test, test, test...
Click here to see my trading...
http://letsgetreal.mt4stats.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 09-06-2008, 11:08 PM
radatats's Avatar
Senior Member
 
Join Date: Feb 2006
Location: NY
Posts: 266
radatats is on a distinguished road
Am I just whistling Dixie here? If there is NO way to do it please say so.

Steve
__________________
Change everything till it works!!! Test, test, test...
Click here to see my trading...
http://letsgetreal.mt4stats.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 09-07-2008, 01:30 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 4,412
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by radatats View Post
Am I just whistling Dixie here? If there is NO way to do it please say so.

Steve
Depends on both indicators. You could do with some, with other's you can't and maybe, by rewriting both onto one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 09-09-2008, 01:11 AM
Sadly's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 288
Sadly is on a distinguished road
Set the min and max to the indicator which reads extreme and then expand the indicator window more fully ... maybe? (I get the feeling you may already have tried this, somehow)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 09-11-2008, 01:30 AM
FX4$$$'s Avatar
Junior Member
 
Join Date: Apr 2006
Posts: 16
FX4$$$ is on a distinguished road
calling on the Master Coders

Steve,
I have been studying this as well, overlaying 2 MACDs, different settings. What's bad is due to the shifting the results seem to re-paint. Open the Data Window and take a gander at the values. Sometimes they don't even jive with reality showing a higher line with a lower value then one below it, again due to the shifting. It's maddening! I want to code a method based on what I am seeing but don't see how.

fx4$$$
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 09-11-2008, 04:53 AM
Senior Member
 
Join Date: Sep 2007
Posts: 428
jturns23 is on a distinguished road
Go to each indicator's properties. Check the Fixed Minimum and Fixed Maximum boxes. Then use the same fixed Min, and the same Fixed Max values for each indicator. It might take a little playing around with, but I did it and it does work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 09-11-2008, 02:00 PM
FX4$$$'s Avatar
Junior Member
 
Join Date: Apr 2006
Posts: 16
FX4$$$ is on a distinguished road
Quote:
Originally Posted by jturns23 View Post
Go to each indicator's properties. Check the Fixed Minimum and Fixed Maximum boxes. Then use the same fixed Min, and the same Fixed Max values for each indicator. It might take a little playing around with, but I did it and it does work.
Thanks Jturns23 that does work I am using Min -0.018 and Max 0.01 on the macd and it seems to keep all the histogram on the chart.

FX4$$$
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 09-12-2008, 02:56 PM
radatats's Avatar
Senior Member
 
Join Date: Feb 2006
Location: NY
Posts: 266
radatats is on a distinguished road
Setting the fixed min/max only works for a little while and only on that time frame. If you then jump from the 5min to the 15min for example it will be way off because the indies have different levels there.

No, there has to be a way to allow the indicators to paint without fixed min/max but to be centered vertically in the display pane.

Way beyond my capabilities and I am not getting any bites from any of my favorite coders here so it may not be doable.

Steve
__________________
Change everything till it works!!! Test, test, test...
Click here to see my trading...
http://letsgetreal.mt4stats.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 09-13-2008, 04:49 PM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 4,412
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Sometimes with a simple coding changes you could overlay different indies.

This is CCI+MACD.
First we need to normalize MACD or CCI to play on the same zero level, the add the other indicator to the code.

Of course, this is a very rude example
Attached Images
File Type: gif tow1552742.gif (16.9 KB, 449 views)
Attached Files
File Type: mq4 MACD_CCI_example.mq4 (2.8 KB, 29 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 09-13-2008, 11:30 PM
radatats's Avatar
Senior Member
 
Join Date: Feb 2006
Location: NY
Posts: 266
radatats is on a distinguished road
Thanks so much for your excellent work!

What I would really like to see is the two indies I posted above normalized to play together nicely. The MACD indie does not need all the extra bells and whistles like RSI etc which take up a lot of buffers. And the CCI does not need the trigger CCI since I set that to zero anyways.

I would like to keep the multi-color for both and the CCI in Woodies form. With the right settings they are amazing together.

Steve
__________________
Change everything till it works!!! Test, test, test...
Click here to see my trading...
http://letsgetreal.mt4stats.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indicators and EAs Collections: 350+ MT4 Indicators In One Folder balista4 Indicators - Metatrader 4 77 07-24-2009 08:35 PM
Max number of indicators in indicators folder? moneyline Metatrader 4 23 05-29-2009 12:37 PM
Custom Indicators vs. Technical Indicators shaltrade Indicators - Metatrader 4 2 06-30-2008 04:34 AM
applying indicators on indicators? tradesauce Indicators - Metatrader 4 15 12-17-2006 02:31 PM


All times are GMT. The time now is 09:21 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.