Hi peoples, I wrote an indicator that performs some simple calculations and displays them on the chart. The calculations are correct, and they are supposed to update every tick , however they often don't. Even after waiting quite a few ticks
Hi guys, Just realised something that doesnt seem to make sense to me. MT4 seems to use 'points' natively, (ie the last decimal place, which for 5-digit brokers is a pippete/partial pip). Yet, in the order exection dialogue it lists the option for
Hi guys, Just trying to build a doji detector for Heiken Ashi using iCustom. bool check_for_heiken_doji() { double HAHigh = NormalizeDouble(iCustom(NULL,0,"Heiken Ashi", 0, 0), Digits); double HALow =
Hi guys I just got a new trading account which has a different base currency to the pair I want to trade. For instance, if I have a USD based account but i trade GBP/JPY, or some other pair which doesnt contain USD, how is the order executed ? Does
Hi guys, Just wondering why MT4 performs a full M1 to D1 data collection every time you do a backtest . I know it might seem silly to say that - naturally you'd want all of the latest data if you're testing up to the day.. However, if you're testing
Hi guys, I know this is maybe slightly out of context, but I think you guys are probably the most likely to provide an answer. On my live broker account, when I am manually trading, sometimes I will receive Off Quotes. More and more these days - at
Hi guys, I'm having some issues with a little function I've produced. I collect all the orders... int totalOrderCount; int icnt; totalOrderCount = OrdersTotal(); for (icnt=0;icnt<totalOrderCount;icnt++) { tbx_CheckForRiskyStopLoss(icnt); } Which
Hi guys, In response to an earlier thread I opened, I am having significant issues in determining how to execute a function per one bar of the chosen periodicity. That is, in the EA backtester in MT4, if i select Period: H1, I wish to essentially
Hi guys, I'm currently exporting backtest data from MT4 via this very simple code I made: int fileHandle; int init() { fileHandle = FileOpen("MT4dump.txt",FILE_CSV|FILE_WRITE, ';'); if(fileHandle < 0){ Alert("Error "
Hi Guys, I'm trying to make an EA with an indicator that draws text on particular bars of interest from the chart window. I'm having issues with finding the appropriate X and Y coordinates for visible bars. I have discovered the number of bars on
Hey guys, Brand new to MQL4, been reading the docs and all that, so go easy on me! Just wondering if its possible to initialize an array with a variable length. For instance, the following works fine: double blah[10]; ...Whereas this doesn't'