Is there a need for a lock in MT5?

 

All over the forum in different threads the same question is being discussed with many others on MT5. Maybe discuss one specific one in one thread?

Here's part of the report(the whole report would open the logic) of an EA based ONLY on LOCK. I.e. BOTH positions open at once. Your move opposes the locs.

Files:
kcvw.rar  10 kb
 

LOC is necessary!

In mt5, NO!, because there will be troubles where lock cannot be in principle.

In mt5, YES! If it will be a pure dealing, and there will be an opportunity to "switch" the system of accounting.

:)))

It's not worth mentioning, we are talking about different things...

 

Who told you that this logic would not work on 5


 

What else I want to say. Loki does not need DCs, they need people to bring in money and only come back when you bring in money again. For this they need nice programs, to puff up cheeks and justify the uselessness of what is really needed. They (brokerage companies) will teach us to use thousands of indicators and they will teach us to lose deposits. In fact, lots allow you to create break-even TP. That's why the war with them began.

Although it is possible to create an absolutely no indicators with such characteristics.

Pendulum+orders
(Build 223)


Symbol EURUSD (Euro vs US Dollar)
Period 1 Minute (M1) 2009.03.20 00:00 - 2009.07.21 23:59 (2009.03.20 - 2009.07.22)
Model All ticks (most accurate method based on all smallest available timeframes)
Parameters Lot=0.1
Bars in history 124237 Modelled ticks 4910683 Modeling quality 25.00%
Chart mismatch errors 0
Initial deposit 100000.00
Net profit 749.24 Total profit 749.24 Total loss 0.00
Profitability Expected payoff 20.81
Absolute drawdown 149.48 Maximum drawdown 239.97 (0.24%) Relative drawdown 0.24% (239.97)
Total trades 36 Short positions (% win) 18 (100.00%) Long positions (% win) 18 (100.00%)
Profitable trades (% of all) 36 (100.00%) Loss trades (% of all) 0 (0.00%)
Largest profitable trade 22.82 Deal with loss 0.00
Average profitable deal 20.81 Deal loss 0.00
Maximum number continuous wins (profit) 36 (749.24) Continuous losses (loss) 0 (0.00)
Maximum Continuous Profit (number of wins) 749.24 (36) Continuous loss (number of losses) 0.00 (0)
Average continuous winnings 36 Continuous loss 0

 
001 >> :

All over the forum in different threads the same question is being discussed with many others on MT5. Maybe discuss one specific one in one thread?

Here's part of the report(the whole report would open the logic) of an EA based ONLY on LOCK. I.e. BOTH positions open at once. Your move opponents locs.

Let's say that if after any lock, OrderCloseBy() would be automatically triggered on the server, it would be much better. The lock itself isn't needed - it's useless. But a quick reverse is not very fast in MT4 because after locking it needs to close at the opposite one, i.e. it puts extra strain on the algorithm. Especially, if OrderCloseBy() for some reason does not work at once, at the next call of start() it needs to find a pair of ticks for the opposite one and try to close again. And so on and so forth.

 

Reshetov писал(а) >>

...

Especially, if OrderCloseBy() for some reason does not work at once, then at next call of start() it is necessary to find a couple of tickets for counter and try to overlap again. And so on and so forth.

Sorry, what's the rush?

;)

Well, the next one, ten ticks from now...

 

The possibility or impossibility of locks has nothing to do with the terminal, it has to do with the rules of trading set by the brokerage company.

Report - all the same can be obtained without opening two orders in one direction at once, if you think about it a little bit - you can do with one order.

 

By the way, manually in netting (in mt5 for short, in 5)

You can't turn over very fast either, you have to type or enter a double volume, press a button...

 
Integer >> :

The possibility or impossibility of locks has nothing to do with the terminal, it has to do with the rules of trading set by the brokerage company.

>> Report - all the same can be done without opening two orders in one line.

And is there an example of that?

 

And with these. Here, the lock is virtual, spread across EAs (i.e. another EA opens a locking position, for more correct operation)... Pay attention to the number of losing trades

Delta_Now---Limit+Time
(Build 224)


Symbol EURUSD (Euro vs US Dollar)
Period 5 Minutes (M5) 1999.09.01 09:45 - 2009.08.19 10:25
Model All ticks (most accurate method based on all smallest timeframes available)
Parameters DistanceSet=1200; MaksOrders=3; StopLoss=55000; DinamicStopLoss=false; WEB=true; PAT_UP=0.2; UpTrend=true; OrdersComment="--------------------------------------------------------------------------------------------------"; downTrend=false; MaksOrdersDW=18; Lot=0.1; DinamicStopLossDW=false; WEBDW=true; Timehourstart=13; Timeminutstart=10; Timehourstop=22; DeleteOrder=true; TimeOpen=true;
Bars in history 738951 Modelled ticks 29987475 Simulation quality 89.99%
Chart mismatch errors 1
Initial deposit 1000.00
Net profit 3414.07 Total profit 3414.07 Total loss 0.00
Profitability Expected payoff 23.87
Absolute drawdown 16.80 Maximum drawdown 431.88 (12.91%) Relative drawdown 12.91% (431.88)
Total trades 143 Short positions (% win) 0 (0.00%) Long positions (% win) 143 (100.00%)
Profitable trades (% of all) 143 (100.00%) Loss trades (% of all) 0 (0.00%)
Largest profitable trade 24.00 losing trade 0.00
Average profitable deal 23.87 Deal loss 0.00
Maximum number continuous wins (profit) 143 (3414.07) Continuous losses (loss) 0 (0.00)
Maximum Continuous profits (number of wins) 3414.07 (143) Continuous loss (number of losses) 0.00 (0)
Average continuous winnings 143 Continuous loss 0

Files:
lock.rar  173 kb
 
kombat >> :

By the way, manually in netting (in mt5 for short, in 5)

You can't turn over very quickly, you have to type or enter a double volume, press the button...


We should ask the developers to introduce an "x2" button next to the field.