Forum

total profit/loss for the day

Is it possible to get the total profit/loss of the current day so far? If so, can someone point me in the right direction

direction of current bar

How does one determine the direction (up/down) of the current bar. Close[0] > Open[0] should work but Close value appears to be empty until the bar is complete. I imagine I should be trying to get the most recent value rather than Close. How can I do that

how to not plot a built-in indicator

Is it possible to use a built-in indicator in an EA without having the indicator plot on the chart? If so, how? For example, if I want to use iATR to calculate stops but I don't want the ATR visible on the chart

how can a dll retrieve tick data from mt4?

I am under the impression that I should use ArrayCopyRates to obtain the current tick data. Is that correct? How could I call that information from within a DLL? My mql4 and internet searches haven't quite gotten me there yet. Can someone point me in the right direction

offline use with historical data

Is it possible to use MT5 offline with historical data. I just want to look at an indicator in action

add existing account

Is it possible to add an existing account to MT5 or can we only use new accounts? I've not seen anything in the help file nor found anything in searches. If we can add an existing account, how to do it