Forum

String extraction

how could I extract only the text DB0F64EEC7A2A454E798BF69494A9ACB from TerminalInfoString(TERMINAL_DATA_PATH) ? TERMINAL_DATA_PATH = C:\Users\.........\AppData\Roaming\MetaQuotes\Terminal\ DB0F64EEC7A2A454E798BF69494A9ACB

Get computer id (CID) MQL string

would anyone know how to help me in getting the computer id (CID) via MQL string, as well as, ACCOUNT_NAME, ACCOUNT_COMPANY

Signal after candle close

Guys, how do I make sure that the signal is only given at the closing of the candle and not during the candle? What should I change in my code? static datetime timeLastAlert = NULL ; for (i=limit; i>= 0 ; i--) for (i=limit; i>= 0 ; i--) if ( buffer1[i] > buffer3[i] && buffer1[i+ 1 ] >=

Indicator Buffers Combiner

Would anyone have a .mq4 indicator similar to these to match indicator buffers? <ex4 file removed>

Signal on the wrong candle

could someone help me with this code, because i want the sign to appear on candle 1 + i when closing, and my sign only appears on i . Buffer2[i] = Close[1+i]; //Set indicator value at Candlestick Close if(i == 0 && Time[0] != time_alert) { myAlert("indicator", "Sell"); time_alert = Time[0]; }

Copy changes from EA (Expert Advisor) to an indicator

I have an EA (Expert Advisor) that does all my strategy, but I would like that whenever he issues an alert, another indicator copies the alert. Because the automated system I use, it only accepts an indicator as a signal and does not accept an EA (Expert Advisor). Does anyone know or have this code

Alert for combination of 2 existing indicators

Is it possible? I would like to create an alert, for when the combination of the two indicators show the arrows simultaneously on the same candle. The alert will be output according to the arrows. I don't have the .mql4 files for the indicators, just the .ex4