Is there an API for using Demo Servers outside the MT4/5 platform ? - page 2

To add comments, please log in or register
D3nn1s
38
D3nn1s  
Marco vd Heijden:

When you start it for the first time, a new demo account is automatically created.

You can set a flag specifically for that purpose:

So if you use that, then it will do exactly what you are describing.

Even if you set it to false there is the ability to open a new account manually.

Thank you for your reply.

It is a nice solution for web app. 
Do you have any idea if it can be modified to look good on a mobile device ?

Marco vd Heijden
Moderator
8850
Marco vd Heijden  

It already adjusts to mobile.


Please see: https://www.mql5.com/en/articles/3024

Embed MetaTrader 4/5 WebTerminal on your website for free and make a profit
Embed MetaTrader 4/5 WebTerminal on your website for free and make a profit
  • www.mql5.com
Traders are well familiar with the WebTerminal, which allows trading on financial markets straight from the browser. Add the WebTerminal widget to your website — you can do it absolutely free. This powerful functionality will enable your site visitors to trade using the most popular MetaTrader 5 and MetaTrader 4 platforms straight from your...
D3nn1s
38
D3nn1s  
Marco vd Heijden:

It already adjusts to mobile.


Please see: https://www.mql5.com/en/articles/3024

Hi,

i am trying to make the same mobile view which provides the mql5 site for mobile device but i haven't achieve that yet. If i use the iframe example of this article on my custom app and view my app from a mobile device it doesn't look responsive.
Even if i set some meta in the html head like <meta name="viewport" content="width=device-width, initial-scale=1.0">.

Do you have any idea how can i accomplish that responsive look?(if it is achievable ) 

Thank you very much!!


Regards 

Marco vd Heijden
Moderator
8850
Marco vd Heijden  

Of course it is possible because it does so when you click this link: https://www.mql5.com/en/trading on a mobile device.

What does your CSS look like ?

MetaTrader 5 Web Platform
MetaTrader 5 Web Platform
  • www.mql5.com
Connect to your account and trade in financial markets directly from your browser
D3nn1s
38
D3nn1s  
Marco vd Heijden:

Of course it is possible because it does so when you click this link: https://www.mql5.com/en/trading on a mobile device.

What does your CSS look like ?

Hi,

It has different look when you open the link : https://www.mql5.com/en/trading

and the link https://trade.mql5.com/trade?demo_all_servers=1&amp;startup_mode=open_demo&amp;lang=en&amp;save_password=on

(just click the links from a mobile device)

For a custom app, according to the article use the second link inside into iFrame html tag. 

However it doesn't look responsive like the first one. Do you have any idea how to make it looks like the first one. 


Thanks for the reply 

Regards. 

12
To add comments, please log in or register