Forum

Crashes when importing Delphi DLLs ByVar

Hi I'm using delphi 2010(v14) to mk DLL s for metatrder . here is the function definition in delphi : procedure GetSendOrder( var symbol:shortstring; var CMD:integer; var vol: double ; var Price: double ; var slippage:integer; var SL: double ; var TP: double ; var Comment:shortstring; var

How to know if a position is openning

Hi Sometimes when opening positions with OrderSend function , it accepts the position and returns true, but it may take some times for the position to be opened and listed in open trades list, could someone please tell me how we can know that there are some positions that are accepted but still

calculating the price where a position has specifiec profit

Hi Could someone please tell me how I can calculate where a position will have a specifiec profit in deposit currency ? For example I open a 0.1 lot EURGBP on 0.8912 and I want to set it's TakeProfit at a price where positions' profit will be exactly 40$ ($ is my accounts deposit currency ) I know

using indicators indipendently

Hi Could someone please tell if there is a way to use an indicator independently ? I mean without the use of metatrader and directly apply a chart to it and get indicators data on that chart, for example in memory or a file, array ..., something like calling DLL functions . thanks

Creating virtual symbol and getting indicator value's on it

Hi could someone tell me if there is a way to create a virtual symbol and get indicator value's on that ? I do not mean something like offline charts, I mean in expert's codes making a new array which is in fact our new chart and then telling the indicators to give us the value on that chart . it is