Forum

OnTick in NAS100 is jumping a lot of new quotes...

Hi everybody. If I create a simple EA with only a single Print getting the BID price in NAS100 in MT4 I can see that are many little moviments in charts but not in EA. Ok, I read in OnTick doc that while it not complete the circle it will igore few quotes...But If I change NAS100 to EURUSD for

Data is outdated when requested

Hi everybody. I have a pipe connection with my app and Mt4. Working very very well for years. But since the beginning I have the same problem: When I request new data from a pair, I will receive an outdated data. For example: If I open EURUSD in first time in the day, the last data will the same

Correct signature in mt5 for kernel32 import

Hi. Use for years my script in mt4 and mt5. Now I resolve to change my windows 7 64bit to windows 10 64bits. Only in mt4 working fine. In mt5 I have this strange erros: 2020.03 . 27 22 : 59 : 36.604 teste3 (EURUSD,H1) Access violation at 0x00007FFB6006605C read to 0x0000020200000010 2020.03

Volume in MT4

Hi all. I have a problem to understanding how the volume in forex market function . When in mt4 the volume is like 925 I think that happens 925 traders in 15 minutes. But this volume is only in my specific broker or it is representation all traders with all brokers? soory my english and my simple

MT4 tick Mode_BID is always adding 5 extra pips

Hi all. I have a little doubt. I was user from MBTrading that now is part of TradeKing... I have a script that show me with this line code DoubleToStr(MarketInfo(EURUSD, MODE_BID),5) always 5 pips more that showed in mt4 chart...The spread sometimes is 1,0 or 1,5 pips but this 5 pips more I am

After MetaEditor Update my script have erros

Hi Everybody. I dont understandin why my script that ran perfectly now have erros. My metaeditor was updated to 5 but not to mql5, continue being mql4. But now I have an error here: string PipeName = "\\\\.\\pipe\\Perpendicular_as_Client" ; int PipeMode =

Problem with spreads in mt4 build 670

Hi everybody. I have a problem or I think that I have in my mt4. I have an account in MBT and I am using MT4 Build 670. Look at the attached image bellow. All information are showed and calculated as the spread is 17pips but really is the 1.7pips because the last digit is a 1/10th... But in true

Detecting when pc resume after sleep and update data

Hi everybody. I have a .net app that I use for to connect the mt4 and get data and others functions . When my pc sleep or suspend and after sometime resume again, the mt4 auto update the data in charts. Including a small sound play. The problem is that my app not detect it. I do it detect when my pc

OrderClose() change value from TP to 0.00000

Hi. When I open a new order, I always use the takeProfit and stopLoss prices. When I close this order opened with the terminal this values remain in historical grid. There are many values, the price close, date, tp and sl and others. My problem is that when I close an order with my script using

Duration of an order remained opened

Hi. Can I get the duration for an operation? I can get the duration in minutes when I close a order that show how many minutes this order remained opened. thanks