[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 437

 
demlin:

Dear experts!

I need your help with the following question. I have a custom indicator that draws a two-color line with one colour then another one. Is there any way to teach the Expert Advisor to determine which colour the line is at the moment?


Yes, you need another file type - *.mq4, but not *.ex4
 
Roman.:

Yes, you need another type of file - *.mq4, but not *.ex4
There is no other, downloaded from the network, pasted into the indicators folder and that's it
 

What do such log entries mean when expert stops working on Broco, although it works successfully on other DCs?

2011.06.14 19:57:53 '7849792': login

2011.06.14 19:57:52 Experts are disabled because the account has been changed



 
yosuf:

What do such log entries mean when expert stops working on Broco, although it works successfully on other DCs?

2011.06.14 19:57:53 '7849792': login

2011.06.14 19:57:52 Experts are disabled because the account has been changed



You may have changed the account while the assessor was working, in which case it is switched off
 
demlin:
You may have switched accounts while the Expert Advisor was running, in which case it is disabled
There was no account change, there is only one demo account indicated.
 

Another question.

Is it possible to teach an EA to read information from another window where another EA is running?

 

2011.06.14 19:57:53 '7849792': login

2011.06.14 19:57:52 Experts are disabled because the account has been changed

This is a literal translation

 
demlin:

Dear experts!

I need your help with the following question. I have a custom indicator that draws a two-color line with one colour then another one. Is there any way to teach the Expert Advisor to determine which colour the line is at the moment?

You set the indicator, open properties, tab "Colours" and see if the buffer numbers (first column) correspond to the required colours. Then you write the buffer numbers in iCustom and get the signal of the required colour.

 
demlin:

2011.06.14 19:57:53 '7849792': login

2011.06.14 19:57:52 Experts are disabled because the account has been changed

This is the literal translation

The following messages have appeared and Expert Advisor has started working, I don't understand what is tricks of DC:

2011.06.14 20:13:06 '7849792': DataCenter connecting failed [6]

2011.06.14 20:13:25 '7849792': login

2011.06.14 20:13:38 Custom indicator _Forecast_v12 EURUSD_FX,M5: loaded successfully

2011.06.14 20:13:41 '7849792': order buy market 1.00 EURUSD_FX sl: 0.00000 tp: 0.00000

2011.06.14 20:13:41 '7849792': request was accepted by server

2011.06.14 20:13:42 '7849792': request in process

2011.06.14 20:13:44 '7849792': order was opened : #28096745 buy 1.00 EURUSD_FX at 1.44756 sl: 0.00000 tp: 0.00000

2011.06.14 20:13:44 '7849792': modify order #28096745 buy 1.00 EURUSD_FX at 1.44756 sl: 0.00000 tp: 0.00000 -> sl: 1.41763 tp: 1.47763

2011.06.14 20:13:45 '7849792': request was accepted by server

2011.06.14 20:13:46 '7849792': order #28096745 buy 1.00 EURUSD_FX at 1.44756 was modified -> sl: 1.41763 tp: 1.47763

2011.06.14 20:19:26 '7849792': login

2011.06.14 20:19:29 '7849792': DataCenter connecting failed [2]

Is it stable now or not? Last 2 messages are alarming. And why such crash in Broco ?

2011.06.14 20:45:44 '7849792': DataCenter connecting failed [6]
2011.06.14 20:45:38 '7849792': login


 

Ported from

RMaman:

Hello, dear and respected experts and aces. This is Roman, who is an inexperienced MQL expert, speaking to you.

I'm all the keyboard already ....... well it's that. In general, the subject is as follows. If I have a few pending orders of different types buy sell and so on and have the price. If we have the price, we should find out if a pending order is linked to this price. If there is one, it's better if not, we should mark it (by the way, robot should mark it as base if it has five decimal points). If there is no spread, how to take the price from the market (no ordinary ones).

Many thanks, I am waiting for an answer. I will even give you the address remus_brasimus@mail.ru.

I will even give him the address.