NexusFi: Find Your Edge


Home Menu

 





MetaTrader 5 now available for trading futures


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one Kiks with 16 posts (7 thanks)
    2. looks_two rosasurfer with 8 posts (3 thanks)
    3. looks_3 mattz with 5 posts (6 thanks)
    4. looks_4 Tommip with 3 posts (2 thanks)
      Best Posters
    1. looks_one mattz with 1.2 thanks per post
    2. looks_two Tommip with 0.7 thanks per post
    3. looks_3 Kiks with 0.4 thanks per post
    4. looks_4 rosasurfer with 0.4 thanks per post
    1. trending_up 28,024 views
    2. thumb_up 24 thanks given
    3. group 14 followers
    1. forum 49 posts
    2. attach_file 3 attachments




 
Search this Thread

MetaTrader 5 now available for trading futures

  #21 (permalink)
 
Kiks's Avatar
 Kiks 
los angeles, ca/usa
 
Experience: Intermediate
Platform: Metatrader 5/CQG
Broker: AMP FUTURES/CQG
Trading: ES
Posts: 52 since Oct 2012
Thanks Given: 168
Thanks Received: 33

I use metatrader 5 with CQG data feed thru AMP futures. I started in October 2017. I tried trading using volume spread analysis and on tick charts. Manually scalping ES is possible. But very very hard. So I started learning how to code in mql5 language. It was intimidating at first. Now, after two months, my metatrader 5 programs are now trading in demo mode. 100% hands-free.

I just do not know if my set up is the fastest set up possible. What I am noticing is that after my program calculates an entry (50 milliseconds), it then sends an order. The platform responds that it received the order in 3 milliseconds. Then it takes another 7 ms for that order to get to the clearing house and becomes a deal. This is trading just 2 ES contracts.
I've heard that HFTs operate on the microsecond level. Really really fast execution by HFTs.

This is all in demo mode. Sometimes, even in demo mode, my orders are left behind due to fast moving market.
My program automatically cancels them if they are 2 ticks at a disadvantage.

In a few weeks I'll switch to live account.
It took me 7 years to get to this point. I am super excited and at the same time apprehensive. I do not know how my metatrader 5 program would execute in live mode.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Quant vue
Trading Reviews and Vendors
ZombieSqueeze
Platforms and Indicators
What broker to use for trading palladium futures
Commodities
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #22 (permalink)
 rosasurfer 
Sofia Bulgaria
 
Experience: Intermediate
Platform: MetaTrader, MultiCharts
Trading: Forex, ES, GC, strange synthetic creatures
Posts: 40 since Nov 2014
Thanks Given: 41
Thanks Received: 34


Kiks View Post
...This is all in demo mode...
...In a few weeks I'll switch to live account...
...I do not know how my metatrader 5 program would execute in live mode...

I'm sorry to be the bearer of bad news but your expectations are not realistic. Execution on demo is in no way comparable to live execution. That's especially true for futures trading where you have a real counterpart (means higher roundtrip times than a demo account which is not connected to anything at the backend). In live mode you/your code's logic have to be able to handle roundtrip times of a few 100 msec to a few seconds. Yes, full seconds. Times of less than 100 msec are very very rare, that's just the nature of retail trading.

So, how to go from here?

Forget any very short term approaches (intra-minute scalping) and try to find some longer-term edge. In this regard trade durations of multiple minutes or on M5 may already be considered "longer-term" . Try to develop something with a profit target of at least 10 ticks, whatever this is for your preferred instrument. After all you have to cut your losses short and let your winners run. It's what you need for survival and produces the few bigger winners you will need, and that's what trailing stops are made for. But trailing stops will not work with profit targets of only 1-2 ticks and intra-minute scalping will hardly work with retail platforms, you only stack the odds against you. Trailing needs some air to breathe, so look for M5 or better M15 strategies.

Regards

Reply With Quote
  #23 (permalink)
 
Kiks's Avatar
 Kiks 
los angeles, ca/usa
 
Experience: Intermediate
Platform: Metatrader 5/CQG
Broker: AMP FUTURES/CQG
Trading: ES
Posts: 52 since Oct 2012
Thanks Given: 168
Thanks Received: 33



Tommip View Post
All of that is true.MT4 was so simple as it was possible for a base version...with a lot of adds and apps.At this point mt5 is too just ,,pure'' verision.For exchange listed products its new .It is available for trading just in markets like Russia Brazil Turkey here in Poland (only one broker) and now with AMP (so also only one broker fcm).And mt4 is dead thats also true - no more support no more update.


I found a list of comparisons between mt5 vs mt4.

https://www.mql5.com/en/forum/219009

