Price Overlay

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

Price Overlay

Postby Apprentice » Sat Oct 02, 2010 3:39 pm

Price Overlay.png


Allows you to pick One overlaying currency pair.
Supports, Price Scaling, Japanese Candlesticks, Inverse currency pairs.

I wrote it during the weekend, so It is not tested on Live Market

Price Overlay.lua
(10.33 KiB) Downloaded 1883 times


MT4/MQ4 version
viewtopic.php?f=38&t=68378
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Price Overlay

Postby webcom » Sun Oct 03, 2010 12:07 pm

Thank you very much!I`ll test it on live market tomorrow!

Webcom
webcom
 
Posts: 7
Joined: Sat May 22, 2010 5:39 am

Re: Price Overlay

Postby webcom » Thu Oct 07, 2010 3:27 am

Hi Apprentice,

I tested the Indicator and it works well,the mirror function is there and it makes a difference...
What I think that can be inproved, to fully play its role is to have the same scale on the indicator as on the chart.Only in this way one can compare and confidently visualise Price Action in the two graphs.Otherwise we can make a" pretty good idea" of the PA but not sufficient.In the attached charts 12 "cm" on the initial chart are 1500 pips while on indicator 1100 pips.

Is it possible to modify the indicator so : 1"cm"[Indicator-scale]=1"cm"[Marketscope-scale]=X[Pips]?
Thank you for your understanding!
Attachments
price overlay_indicator mirror yes.png
price overlay_indicator mirror yes 1.png
webcom
 
Posts: 7
Joined: Sat May 22, 2010 5:39 am

Re: Price Overlay

Postby Apprentice » Thu Oct 07, 2010 4:21 am

This is intentional.
Axes are the same, for same not inverse currency pairs.

I can add an option to turn off this feature.

The problem occurs if on the chart you added, two currency pairs that are significantly different,
EUR / USD and 1.396 for example USD / JPY 82.52

For this reason, I normalized charts, relatively.
But if i think I will surely find a way of absolute normalization.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Price Overlay

Postby webcom » Thu Oct 07, 2010 12:04 pm

Thank you for your prompt answer!
Unfortunatelly the indicator`s scale is different from the chart`s scale even when the graph is not inversed....(see attachment chart).I must agree that eyeballing the chart,it seems to be a credible and very Ok representation of the negative correlation between EURUSD and USDCHF.But this is not our purpose.What the chart is showing is that both pairs have the same quantity of Price Action/virtual "cm" (see the two equal segments that we suppose for simplicity to be parts of the two graphs).In reality the 2 PA are 100 respectivelly 140 pips.Thus the two graphs cannot be compared properly.Sure, one can do the math and find out the ratio but the point is to have an accurate visual representation of the correlation be it positive or negative.Our purpose simply put is:

1)chart A overlayied on chart B.
2)Same amount of pips per virtual "cm" on both charts.

Sorry for my conference- like replay but if we(you:))manage to create such an indicator och in perspective to have it in the "Overlay chart..." option of Marketscope it would be of great importance for all traders that use PA combined with Correlation trading.Think that with an accurate mirror function there would not be such a thing as "negative correlation" on the charts!
It`s not an easy task to create an indicator to fullfil the grade of accuracy and perfect match with the chart, but I think that its worth the effort and the reward in well monitored pips!And it`s no hurry for such a mission, only if you can put a time perspective it would be great!

Last but not least I want to congratulate you and your colleagues for your efforts and the understanding of traders needs!

Friendly
Webcom
Attachments
price overlay_indicator  NO mirror.png
webcom
 
Posts: 7
Joined: Sat May 22, 2010 5:39 am

Re: Price Overlay

Postby webcom » Tue Oct 12, 2010 7:47 am

Hi

Is this indicator, with the improvements described above, possible to develope? If so, can anyone develope it in the near future?

Thank you!
webcom
webcom
 
Posts: 7
Joined: Sat May 22, 2010 5:39 am

Re: Price Overlay

Postby lisa_baby_xx » Sat Jul 16, 2011 9:41 am

Hi Apprentice,

This is an excellent indicator.

:?: Can I request Multiple Currency/Commodity parameters, so that if I wanted to monitor the following: GBP/USD, EUR/USD, EUR/GBP etc.. than I can do from the main chart.
Line type/style/colour would also be nice.

Many thanks and much love. XX.
lisa_baby_xx
lisa_baby_xx
 
Posts: 76
Joined: Sun Apr 17, 2011 5:37 am

Re: Price Overlay

Postby Apprentice » Sun Jul 17, 2011 3:57 am

Style Option Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Price Overlay

Postby lisa_baby_xx » Sun Jul 17, 2011 4:14 am

Hi Apprentice,

Thanks sweetie! X-X

:!: I have just realised that I can use multiple instances of this indicator and select which currency I would like to overlay! I was previously using the in-built price overlay that comes with MS. :oops:

Thanks again sweetie.
lisa_baby_xx
lisa_baby_xx
 
Posts: 76
Joined: Sun Apr 17, 2011 5:37 am

Re: Price Overlay

Postby lisa_baby_xx » Wed Jul 20, 2011 11:53 am

Hello Everyone!

I think this indicator is excellent.
Can "Shift Horizontal" and "Shift Vertical" parameters be added to this indicator?
I am looking for a displacement effect.

Much love to one and all and Happy Pipping!
lisa_baby_xx
lisa_baby_xx
 
Posts: 76
Joined: Sun Apr 17, 2011 5:37 am

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider] and 59 guests