Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 207

 
Vyacheslav Kornev:

I need to take the price, and then modulo calculate the difference and that's it( Bid - Pris_lin)


OK

if (St==7)
  {
     double Pris_Lin=ObjectGetDouble(0,"Опорная цена", OBJPROP_PRICE,0);
     Lots0=(L(OP_SELL)+MathAbs(Bid-Pris_Lin)/Step*Lotsc;  
     
     .....................
     if (Op_Pr>=Bid)
        Lots0=L(OP_SELL);
     if (Lotsc>Lots0) Loys0=Lotsc;
  }
 

Hi all!
I have a problem, I want to install MetaTrader4 as well as MetaEditor4
I have downloaded mql4setup, but mt5 and mql5 are installed
Where can I download the MQL4-editor?

Attached a screenshot of what is installed after running mql4setup
Thanks in advance!

Files:
Capture.PNG  17 kb
 
Thank you
 
slavikzdes:

Hi all!
I have a problem, I want to install MetaTrader4 as well as MetaEditor4
I have downloaded mql4setup, but mt5 and mql5 are installed
Where can I download the MQL4-editor?

Attached a screenshot of what is installed after running mql4setup
Thanks in advance!

Download it from your brokerage company.
 
-Aleks-:

Swing at the DC.


What is a DC?



 
slavikzdes:


What is a DC?

It is where you will trade
 
so the editors are almost the same, you can compile for both mt4 and mt5, the only difference is support for older operators...
 
mila.com:

And normalise what? The current price, and then compare..... with what?

I don't knowwhat you're talking about
.

I am saying that if the price is 1.7125 then the normalized to 2 digits is exactly 1.7100

If before the price was less than 1.7100 and became more than 1.7100 then that is the fact of the crossing.

But!!! I did not say "tried" for nothing. If the price is 1.7162, the normalized price can be 1.7200 and then you must use discarding of unnecessary signs instead of normalization.

 
slavikzdes:


What is a DC?

A dealing centre is where you put your money to trade.
 
Vitaly Muzichenko:

Challenge

Thank you very much.

Reason: