Average rates

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

Re: Average rates

Postby Apprentice » Mon May 14, 2018 6:21 am

Try it now.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19198
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Average rates

Postby speakinmymind » Mon May 14, 2018 8:40 pm

Could you automate this process for me?

The Simple Arithmetic Mean is used four times:

1. Selected Pair (EUR/USD in this example)

2. (GBP is base in this example) Put GBP on left of quote and use both currencies in the selected pair. (Here it would be GBP/USD and GBP/EUR).

3. Recipricol of step 2. (Here it would be USD/GBP and EUR/GBP.

4. Add step 2 and 3 to create a midpoint. (Here it would be GBP/USD, GBP/EUR, USD/GBP, and EUR/GBP

The only thing the user should be able to change is the base currency. All JPY related quotes should have a 0.01 weight.

Thanks!
Attachments
Rated.png
speakinmymind
FXCodeBase: Graduate
 
Posts: 307
Joined: Thu Feb 28, 2013 8:18 am

Re: Average rates

Postby Apprentice » Tue May 15, 2018 8:14 am

User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19198
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 22 guests