Discussion of article "Embed MetaTrader 4/5 WebTerminal on your website for free and make a profit" - page 5

 
Marco vd Heijden:

You can use the same widget.

Hi Marco, it's just that when I try the widget: https://trade.mql5.com/trade?servers=SomeBroker1-Demo,SomeBroker1-Live,SomeBroker2-Demo,SomeBroker2-Live&trade_server=SomeBroker-Demo&startup_mode=open_demo&lang=ru&save_password=off"allowfullscreen="allowfullscreen" i=on a phone it's not reactive, and displays as a desktop app, whereas when i try the web terminal https://www.mql5.com/en/trading it looks fine.

So I suppose the question is, how do i get the widget to behave the same way as the web terminal? ie reactive?


thanks

 

I believe this depends on the phone settings to display the widget in desktop mode or in mobile mode.

I have used the widget in the past and i also tested it on various devices and it did switch between normal and mobile mode seamlessly depending on the device used.

But i am not aware of a parameter that forces it to display mobile mode however i can tell you it looked the same as the actual app/play store application.

 

Well i just used the widget from the example but i remember that there was a difference between using solely the widget code on a blank page and the widget code embedded in/between other html elements, like the menu and for example a chart API on the same page.

I know it's possible that the layout changes because i have seen it happen, but like i said i do not know how to cause it or the parameter to set it i think it has got to do with resolution and browser type though. 

 

Hi Marco,



thanks for the quick response.. i just deleted my last question as I have solved it.


I just needed to force MT5, like this:

https://trade.mql5.com/trade?version=5

I think the document may have a typo as it refers to 'startup_version' which didn't seem to work, whereas just 'version' does.


cheers

 

Hi guys, can i just confirm that the Mobile Web terminal and Mobile Web widget are only supported on Mt5? In other words if i want to use this affilliate feature on my mobile app, the Broker will need to have MT5 servers? There's no way of getting the MT5 web front end to communicate with an MT4 server backend? This is quite a limitation, as there don't seem to be that many Brokers using MT5 as far as I can see.


thanks

 
Triggerbuddy:

Hi guys, can i just confirm that the Mobile Web terminal and Mobile Web widget are only supported on Mt5? In other words if i want to use this affilliate feature on my mobile app, the Broker will need to have MT5 servers? There's no way of getting the MT5 web front end to communicate with an MT4 server backend? This is quite a limitation, as there don't seem to be that many Brokers using MT5 as far as I can see.


thanks


No you can just switch between MT4 and MT5 from the file menu in the webterminal but there are a lot of brokers that are running older server software and then when you try to connect the webterminal, you will see the message that your broker's server does not currently support the web trader so its a good idea to look into that before you proceed.

For the mobile app's in app/playstore those are separate apps next to each other.
 
Marco vd Heijden:


No you can just switch between MT4 and MT5 from the file menu in the webterminal but there are a lot of brokers that are running older server software and then when you try to connect the webterminal, you will see the message that your broker's server does not currently support the web trader so its a good idea to look into that before you proceed.

For the mobile app's in app/playstore those are separate apps next to each other.

Hi, I prefer to use a widget within my app, as swapping between apps isn't a great UX. Also, re the above, is it possible to have the mobile widget load as MT5 (so it works on mobile) but connected to an MT4 server? As what i'm seeing is that on mobile as soon as you select MT4 the web app/widget goes back to desktop view.


thanks

 

No a MT4 and MT5 servers are different and accounts can not be mixed.


<iframe src="https://trade.mql5.com/trade?demo_all_servers=1&amp;amp;startup_mode=open_demo&amp;lang=ru&amp;save_password=off" allowfullscreen="allowfullscreen" style="width: 100%; height: 100%; border: none;"></iframe>

The web terminal supports additional customization parameters:

  • startup_version — the default web terminal version: 4 for MetaTrader 4 or 5 for MetaTrader 5. The parameter is used for the first launch of the web terminal. Further, the platform version will be defined based on the last used account.
  • login — the trading account login. It can be used for creating personal profiles. If your website keeps information about account number, you can dynamically form a widget and add the desired account into it. It means that a user will only need to enter the password, while the account number will be inserted automatically.
  • demo_show_phone — set this parameter to 1 (demo_show_phone=1) and add it to the widget in order to display the phone field in the demo account registration form. If the parameter is not specified or it is set to a value other than 1, the phone field is not displayed. By removing the phone field from the registration form, you can increase site conversion.
 

i have a bunch of questions regarding the affilliate linking for MT4/5 native apps, mentioned at the bottom here: https://www.mql5.com/en/welcome/en-build-affiliate-program-and-attract-new-traders

is this the right thread, or is there another one?

Attract new traders through affiliate marketing with our ready-made solutions
Attract new traders through affiliate marketing with our ready-made solutions
  • www.mql5.com
Modern traders are actively using mobile applications and web versions of trading platforms. Using our mobile and web solutions for the MetaTrader 4/5 platforms, you can attract new traders on a regular basis by creating an affiliate network. Lead generation through MetaTrader Web Platforms The MetaTrader 4/5 web platforms can be easily...
 
geurillatrader:

i have a bunch of questions regarding the affilliate linking for MT4/5 native apps, mentioned at the bottom here: https://www.mql5.com/en/welcome/en-build-affiliate-program-and-attract-new-traders

is this the right thread, or is there another one?

Yep that's the article i've already read.. i have questions about it.