Web-like UI inside of MT5. Is it possible? - page 2

 
Thomas Eduard Van Der Jagt #:
I am interested to hear your reasoning to move to futures. Futures is for me a world far away :)

Real futures contracts are listed in a centralized exchange such as the CME. Liquidity therein is generally much higher than that of OTC CFD products named after real futures. Although the CME is located in the U.S., it serves global traders. a CFD on the other hand, only serves the broker-dealer(s), liquidity providers, and retail traders that are partnered up. Real futures spreads are lower (often 1 or 2 ticks) with an exchange commission and a smaller broker-dealer add-on commission. Tick sizes are fixed, and each instrument has its own tick size and price increments. There are no swap fees. I can tell you from my own experience that net costs are lower in the real futures market.

As potential caveats, real futures contracts expire every 2 months or so (depending on the specific contract), each contract's month and year codes within its symbol change accordingly, and physical delivery of the contract's underlying asset may be required following that contract's LTD (last trading day) when held through expiration ("expiry" is technically a separate options contract term). Basically, no one in their right mind holds real futures contracts through expiration.

For MFT and LFT strategies, automatic rollover between contracts (different symbols) initially presents a problem, but it can be done using the ANSI codes of string variables. There are also specific codes for defining the rollover trigger criteria, e.g., timing, volume level, etc.─to avoid blindly rolling over.

 
Thomas Eduard Van Der Jagt #:
I kind of like how meta trader 5 looks like tho, but i get your point also I am interested to hear your reasoning to move to futures. Futures is for me a world far away :)
CFD is really not true trading. You don't get any orderflow, which is a big part of trading. Brokers can set their own prices. It's a mess. Whereas futures, everything is centralized, everything si transparent. Your orders get matched with real other traders. No proxy in between. That's why I wanted to shift towards futures. As a plus, the costs are extremely low. Futures awards edge, scalping genuinely pays off (even though I don't do that) whereas CFD is extremely costly.
 
Ryan L Johnson #:

That chart image looks nothing like MT5 so yeah, I see what you mean.

Most futures broker-dealers offer API access. MQL5 is a lot like C++. Some futures broker-dealers support C++ and Python API's. Many professional futures traders build their own trading platforms and code in those languages. Given the high level of customization that you want, that could be an alternative solution─although it's a monumental task and not really what you want. (I'm talking about futures contracts listed on a centralized exchange here).

As you've found that a Canvas is insufficient, and a Service has prohibitive restrictions for your purposes, this is unfortunately another... Dead End.

That's true. If I wanted to do it for myself, I would've simply gone through the DLL process, but you can't really distribute that. I'm more of a quantitative trader, so most of my time isn't spent on charts anyway. This was something I got interested in as a challenge to see if I can even do it. I could, but not in the way I initially wanted to. 
 
Muhammad Minhas Qamar #:
CFD is really not true trading. You don't get any orderflow, which is a big part of trading. Brokers can set their own prices. It's a mess. Whereas futures, everything is centralized, everything si transparent. Your orders get matched with real other traders. No proxy in between. That's why I wanted to shift towards futures. 

Even worse, all OTC broker-dealers can and do set their own execution policies. This generally means that your orders are subject to aggregation with other traders' orders, prioritized by order size, in-house offset, and/or liquidity provider offset.

I'm aware of only one OTC FX broker-dealer that sets transparency as its top priority. Still, the OTC market structure remains the same─even though that one FX broker-dealer is not a CFD dealer.

In contrast, real futures must obey the exchange regulations including first-come first-serve order processing─regardless of order size, etc.

Truth be told, I've done fine without referencing order flow for several decades. Anyway, I like to see it just for transparency purposes.

 
Ryan L Johnson #:

Even worse, all OTC broker-dealers can and do set their own execution policies. This generally means that your orders are subject to aggregation with other traders' orders, prioritized by order size, in-house offset, and/or liquidity provider offset.

I'm aware of only one OTC FX broker-dealer that sets transparency as its top priority. Still, the OTC market structure remains the same─even though that one FX broker-dealer is not a CFD dealer.

In contrast, real futures must obey the exchange regulations including first-come first-serve order processing─regardless of order size, etc.

Yeah there are so many things working against a retail trader in OTC/CFD markets that it doesn't make sense to me to continue in this world of injustice lol  
 
Muhammad Minhas Qamar #:
[I]t doesn't make sense to me to continue in this world of injustice lol 

😅😂🤣

More like... Good-bye, contract-for-despair.

 
Ryan L Johnson #:

😅😂🤣

More like... Good-bye, contract-for-despair.

HAHAHA trueeee
 
Ryan L Johnson #:

Real futures contracts are listed in a centralized exchange such as the CME. Liquidity therein is generally much higher than that of OTC CFD products named after real futures. Although the CME is located in the U.S., it serves global traders. a CFD on the other hand, only serves the broker-dealer(s), liquidity providers, and retail traders that are partnered up. Real futures spreads are lower (often 1 or 2 ticks) with an exchange commission and a smaller broker-dealer add-on commission. Tick sizes are fixed, and each instrument has its own tick size and price increments. There are no swap fees. I can tell you from my own experience that net costs are lower in the real futures market.

As potential caveats, real futures contracts expire every 2 months or so (depending on the specific contract), each contract's month and year codes within its symbol change accordingly, and physical delivery of the contract's underlying asset may be required following that contract's LTD (last trading day) when held through expiration ("expiry" is technically a separate options contract term). Basically, no one in their right mind holds real futures contracts through expiration.

For MFT and LFT strategies, automatic rollover between contracts (different symbols) initially presents a problem, but it can be done using the ANSI codes of string variables. There are also specific codes for defining the rollover trigger criteria, e.g., timing, volume level, etc.─to avoid blindly rolling over.

alright thankyou for the information Ryan :)
 
Muhammad Minhas Qamar #:
CFD is really not true trading. You don't get any orderflow, which is a big part of trading. Brokers can set their own prices. It's a mess. Whereas futures, everything is centralized, everything si transparent. Your orders get matched with real other traders. No proxy in between. That's why I wanted to shift towards futures. As a plus, the costs are extremely low. Futures awards edge, scalping genuinely pays off (even though I don't do that) whereas CFD is extremely costly.
well how you describe it is interesting to me, thankyou i will dive in the world from futures if my mood is there :) (but really thankyou)
 
Muhammad Minhas Qamar #:

Let me give you an example so it's crystal clear on my intentions. 

Imagine the following chart being displayed INSIDE of mt5:


The idea being, to replace the look of old MT5 charts, with the above image. INSIDE MetaTrader5. 

Was trading forex, but transitioning towards futures now

This is not hard to do. MQL5 is a powerful language. If you have the knowledge you can build any type of GUI with standard objects and bitmaps. In addition you have CCanvas where you can control each individual pixel. So you can make some cool animations and effects.  It's even possible to play short video inside the chart.  The only real limit is the resources inside EX5 cannot exceed 128 MB.