Reply With Quote
  #24 (permalink)
 rosasurfer 
Sofia Bulgaria
 
Experience: Intermediate
Platform: MetaTrader, MultiCharts
Trading: Forex, ES, GC, strange synthetic creatures
Posts: 40 since Nov 2014
Thanks Given: 41
Thanks Received: 34


Kiks View Post
I found a list of comparisons between mt5 vs mt4.
https://www.mql5.com/en/forum/219009

This comparison is mostly non-sense.

MT5 makes sense where MT4 does not cover a market, e.g. for trading futures directly like with AMP or for trading at a minor stock exchange. In all other cases (including major stock exchanges where better tools exists) MT4 has always been better and will be so for the foreseable future.

People (including broker representives) really need to know MetaQuote's business better to make sound decisions or to give advice. There are strong reasons that MT5 was never accepted in the trading industry (not to mention by traders) and this reasons are firstly lack of compatibility, support and features (features being the one with the smallest priority). The lack of acceptance is a result of those reasons and it's because of this that MT4 will be with us for a long time (opposite to the opinion of all following only rumours etc). If MetaQuotes was to stop MT4 it would be bancrupt immediately. They simply cannot afford.


- MT5 is faster than MT4... *misleading*
- MT5 is a Multi-Market platform... *true*
- In MT5 it is possible to get real volume traded data... *misleading*
- In MT5 you can download and consult ticks history... *misleading or wrong*
- In MT5 you have access to the tape... *misleading*
- In MT5 you can backtesting robots... *misleading or wrong*
- In MT5 you can backtesting Multi-Symbol strategies... *misleading or wrong*
- On both platforms it is already possible to import your own historical data... *misleading or wrong*
- In MT5 you can create Custom Symbols... *misleading or wrong*

If there is interest I will elaborate specifically on each of those claims.

Reply With Quote
  #25 (permalink)
 
Kiks's Avatar
 Kiks 
los angeles, ca/usa
 
Experience: Intermediate
Platform: Metatrader 5/CQG
Broker: AMP FUTURES/CQG
Trading: ES
Posts: 52 since Oct 2012
Thanks Given: 168
Thanks Received: 33


MT4Survivor View Post
This comparison is mostly non-sense.

MT5 makes sense where MT4 does not cover a market, e.g. for trading futures directly like with AMP or for trading at a minor stock exchange. In all other cases (including major stock exchanges where better tools exists) MT4 has always been better and will be so for the foreseable future.

People (including broker representives) really need to know MetaQuote's business better to make sound decisions or to give advice. There are strong reasons that MT5 was never accepted in the trading industry (not to mention by traders) and this reasons are firstly lack of compatibility, support and features (features being the one with the smallest priority). The lack of acceptance is a result of those reasons and it's because of this that MT4 will be with us for a long time (opposite to the opinion of all following only rumours etc). If MetaQuotes was to stop MT4 it would be bancrupt immediately. They simply cannot afford.


- MT5 is faster than MT4... *misleading*
- MT5 is a Multi-Market platform... *true*
- In MT5 it is possible to get real volume traded data... *misleading*
- In MT5 you can download and consult ticks history... *misleading or wrong*
- In MT5 you have access to the tape... *misleading*
- In MT5 you can backtesting robots... *misleading or wrong*
- In MT5 you can backtesting Multi-Symbol strategies... *misleading or wrong*
- On both platforms it is already possible to import your own historical data... *misleading or wrong*
- In MT5 you can create Custom Symbols... *misleading or wrong*

If there is interest I will elaborate specifically on each of those claims.


I read the assertions made in that link and they all made sense to me. The OP explained them really well.
I too, felt bad originally when mt5 came out.
I did not want to lose all the EAs, scripts and indicators I made in mt4.
Good thing AMP Futures launched their mt5 last year. That’s when I looked into mt5 and found it to be an improved version of mt4.
I have no problem upgrading my mt4 code to mt5.

Reply With Quote
  #26 (permalink)
 
Kiks's Avatar
 Kiks 
los angeles, ca/usa
 
Experience: Intermediate
Platform: Metatrader 5/CQG
Broker: AMP FUTURES/CQG
Trading: ES
Posts: 52 since Oct 2012
Thanks Given: 168
Thanks Received: 33


xplorer View Post
Just got an email from AMP that says



So I thought I'd post this.

The metatrader platform of AMP FUTURES has been down since July 28, 2018. It is now 2:01 am of July 30, 2018.
It is still down. I wonder what is happening?
Are they going to pull the plug on metatrader5?

I hope not. I have hundreds of hours invested on mql5 programs.

