Questions from Beginners MQL4 MT4 MetaTrader 4 - page 257

 
JRandomTrader #:

Are all three connected to the same broker/dealer server? (I.e. is the story the same?) If not, that's the first place to dig.

yes. same broker, same accounts.
 
Zalevsky1234 #:
yes. one broker, same accounts.

Does this broker have one server? The opener, for example, has 8 (available).

 
Zalevsky1234 stop loss or false triggering.

Hardware is not new, but not old.

Has anyone had any problems with it?

Different connection, different speed of computers... so the results may be different. Somewhere the tick has arrived, somewhere not yet, maybe even lost. Bid,Ask are different, prices have changed while orders were coming back, slipped and so on.

if they got the same result, that would be amazing :-)

 

Greetings. Can you give me a hint? Is history profiling disabled in mt4 or am I doing something wrong?


 
Andrey Sokolov #:

Greetings. Can you give me a hint? Is history profiling disabled in mt4, or am I doing something wrong?


It's just not there.

 

Please help insert the pause function into the EA.

input bool   p          = false; // задействовать паузу или нет 
input string TimeStart  = "00:00"; // время старта паузы 
input string TimeEnd    = "00:00"; // конец паузы

//+------------------------------------------------------------------+

datetime StartPause,EndPause;

//+------------------------------------------------------------------+

StartPause = StrToTime(TimeStart);   EndPause   = StrToTime(TimeEnd);

//+------------------------------------------------------------------+

if((p && StartPause < EndPause && (TimeCurrent() > StartPause &&  TimeCurrent() < EndPause)))
{
            Comment("Пауза в работе советника");
            return;
}

if((p && StartPause > EndPause && (TimeCurrent() > StartPause ||  TimeCurrent() < EndPause)))
{
            Comment("Пауза в работе советника");
            return;
}
Files:
IM_Go.mq4  13 kb
 
Hi all, does anyone have the MT4 installer fromhttps://www.metatrader4.com/?
 
vinstroks #:
Hi all, does anyone have the mt4 installer fromhttps://www.metatrader4.com/?

It may be better to download mt4 from a broker such as alpari.

 

Hi all!

Can someone tell me how to get the value for tick price and tick size correctly

When getting this for the symbol

   double tick_value = MarketInfo(name, MODE_TICKVALUE);
   double tick_size = MarketInfo(name, MODE_TICKSIZE);

Sometimes the received values differ from the actual values.

Does anyone know what this is about?

 
OlgaKom #:

Hi all!

Can someone tell me how to get the value for tick price and tick size correctly

When getting this for the symbol

Sometimes the received values differ from the actual values.

Does anyone know what it's related to?

It most likely has to do with how you are counting.

Reason: