Data 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

Data Overlay

Postby Apprentice » Tue Oct 11, 2011 8:39 am

Overlay.png


This simple indicator displays the following information.
"Close/Low", "Close/Low(-1)", "High/Close(-1), "High/Close(-1)" and "MVA( PERIOD")/Close
For this Periods 5,10, 20, 30, 60, 120, 250

The data can be displayed in Pips.

Overlay.lua
(4.22 KiB) Downloaded 784 times


The indicator was revised and updated

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

Re: Data Overlay

Postby kingsee » Tue Oct 11, 2011 12:30 pm

Thank you very much!!!

but how can i display the information on the top/left of screen?so ,i can study the chart clearly.
kingsee
 
Posts: 7
Joined: Mon Oct 10, 2011 12:55 am

Re: Data Overlay

Postby Apprentice » Tue Oct 11, 2011 4:28 pm

This is the version that presents data in two lines at the top of the chart.
Overlay.lua
(3.82 KiB) Downloaded 704 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Data Overlay

Postby kingsee » Wed Oct 12, 2011 1:02 am

Thank you very much.The data at the top of the chart is great!!!
But i think presenting data in one lines at the top of the chart is a better way.we can using vlaues with different colors insteading different indicators' name. for example ,from left to right,the first red value means mva(250)/close; the second blue value means mva(120)/close.....according to the color,i can find out what i want quickly.
I like the following setting :

colors of values means indicator
red mva(250)/close
blue mva(120)/close
aqua mva(60)/close
silver mva(30)/close
magenta mva(20)/close
green mva(10)/close
yellow mva(5)/close
green h(-1)/c
(The h(-1)/c posted may be wrong .it ought to be:yesterday's high-todays's close)
green h/c
red c/l(-1)
red c/l

do me a favor ,please .thanks a lot!
kingsee
 
Posts: 7
Joined: Mon Oct 10, 2011 12:55 am

Re: Data Overlay

Postby jsi@jp » Wed Oct 12, 2011 6:18 am

Thank you very much for this indicator.
This indicator seems to be useful for risk management.
Can you add Amount.

-------------------------------------------------------------------------------------------------------------------
<>Example<>
-------------------------------------------------------------------------------------------------------------------
Amount = The usable margin * 0.02 / ((source.close[period] - source.high[period-1]) + Spread) * (1 / Pip Cost)

Amount = The usable margin * 0.02 / ((source.close[period] - source.low[period-1]) + Spread) * (1 / Pip Cost)

0.02 = Risk management % (It can input arbitrarily.)
-------------------------------------------------------------------------------------------------------------------

Thank you for your time and consideration.

jsi@jp
jsi@jp
 
Posts: 26
Joined: Mon May 31, 2010 11:39 pm

Re: Data Overlay

Postby Apprentice » Wed Oct 12, 2011 5:08 pm

Your request is added to the developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Data Overlay

Postby kingsee » Wed Oct 12, 2011 8:25 pm

thank you
kingsee
 
Posts: 7
Joined: Mon Oct 10, 2011 12:55 am

Re: Data Overlay

Postby Apprentice » Fri Mar 17, 2017 6:53 am

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 6 guests