Reply With Quote
Thanked by:
  #27 (permalink)
 
Kiks's Avatar
 Kiks 
los angeles, ca/usa
 
Experience: Intermediate
Platform: Metatrader 5/CQG
Broker: AMP FUTURES/CQG
Trading: ES
Posts: 52 since Oct 2012
Thanks Given: 168
Thanks Received: 33

The metatrader platform is up and running.
Here is the message from AMP FUTURES.

The Tier 1 ISP "Fiber" Network that is dedicated to our MT5 infrastructure had scheduled maintenance this weekend that did not complete in the pre-determined schedule.
This was resolved at approx. 8:30am Frankfurt time.
If you are still experiencing an outage, please restart your MT5.

Reply With Quote
Thanked by:
  #28 (permalink)
 
Kiks's Avatar
 Kiks 
los angeles, ca/usa
 
Experience: Intermediate
Platform: Metatrader 5/CQG
Broker: AMP FUTURES/CQG
Trading: ES
Posts: 52 since Oct 2012
Thanks Given: 168
Thanks Received: 33


Kiks View Post
The metatrader platform is up and running.
Here is the message from AMP FUTURES.

The Tier 1 ISP "Fiber" Network that is dedicated to our MT5 infrastructure had scheduled maintenance this weekend that did not complete in the pre-determined schedule.
This was resolved at approx. 8:30am Frankfurt time.
If you are still experiencing an outage, please restart your MT5.


more from AMP support:

CQG performed upgrade to their WAPI this weekend, which has not been executed as expected. CQG is aware of the issue and working diligently to re-establish accurate DOM data flows.

Reply With Quote
Thanked by:
  #29 (permalink)
 
Kiks's Avatar
 Kiks 
los angeles, ca/usa
 
Experience: Intermediate
Platform: Metatrader 5/CQG
Broker: AMP FUTURES/CQG
Trading: ES
Posts: 52 since Oct 2012
Thanks Given: 168
Thanks Received: 33

In metatrader5 of AMP Futures, your program is going to work in demo account issuing BUY LIMIT or SELL LIMIT orders. But in Real account this may not work.

The reason being is the "type_filling" when populating the request structure, is defaulted to 0 (Fill or Kill). You have to use ORDER_FILLING_RETURN in order for you to park your BUY LIMIT or SELL LIMIT orders. Otherwise, your orders are usually cancelled by the system in REAL account.

Both filling modes are supported. It is just that in demo mode, FOK is really not FOK. It is acting as RETURN mode. In demo account, your limit orders are not killed if not filled. They are parked. Sitting in the DOM waiting to get filled.

In REAL account, your FOK limit orders are killed immediately if not filled. So if you want to park a LIMIT order, use RETURN filling mode.

Here is an example of a BUY LIMIT order.

 
Code
//+------------------------------------------------------------------+ 
//| Buy using OrderSendAsync() asynchronous function                 | 
//+------------------------------------------------------------------+ 
string BuyAsync(double volume, double zd_price, string zs_type, double zd_volume) // zd_volume is for display only
  { 
//--- prepare the request 
    MqlTradeRequest req={0}; 
    ZeroMemory(req);
    req.action      =TRADE_ACTION_PENDING; 
    req.symbol      =_Symbol; 
    req.magic       =xi_Magic; 
    req.volume      =volume; 
    req.type        =ORDER_TYPE_BUY_LIMIT; 
    req.type_filling = ORDER_FILLING_RETURN;
    req.price       = zd_price; 
    req.deviation   =0; 
    
    MqlTradeResult  res={0}; 
    ZeroMemory(res);
    
    string zs_comment=s_comment;
    req.comment=zs_comment;
    

    if(!OrderSendAsync(req,res)) 
      { 
        
        Print(__FUNCSIG__,": error ",GetLastError(),",retcode=",res.retcode, ",",zs_comment); 
      } 

    
    return(zs_comment);
    
//--- 
  } // end of BuyAsync

Reply With Quote
Thanked by:
  #30 (permalink)
Horne
Brisbane Queensland
 
Posts: 3 since Aug 2018
Thanks Given: 3
Thanks Received: 0


I've been using MT5 with CQG data. I like it but there are a couple of issues.
Tried a non trading EA which creates a "custom symbol" renko chart - it dose not auto update.
DOM would be better if it had volume traded at each tick.

With limit orders, sometimes when price reaches them, I'm watching the time and sales go through. Down in the tool box I'm watching my pending order go from green to yellow, but rather than filling, it goes back to green.
Not sure where this execution latency is happening in the chain (possibly my computer/internet).

Reply With Quote




Last Updated on April 13, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts