Forum

Margin Check

Hello! OrderCalcMargin() cannot be used on indicators . How can I go around this? Thanks

Mql5 Mql4 FileOpen diference ??

Hello! I have below code: if (printHistory == true ) { handle = FileOpen ( "Ticks_" + Symbol () + filename + ".csv" , FILE_CSV | FILE_READ | FILE_WRITE , ',' ); if (handle < 0 ) { Print ( "Could Not Create/Open File " + IntegerToString ( GetLastError ()));

Volume Tick

Hello! I would like to retrieve all ticks for the past n candles. In MqlTick structure, what is tick[i].volum and tick[i].volum_real ? I am geting zero for both of them unless I connect to a broker wich is giving real volume. Can I retrieve tick_volume at every tick for forex market using MqlTick

CumulativeDelta

Hello! Any idea how to calculate cumulative delta in mql4? There are some indicators saying that they are delta indicators , but as per definition , delta calculation involves volume_ask and volum_bid which is not available in mt4

Info from DOM

Hello! Is there any function that retrive below info from market? Like how many contracts were sold and how many were bought at a price level

querstion for developers

Hello! Is it any chance that in the future updates of metatrader to add more timeframes ( seconds timeframes )? Since there are already EA's that do that, why not updating the platform> Thanks

Cannot place trades

Hello! I have downloaded this EA which is free on mql Market Place " Candle by Seconds ". It works fine, however, cannot place any trades on the new chart created. Manually or by another EA attached , I get this [ invalid request ] error

Panel view

Hello! I have a EA which it loads a dashboard onto the charts which I use for trading. When I load this EA on personal computer it is displaying as expected. When I loaded on VPS , some buttons are missing, and it looks like resolution is wrong. P,ease find attached screen shots

CopyBuffer for array of struct

Hello! I have a question. I have this array of a struct type, I would like to fill the data from an indicator buffers . I tried like this : for ( int i = 0 ; i < array_size; i++) { CopyBuffer (handleHH, 3 , 0 ,array_size,dir_primery[i].close); CopyBuffer (handleHH, 2 , 0

Handle release

Hello! I have this function in my include file : double ATR( int index) { double atr[]; int handle = 0 ; handle = iATR ( _Symbol , PERIOD_CURRENT , 14 ); CopyBuffer (handle, 0 , 0 , 10 ,atr); ArraySetAsSeries (atr, true ); return NormalizeToTickSize (atr[index]); } So at any time in