Forum

Getting MessageBox info from an indicator

Hi, Let's say I've got an EA that displays a MessageBox at some point. Is there a way for an indi to get the text displayed in that messagebox? I was thinking something like CHARTEVENT_OBJECT_CREATE , but that method does not detect messageboxes

Connecting a moving average with different colors

Hi, I've got an indicator that plots a moving average channel, using the high and low values. I've attached a screenshot of it. On the actual chart, the channel is green if both upper and lower lines are going up, red if they are both going down, and grey otherwise. On that same screenshot, at the

Inconsistent results when using iTime()

Hi, Ok so I have an issue with my EA that I use as a screener / setup alerter. Here’s how it works: I set it up on any chart, M5 TF, and it scans through a predefined number of pairs (which corresponds to my watchlist). For each pair, in the example I give it gives the low of the last couple of

Deleting a line from txt file

Hi, So I'm working on this simple script, that reads through a txt file, where each line is in the form of " AUDCAD . 0.9076 a", so the pair, price and a letter meaning (a)bove or (b)elow. I want to use it as a price alert script. I manage to read the file, get the pair, compare it with MarketInfo