• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 8:17pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 8:17pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

MT4 RTD API 0 replies

MT4 export to Excel? 8 replies

How to copy profiles in MT4? How to use Excel with MT4? 7 replies

Has anyone made an Excel spreadsheet to analyze your MT4 trades? 0 replies

Integration between excel and MT4 prices 3 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 233
Attachments: MT4 to Excel through Excel RTD (Finally!)
Exit Attachments
Tags: MT4 to Excel through Excel RTD (Finally!)
Cancel

MT4 to Excel through Excel RTD (Finally!)

  • Last Post
  •  
  • 1 34Page 567 30
  • 1 4Page 56 30
  •  
  • Post #81
  • Quote
  • Oct 25, 2020 5:55pm Oct 25, 2020 5:55pm
  •  antariks
  • | Joined Mar 2007 | Status: Member | 80 Posts
Quoting JibalaPasan
Disliked
{quote} That implicates that the cell "C2" is changed manually but that never happens since you calculate the cell by reference to another cell. Therefore, you must adjust that piece of code and you have to work with "Private Sub Worksheet_Calculate()" instead. Best of luck and stay green always! Jibala
Ignored
You are right and brilliant. It is working only when the value is changed manually but not when the cell is auto refreshed.
 
 
  • Post #82
  • Quote
  • Edited 1:37am Oct 26, 2020 12:37am | Edited 1:37am
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
Quoting JibalaPasan
Disliked
{quote} That implicates that the cell "C2" is changed manually but that never happens since you calculate the cell by reference to another cell. Therefore, you must adjust that piece of code and you have to work with "Private Sub Worksheet_Calculate()" instead. Best of luck and stay green always! Jibala
Ignored
Thanks,
I will adjust the code and upload a new sheet.
 
 
  • Post #83
  • Quote
  • Oct 26, 2020 4:57am Oct 26, 2020 4:57am
  •  goodways100
  • Joined Dec 2013 | Status: Member | 615 Posts
Quoting mtharwat
Disliked
{quote} Hi goodways100, Can you please share the spreadsheet you have? I am not sure which one are you referring to. The one I posted here or the sample one from FXBlue Labs? Normally, you would look at a currency pair that has the syntax. You will find the referencing to this pair in text or by cell referencing. If you change this "Text"or cell referencing to GER 30 or Gold , you should get the values you need. Attach the sheet and I will help you more.
Ignored

It is Excell spread sheet syncd with mt4
MT4 Trading the GAP With Excel | Page 10 | Forex Factory
https://www.forexfactory.com/thread/...-excel?page=10

Curr Speedometer_v4
Thanks and Regards
 
 
  • Post #84
  • Quote
  • Edited 8:33am Oct 26, 2020 8:16am | Edited 8:33am
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
Quoting goodways100
Disliked
{quote} It is Excell spread sheet syncd with mt4 MT4 Trading the GAP With Excel | Page 10 | Forex Factory https://www.forexfactory.com/thread/...-excel?page=10 Curr Speedometer_v4 Thanks and Regards
Ignored

Hello goodways100,

Allow me to explain and go into a bit of details,

In order to include Ger30 and Gold in this sheet you pointed at, we need first to understand the "logic", if you will, in the sheet.
This sheet, same as, the percentage change/currency strength sheets I have posted here is based on "Relationship" or "Ratios" of certain instruments against each other.

For example, we have USD against the other 7 currencies. If we want to include an Exotic pair like MXN, we need to find how much MXN is worth in terms of all other 8 currencies. So we need for example MXNUSD, MXNGBP, MXNEUR, MXNCHF, MXNAUD etc.... Since we are limited by the instruments our broker is offering we cannot measure the real strength of MXN except for the MXN pairs our broker has allowed.

Another example. One of my brokers enables trading Gold against other currencies including Gold/USD, Gold/AUD, Gold/GBP, Gold/EUR, GoldJPY. So I am missing CHF and NZD and CAD
If I want to create a spreadsheet to find Gold strength, then I can create a spreadsheet that measures Gold, USD, AUD, GBP, EUR, JPY but not CHF or CAD or NZD. Otherwise, the whole strength concept I am building based on ratios between different instruments will be incomplete and wrong.

--------------------------------

Two ways to get around this:

