Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1570

 
mihakalina copying signals, is it possible to make a sound notification when I have opened a deal?

Write a separate programme of 15-20 lines of code

 
Vitaly Muzichenko #:

Write a separate programme of 15-20 lines of code

And in access, there is nothing suitable on the Internet. Or you have to order a programmer.
 
mihakalina copying signals, is it possible to make a sound notification when I have opened a deal?

Already now - only with a delay. Further it will be worse

it is impossible to find out by software means quickly, directly in real time, that a deal has been opened on a signal and its options.

This is a protection against over-copying of signals.

PS. seems to apply only to trades on signals. If a deal is opened by hands or a robot, you can open it in real time as well.

 
Maxim Kuznetsov #:

Already now, it's only delayed. It's going to get worse

it is impossible to find out by software means quickly and quickly, directly in real time, that a deal was opened on a signal and its options.

This is a protection against over-copying of signals.

PS. seems to apply only to trades on signals. If a deal is opened by hands or a robot, you can open it in real time as well.

I see, thank you. And another question. Is it possible to set the lot size when copying trades.
 
Vitaly Muzichenko #:

Write a separate programme of 15-20 lines of code

This is written in exactly 4 lines, two of which are brackets.
 
Maxim Kuznetsov #:

Already now, it's only delayed. It's going to get worse

it is impossible to find out by software means quickly and quickly, directly in real time, that a deal was opened on a signal and its options.

This is a protection against over-copying of signals.

PS. seems to apply only to trades on signals. If a deal is opened by hands or a robot, you can open it in real time as well.

Are all scripts with robots switched off or what, that it is impossible?
 
Aleksandr Slavskii #:

We need to normalise the price. Make it a multiple of the tick size. See the function in ctrade.

alas, to no avail.

        low  = iLow(Symbol(), PERIOD_W1,1);
        high = iHigh(Symbol(), PERIOD_W1,1);

low  = NormalizeDouble(SymbolInfoDouble(_Symbol,SYMBOL_ASK),_Digits);
high = NormalizeDouble(SymbolInfoDouble(_Symbol,SYMBOL_BID),_Digits); 

I did that, but it got worse for some reason.

 
statist247 #:

alas, to no avail

I did that, but it got worse for some reason.

I don't understand what the problem is, I can't find any information about it at all.

 

Help to correctly write the code in MQL5.

In mql4 it looks like this:

MaxH = High[iHighest(NULL,0,MODE_CLOSE,period,i)];

MinL = Low[iLowest(NULL,0,MODE_CLOSE,period,i)];


Used in the indicator.

 
Dz Mak #:
Are all the scripts with robots turned off, or what, you can't?

There were a lot of scammers a while back. With "100500 trading signals", farms, clouds and so on.

Now, in addition to organisational measures, developers take purely technical ones that make it difficult to copy signals (quick detection of a deal from a signal, among other things).

It is not yet known where exactly the "golden mean" will be found, so that copying is impossible and ordinary users will not suffer much.