Two Instrument MACD

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Two Instrument MACD

Postby Apprentice » Thu Jun 30, 2011 2:56 am

Two Instrument MACD.png

Two Instrument MACD.lua
(11.48 KiB) Downloaded 1049 times


The indicator was revised and updated
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two Instrument MACD

Postby jackfx09 » Mon Mar 05, 2012 7:04 am

Can we please have the Two Instrument MACD indicator data window display the same as the Two Instrument Stochastic? Please see the attached illustration for a visual explanation.

Thanks!

sjc
Attachments
Two Instrument MACD vs Two Stoch.png
jackfx09
 
Posts: 53
Joined: Wed Aug 17, 2011 1:03 pm

Re: Two Instrument MACD

Postby Apprentice » Tue Mar 06, 2012 4:32 am

I'm not sure what is your request.
Something like, as Instrument Two Stochastic Difference.lua
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two Instrument MACD

Postby jackfx09 » Tue Mar 06, 2012 6:50 am

Sorry Apprentice for not being more clear.

I will explain in two parts, with one attachment per part to illustrate.

I wish for the Two Instrument MACD indicator window to have the same capability as the Two Instrument Stochastic. Meaning this: The two instrument stoch ALLOWS the user to display several instrument pairs (USD vs. USD/JPY, USD vs. Gbp/JPY, USD vs. AUD/JPY, etc) without having a chart source. This is exactly what I would like the MACD version to offer so that I may measure the pairs against other pairs in the same time frame AND within the SAME chart for comparison purposes (my idea of a correlation chart). I will include a chart to better explain. You will see that I use the different colors for the different pairs. Currently the Two Instrument MACD does not allow this type of functionality, it only lays the same data points, regardless of currency pair, in the indicator window.

Please see attached chart.
Attachments
Two Instrument Stoch chart example.png
jackfx09
 
Posts: 53
Joined: Wed Aug 17, 2011 1:03 pm

Re: Two Instrument MACD

Postby jackfx09 » Tue Mar 06, 2012 7:05 am

Part 2

This chart will illustrate that I do not have the same capability to display several currency pairs on the same chart nor the same window, unlike the Two Instrument Stochastic which does allow this functionality.

The Two Instrument MACD only allows the user to have ONE window of A SINGLE pair.

Thank you for your time and efforts!!!

sjc
Attachments
Two Instrument MACD overlay.png
jackfx09
 
Posts: 53
Joined: Wed Aug 17, 2011 1:03 pm

Re: Two Instrument MACD

Postby Apprentice » Thu Mar 08, 2012 9:25 am

Two Instrument MACD.png

As you can see from the attached.
This indicator already has this functionality.
Potential problem if you use two currency pairs with large difference in slope.
One pair is compressed near the zero line.
Relative indicators do not have this problem.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two Instrument MACD

Postby jackfx09 » Fri Mar 16, 2012 12:19 am

Yes, thank you Apprentice. I was probably trying to get too busy with the chart anyway. Simple things last, simple things work. So thank you for the friendly reminder...keep it simple.

Here is an visual example of how I like to use the Two Instrument MACD for comparing positively correlated pairs(Aud/USD vs NZD/USD) and negatively correlated pairs (EUR/USD vs USD/CHF). The MACD gives a great indication where the pairs stand and if you use them accordingly, you may actually "predict" direction for the responding currency.

Thank you Apprentice for this indicator.

sjc
Attachments
Multicurrency pair MACD.png
jackfx09
 
Posts: 53
Joined: Wed Aug 17, 2011 1:03 pm

Re: Two Instrument MACD

Postby jackfx09 » Tue Mar 20, 2012 5:43 am

Can we please request the following signal and strategy for the Two Instrument MACD

Open Long position when "first line instrument" crosses the signal line of the "second line instrument" and vice versa. Same operation as a standard MACD signal line cross strategy but using the two instruments for the data.

Please allow user choice of parameters as available in two instrument macd indicator, especially choice of choosing trading parameters. The concept offers good ENTRY points for opening a position but I would highly suggest users to implement limit orders to maximize effectiveness of profits.
Attachments
Two MACD signalsstrategy.png
jackfx09
 
Posts: 53
Joined: Wed Aug 17, 2011 1:03 pm


Re: Two Instrument MACD

Postby Apprentice » Mon Jun 26, 2017 4:26 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 51 guests