1- Find a broker who can offer the particular instruments of your interest and has an API or DDE to feed your Excel sheet not necessarily an MT4 broker. But this will not be applicable for Indices as I have not found a broker offering indices vs currencies like GER30/USD or such. Or maybe, there is. It is a big world of CFDs nowadays. Anything is tradable D:

2- Compare the instruments you need against an external instrument that is only used as a base for comparison.

For example, Let's say your broker offers Oil or it offers an Index that your not interested in or a Bitcoin currency or a stock, etc...

For simplicity, I will assume you have "Apple" stock offered by your broker. Then you will divide each currency pair and each instrument you want (Ger 30 and Gold) by apple.
So you will divide EURUSD by Apple and NZDCHF by Apple and Gold/Apple and GEER30/Apple and so on. Apple could be any other instrument that is not of your interest.
And you better find an instrument that is mostly stable and does not move or fluctuate much.

Then we can re-construct the whole sheet based on this concept.
 
 
  • Post #85
  • Quote
  • Edited 9:08am Oct 27, 2020 8:13am | Edited 9:08am
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
Quoting JibalaPasan
Disliked
{quote} That implicates that the cell "C2" is changed manually but that never happens since you calculate the cell by reference to another cell. Therefore, you must adjust that piece of code and you have to work with "Private Sub Worksheet_Calculate()" instead. Best of luck and stay green always! Jibala
Ignored

I got an error when I made the one change you mentioned (Calculate) instead of (Change)

Attached Image (click to enlarge)
Click to Enlarge

