Forum

OrderSend question

Hello All, I'm using Interbank FX demo account and just testing the OrderSend() function . I created a new Expert Advisors and under start() I have place the following code if(Bars != bars) { bars = Bars; int ticket; ticket=OrderSend("GBPUSD",OP_BUY,20,Ask,3,Ask-25*Point,Ask+2*Point,"My

PlaySound

Hello all, I'm trying to play a sound using PlaySound("Res_GBP_USD.wav"); and is not working. I have placed the Res_GBP_USD.wav file in Interbank FX Trader 4\sounds folder and is not working. Do I need to do anything else? Thanks Kam

Time fucntion question

Does anyone knows why this Alert (TimeToStr(Time[2300], TIME_DATE)); Displays the date as 1970.01.01 while this Alert (TimeToStr(Time[2299], TIME_DATE)); Displays the date as 2006.09.05 Thanks Kam

How to get Slow K and Slow D

Hello all, Does anyone know what API or function call I need to call to get the value of Slow K(5,3,3) and Slow D(5,3,3)? Thanks Kam

How to get the Histogram on MACD

Hello all, Can some one tell me how I can get the value of MACD histogram? I'm using iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,1) to get the signal and iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,1) to get the MACD but not sure what I need to use to get the value of Histogram? Thank Kam

MT4 APIs

Hello all, Any idea where I can find the APIs for MT4? I'm new to these stuff, so for example how do I know what parameters I need to pass to iMACD function ? Thanks