NexusFi: Find Your Edge


Home Menu

 





shodson's MetaTrader journey


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one shodson with 3 posts (8 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 ilikeatr with 1 posts (0 thanks)
    4. looks_4 diverdan with 1 posts (0 thanks)
    1. trending_up 5,363 views
    2. thumb_up 8 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 4 attachments




 
Search this Thread
  #1 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,971 since Jun 2009
Thanks Given: 534
Thanks Received: 3,711

I am learning the MetaTrader platform and MQ4 so I can code indicators and strategies (EAs) in MT. I don't have any plans to trade Forex in MT any time soon, but that's an option. I'm mainly doing it to participate in the MT programming community and work on some assignments I've been given from some customers, the first one being converting a TradeStation strategy to MQ4.

Being a long-time NinjaTrader user/programmer (almost 1 yr now), I'll be posting some of the things I learn on the way. This may be boring to MT pros but other n00bs may find it useful. I also look forward to any tips and advice from others more knowledgeable than myself.


Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
The May 31 Binary: 60% Trump Declares Iran Ops Over, Onl …
Prediction Markets & Event Contracts
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
CME Raises Energy Futures Margins After Iran-War Volatil …
Commodities
CME Group Fee Schedule Changes Hit All Four Exchanges -- …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,971 since Jun 2009
Thanks Given: 534
Thanks Received: 3,711


The first thing that I encountered that was somewhat confusing was how MT uses time. All times in MT are in Eastern European time (EET) and I have to think of everything in terms of that time zone.

Also, when I was back testing an EA I set the historical dates in Strategy Tester for testing to just test March 2010. Then I wanted to test back to March 2009 but I could never get any data past my original time frame, I could never get more than 1 month of data. I am using a version of MT distributed by Peregrine (PFG) and it appear I can only get 1mo of historical data from them. I then stumbled upon the History Center (F2) where I can download historical data for all of the pairs. I pressed "Download", got a warning that the data comes from MetaTrader's servers and not PFG's, then waited a few minutes. I'm not sure how much data I have now but I had no problem testing 1yr back. So for kicks I tried going back to March 1999 and it took trades all the way as far back as October 1999, so I'm not sure if that's where my data ends or it's some other limit.

Also, I learned that one way to make sure you can get more bars in your charts is to increase the max bars settings in Tools | Options | Charts to the highest number possible (a bunch of "9"s). See screen shot. It seems like this would be one of the first settings you should change when you install MT.

You can export EA results into a nice HTML file (attached). Not as nice as TradeStation's but still helpful.


Attached Thumbnails
Click image for larger version

Name:	MT-historical-data-options.png
Views:	396
Size:	34.9 KB
ID:	10829  
Attached Files
Elite Membership required to download: StrategyTester.zip
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #4 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,971 since Jun 2009
Thanks Given: 534
Thanks Received: 3,711

Also, one thing that was different is that the times on the charts are the time the bar opens, whereas in NT it is the time the bar closes (prints). Most other trading platforms I've used (thinkorswim, TradeStation) do it the same way as MT so perhaps Ninja is the weirdo here.


Attached Thumbnails
Click image for larger version

Name:	MT-charting.png
Views:	388
Size:	36.5 KB
ID:	10832   Click image for larger version

Name:	nt-charting.png
Views:	378
Size:	83.3 KB
ID:	10833  
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 diverdan 
Singapore
 
Experience: Beginner
Platform: Multicharts, R
Trading: EUR / USD
Posts: 185 since Feb 2010
Thanks Given: 106
Thanks Received: 99

Hi Shodson

Can you give an update to your journey?

Thanks


Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
ilikeatr
London
 
Posts: 4 since Aug 2010
Thanks Given: 1
Thanks Received: 1

shodson, when you increase the bars in the chart to huge figures you might find it starts to chew up a lot of RAM and custom indicators take a long time to load.

In my opinion it's better to keep the history number high and the chart number low.


Reply With Quote




Last Updated on August 18, 2010


© 2026 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 - Downloads - Top
no new posts