Archive for the ‘FX algo trading’ Category

MQL

September 22, 2009

I’ve added recently another language to my repertoire: MQL. It’s the native language in the MetaTrader, which is a FX trading application. I’ve started FX trading only recently but I’m really attracted by the algo trading and trading in general.
MQL is quite basic, it doesn’t support complex data types, I could really use with a dictionary or an object of some sort.

What can you do with it? You can write an Expert Advisor, this is a algo trading application.
It has a 3 methods: init, deinit and start. The first 2 act as constructor/destructor, whereas the second is called on every tick, which you can process and then decide whether to open a trade, close a trade or do nothing.