Contents tagged with FXCM Trading Station LUA Init

  • Lua for FXCM Trade Station

    Hello everybody,

    today I will share with you adventure of learning writing something for Trade Station from FXCM and some other trading companies.

    I got one request from client to write for him expert advisor, and it should be for Trade Station in lua, and not in mql4.

    I can't say that I was happy, but customer is sacred think, so I started.

    Initially I read the manual and realized that lua is simple language with C like syntax. AFAIK C, I decided to look how to develop EA.

    So I created file "matrade.lua" which was empty. 

    Then in trade station I made the following:

    Pressed at button import and pointed to my file:

    and as result got error message

    For me it meant following. In … more