Name: 2020-10-27 (2).png
Size: 84 KB
 
 
  • Post #86
  • Quote
  • Oct 27, 2020 9:24am Oct 27, 2020 9:24am
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
Quoting JibalaPasan
Disliked
{quote} Ok, sorry it was my mistake. VBA cannot interpret the pointer "RTD!A1", where RTD! is referring to the table and "A1" the cell with the account number. You have to hard code it with the account number instead! Accordingly to the manual: Private Sub CommandButton1_Click() Set cmd = CreateObject("FXBlueLabs.ExcelCommand") strResult = cmd.SendCommand(12345678, "BUY", "s=EURUSD|v=1500", 5) End Sub Private Sub CommandButton2_Click() Set cmd = CreateObject("FXBlueLabs.ExcelCommand") strResult = cmd.SendCommand(12345678, "SELL", "s=EURUSD|v=1500",...
Ignored

I tried with my account number instead of referencing a cell. There is no error but there is no action either. When I click on the button nothing is bought or sold.
I am trying to find out in the documentation what is missing.
Attached Image (click to enlarge)
Click to Enlarge

Name: dd.jpg
Size: 201 KB
 
 
  • Post #87
  • Quote
  • Oct 27, 2020 2:49pm Oct 27, 2020 2:49pm
  •  JibalaPasan
  • Joined Jun 2014 | Status: Member | 2,498 Posts
Quoting mtharwat
Disliked
{quote} I tried with my account number instead of referencing a cell. There is no error but there is no action either. When I click on the button nothing is bought or sold. I am trying to find out in the documentation what is missing. {image}
Ignored
Kindly check the MT4 logfiles. Maybe you'll find an entry there.

Inserted Code
0 11:28:58.936 '1234567': order sell market 0.02 EURUSD sl: 0.00000 tp: 0.00000
1 11:28:59.106 '1234567': order sell 0.02 EURUSD opening at market sl: 0.00000 tp: 0.00000 failed [Market is closed]
0 11:29:22.278 '1234567': order sell market 0.02 EURUSD sl: 0.00000 tp: 0.00000
1 11:29:22.434 '1234567': order sell 0.02 EURUSD opening at market sl: 0.00000 tp: 0.00000 failed [Market is closed]

Best of luck and stay green always!

Jibala
PDF & BCC (Patience Discipline Focus & Belief Confidence Consistency)
 
 
  • Post #88
  • Quote
  • Oct 27, 2020 8:46pm Oct 27, 2020 8:46pm
  •  antariks
  • | Joined Mar 2007 | Status: Member | 80 Posts
Quoting mtharwat
Disliked
{quote} I got an error when I made the one change you mentioned (Calculate) instead of (Change) {image}
Ignored
I tried this and got a similar error message
 
 
  • Post #89
  • Quote
  • Edited 12:52pm Oct 28, 2020 12:35pm | Edited 12:52pm
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
One more formula for calculating Currency strength.

This is something I created and I want to share it with you.

I am calculating strength in three time frames.
In each time frame, the formula is as follows
(Current Price - Low)/Low * 100 The result will always be positive
(Current Price - High)/High * 100 The result will always negative

Add the two results and if the net one is positive, it implies (potential) bullishness, and the opposite is true.

-----------------

I am attaching two workbooks: (One for Excel RTD) and another for (DDE MT4). The latter will obviously be for a one-time frame due to its limitations.

--------------

Excel RTD Workbook:

All you need to do is to type the time frames on the top right corner in the second sheet. All headers and charts will be adjusted accordingly.
Attached Image (click to enlarge)
Click to Enlarge

Name: 2020-10-29.png
Size: 103 KB

And in the first one, you just type your account number in the top left corner.

Attached File(s)
File Type: xlsx NEW CSM formula (Close relative to High and Low) Excel RTD.xlsx   32 KB | 446 downloads





---------------------------------------

DDE Workbook if you do not have Excel RTD
Attached File(s)
File Type: xlsx New CS Formula (Close relative to High and Low) DDE.xlsx   37 KB | 365 downloads
 
 
  • Post #90
  • Quote
  • Oct 29, 2020 6:04pm Oct 29, 2020 6:04pm
  •  antariks
  • | Joined Mar 2007 | Status: Member | 80 Posts
Quoting JibalaPasan
Disliked
{quote} Kindly check the MT4 logfiles. Maybe you'll find an entry there. 0 11:28:58.936 '1234567': order sell market 0.02 EURUSD sl: 0.00000 tp: 0.00000 1 11:28:59.106 '1234567': order sell 0.02 EURUSD opening at market sl: 0.00000 tp: 0.00000 failed [Market is closed] 0 11:29:22.278 '1234567': order sell market 0.02 EURUSD sl: 0.00000 tp: 0.00000 1 11:29:22.434 '1234567': order sell 0.02 EURUSD opening at market sl: 0.00000 tp: 0.00000 failed [Market is closed] Best of luck and stay green always! Jibala
Ignored
Did you send those orders by clicking the "place trade" object yourself or done automatically when some conditions were met?
 
 
  • Post #91
  • Quote
  • Edited 2:36am Oct 30, 2020 12:43am | Edited 2:36am
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
Quoting mtharwat
Disliked
One more formula for calculating Currency strength. This is something I created and I want to share it with you. I am calculating strength in three time frames. In each time frame, the formula is as follows (Current Price - Low)/Low * 100 The result will always be positive (Current Price - High)/High * 100 The result will always negative Add the two results and if the net one is positive, it implies (potential) bullishness, and the opposite is true. ----------------- I am attaching two workbooks: (One for Excel RTD) and another for (DDE MT4). The...
Ignored

Updating the Currency strength workbook for EXCEL RTD
Reattached the sheet to fix small error
Attached Image (click to enlarge)
Click to Enlarge

Name: 2020-10-30 (2).png
Size: 68 KB
Attached File(s)
File Type: xlsx CSM (Close to High and Low) Excel RTD Ver1.xlsx   66 KB | 414 downloads
 
 
  • Post #92
  • Quote
  • Oct 30, 2020 7:04am Oct 30, 2020 7:04am
  •  JibalaPasan
  • Joined Jun 2014 | Status: Member | 2,498 Posts
Quoting antariks
Disliked
{quote} Did you send those orders by clicking the "place trade" object yourself or done automatically when some conditions were met?
Ignored
It was just a quick test just to see if the formula is correct and the buttons are sending an order to the terminal. There's no automatism behind the buttons! Just manual execution.

Best of luck and stay green always!

Jibala
PDF & BCC (Patience Discipline Focus & Belief Confidence Consistency)
 
 
  • Post #93
  • Quote
  • Oct 30, 2020 8:06am Oct 30, 2020 8:06am
  •  martijn25
  • | Joined Dec 2017 | Status: Member | 7 Posts
Hello,

I try to get the ADR with excel RTD but I get the value not valid...

=RTD("fxbluelabs.excelrtd"; ; "6147013"; "@atr;GBPUSD;D1;20;0").

My other formulas are working
 
 
  • Post #94
  • Quote
  • Oct 30, 2020 12:33pm Oct 30, 2020 12:33pm
  •  JibalaPasan
  • Joined Jun 2014 | Status: Member | 2,498 Posts
Quoting martijn25
Disliked
Hello, I try to get the ADR with excel RTD but I get the value not valid... =RTD("fxbluelabs.excelrtd"; ; "6147013"; "@atr;GBPUSD;D1;20;0"). My other formulas are working
Ignored
It works perfectly for me. Check formula again, maybe you see what's wrong.

Attached Image (click to enlarge)
Click to Enlarge

Name: Ashampoo_Snap_2020.10.30_17h30m06s_002_.png
Size: 8 KB

Best of luck and stay green always!

Jibala
PDF & BCC (Patience Discipline Focus & Belief Confidence Consistency)
 
 
  • Post #95
  • Quote
  • Edited 9:21pm Oct 30, 2020 9:05pm | Edited 9:21pm
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
Quoting martijn25
Disliked
Hello, I try to get the ADR with excel RTD but I get the value not valid... =RTD("fxbluelabs.excelrtd"; ; "6147013"; "@atr;GBPUSD;D1;20;0"). My other formulas are working
Ignored
Hello,

I copy-pasted your formula exactly as you have typed it. It works fine but I changed the (Comma ) to ( Semicolon) because of my PC/Excel regional settings.

Maybe, double-check the (Semicolon) or (Comma) from other formulas that are already working in your sheet.
 
 
  • Post #96
  • Quote
  • Oct 31, 2020 10:54pm Oct 31, 2020 10:54pm
  •  fiel
  • | Joined Jul 2019 | Status: Junior Member | 1 Post
Quoting mtharwat
Disliked
One more formula for calculating Currency strength. This is something I created and I want to share it with you. I am calculating strength in three time frames. In each time frame, the formula is as follows (Current Price - Low)/Low * 100 The result will always be positive (Current Price - High)/High * 100 The result will always negative Add the two results and if the net one is positive, it implies (potential) bullishness, and the opposite is true. ----------------- I am attaching two workbooks: (One for Excel RTD) and another for (DDE MT4). The...
Ignored


Hello, does this work if you have an FX Blue Labs account?
 
 
  • Post #97
  • Quote
  • Edited 8:46am Nov 2, 2020 2:58am | Edited 8:46am
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
Quoting fiel
Disliked
{quote} Hello, does this work if you have an FX Blue Labs account?
Ignored

Hello file,

FX Blue Labs is not a broker but a third-party provider of some tools for MT4. EXCEL RTD is one of these tools. Some brokers call them smart tools or some other name.

What you need is a broker that provides such tools (from FX Blue Labs) in its MT4 platform.

You may google MT4 + Excel RTD to get a list of all possible brokers.
 
 
  • Post #98
  • Quote
  • Nov 3, 2020 2:22am Nov 3, 2020 2:22am
  •  T4Trade
  • Joined Sep 2017 | Status: Trend Following,Price Action,Grid | 2,124 Posts
wow guys,now i understodd making of dashboard is not easy,good luck!
 
 
  • Post #99
  • Quote
  • Nov 9, 2020 9:36pm Nov 9, 2020 9:36pm
  •  mtharwat
  • Joined Aug 2015 | Status: Member | 978 Posts
Hello everyone,

I am still looking for a solution for initiating an order (Buy/Sell, close, etc..) based on referencing another cell. For example, if Cell (B10) equals a value, then Buy or sell or close.

If anyone has done it, then post your sheet with the embedded VBA/Formula.

And I am not referring to Blue Labs sample sheet with clickable buttons. The problem is in referencing another cell.

Ultimately, I am looking for a sample sheet that contains different buy/sell/close orders including partial closes so it is a full rounded sheet with all the market orders.

NB: take out your account number.
 
 
  • Post #100
  • Quote
  • Nov 12, 2020 3:50am Nov 12, 2020 3:50am
  •  martijn25
  • | Joined Dec 2017 | Status: Member | 7 Posts
I am wondering why I see differences on the charts open on mt4 and the open I get in excel RTD anyone familiar with this problem?

for example for audjpy I see an open of 76.507 in rtd and a open of of 76.371 on the chart. A difference of 13 pips...


Formula I use for open =RTD("fxbluelabs.excelrtd"; ;$B$1;"@bh,AUDJPY,60,open,"&0)
 
 
  • Platform Tech
  • /
  • MT4 to Excel through Excel RTD (Finally!)
  • Reply to Thread
    • 1 34Page 567 30
    • 1 4Page 56 30
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023