Is the advisor suitable for real life? - page 37

 
What is it here?
 

In short, I must have been a fool myself. Here.

if (Bid<(OrderOpenPrice()+4*Point)) 

the condition was probably too short. I can't say for sure. Probably because of jumps of 3 pints or more in a fraction of a second, there were discrepancies with the tester. Also because the data was updated before the delete function. Of course I won't remove data update, but I changed this condition to

if (Bid<=(OrderOpenPrice()+5*Point)) 

It will not affect the signal quality at all since the main condition will still be satisfied and is hidden at the very top. I have made this condition so short to reduce the load on the brokerage company's server. This will make orders to be deleted less frequently. Some people are indignant because of frequency of modifications and operations.

I have been monitoring it all day long. We have not had any of the cases I have referred to yet. May be because I have changed the condition.

Why did I say sometimes the condition is ignored for 10-15 seconds? I don't know. I'm completely confused. I'll keep watching the code with the comments. But there was no obvious disagreement in the signals today. Probably because I rewrote each condition on a new line. Maybe because I increased the length of the condition. We'll see.

 
26994:

DSerg is a troll! Even the peak has a smirking face on it.

He's from lurkmore.ru ! Come on, guys, let's find him and teach him a lesson!


Nyasha, you just found out about the PeCafes, didn't you?

Who am I trolling here, huh?

 
FOReignEXchange, have you tried getting away from limiters? What prevents you from calculating a variable instead and opening from the market when the price reaches it... or resetting it in fractions of a second if necessary!
 
Cmu4:
FOReignEXchange, have you tried getting away from limiters? What prevents you from calculating a variable instead and opening from the market when the price reaches it... or resetting it in fractions of a second if necessary!

There will be slippages. With limiters they are almost nonexistent.
 

Please help me understand what this is all about. What is the situation.

There are two terminals from one brokerage company on one server - demo and real accounts. On a demo and real account trades the same robots. But sometimes ticks disappear on one of the terminals. Here is what appears in the log in this case.

11:09:04 '904635': order was opened : #26620914 sell stop 0.10 EURUSD at 1.3530 sl: 1.3544 tp: 1.3518
11:12:54 '904635': deleting of pending order #26620914 sell 0.10 EURUSD at 1.3530 sl: 1.3544 tp: 1.3518 failed [trade timeout]

and in the Expert Advisor's journal

11:09:00 MMCIS_EUR EURUSD,M1: open #26620914 sell stop 0.10 EURUSD at 1.3530 sl: 1.3544 tp: 1.3518 ok
11:09:04 MMCIS_EUR EURUSD,M1: Bid=1.354
11:09:04 MMCIS_EUR EURUSD,M1: Bid=1.3541
11:09:06 MMCIS_EUR EURUSD,M1: Bid=1.354
11:09:07 MMCIS_EUR EURUSD,M1: Bid=1.3539
11:09:16 MMCIS_EUR EURUSD,M1: Bid=1.3538
11:09:22 MMCIS_EUR EURUSD,M1: Bid=1.3537
11:09:23 MMCIS_EUR EURUSD,M1: Bid=1.3538
11:09:25 MMCIS_EUR EURUSD,M1: Bid=1.3537
11:09:28 MMCIS_EUR EURUSD,M1: Bid=1.3537
11:09:29 MMCIS_EUR EURUSD,M1: Bid=1.3536
11:09:30 MMCIS_EUR EURUSD,M1: Bid=1.3535
11:12:55 MMCIS_EUR EURUSD,M1: market order #26620914 cannot be deleted
11:12:55 MMCIS_EUR EURUSD,M1: market order #26620914 cannot be deleted
11:12:55 MMCIS_EUR EURUSD,M1: market order #26620914 cannot be deleted
11:12:55 MMCIS_EUR EURUSD,M1: market order #26620914 cannot be deleted
11:13:07 MMCIS_EUR EURUSD,M1: Bid=1.353
11:13:07 MMCIS_EUR EURUSD,M1: Bid=1.3529
11:13:07 MMCIS_EUR EURUSD,M1: Bid=1.353
11:13:10 MMCIS_EUR EURUSD,M1: Bid=1.3531
11:13:19 MMCIS_EUR EURUSD,M1: Bid=1.3532

For 2-3 minutes nothing happens at all and Print does not print anything to the journal. While on the other terminal everything is normal. For example, here is a piece of log.

11:10:17 MMCIS_EUR EURUSD,M1: Bid=1.3535
11:10:18 MMCIS_EUR EURUSD,M1: Bid=1.3534
11:10:19 MMCIS_EUR EURUSD,M1: Bid=1.3535
11:10:24 MMCIS_EUR EURUSD,M1 :Bid=1.3534
11:10:27 MMCIS_EUR EURUSD,M1: Bid=1.3535
11:10:27 MMCIS_EUR EURUSD,M1: Bid=1.3534
11:10:30 MMCIS_EUR EURUSD,M1: Bid=1.3533
11:10:33 MMCIS_EUR EURUSD,M1: Bid=1.3532
11:10:37 MMCIS_EUR EURUSD,M1: delete #26620917 sell stop 4.00 EURUSD at 1.3527 sl: 1.3541 tp: 1.3515 ok

I have a feeling that ticks stop coming but communication keeps going because the journal has no Connecting Failed message. This problem happens at any moment, on both terminals at different times. It causes triggering of unnecessary orders.

What is it?

 
It is possible for quotes to freeze. If you want to leave it running on full automatic, you need to monitor it. And reset the terminal if they do not freeze for a long time.
 

The robots are on the server and that's where the tick freeze happens. Everything is fine on my computer. For now I will keep track of orders on my computer and delete them if they are not deleted there. I have already bumped the code and installed it.

I do not want to install any robot on my computer, because my robot is sometimes slow and may be late in opening orders.

 
FOReignEXchange:

The robots stand on the server and that's where the freezing of the ticks takes place.

Unstable connection at the hoster.
 
Dserg:


Nyasha, you just found out about the PeCafes, didn't you?

Well, who am I trolling here, huh?

Everyone who found your grails fit for real. And yes, I'm a yuppie, but only until I open my mouth.

Anyway, jealousy. Thirty-five pages.