Thank you for your message. It will be fixed.
mql5:
Thank you for your message. It will be fixed.
I thought these parameters were assigned in the signal script of the EA?
Thank you for your message. It will be fixed.
mql5:
Thank you for your message. It will be fixed.
Thank you for your message. It will be fixed.
Hi Mql5, May i know if the bug fix fixed? when can i get the updates for this? thank you very much.
ssn:
I thought these parameters were assigned in the signal script of the EA?
I thought these parameters were assigned in the signal script of the EA?
yes, thank you very much, ssn.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Guys,
Why did not assign value to these parameters (double price,sl,tp) in the functions CheckOpenLong() and CheckOpenShort?
//+------------------------------------------------------------------+
//| Expert.mqh |
//| Copyright ?2010, MetaQuotes Software Corp. |
//| https://www.metaquotes.net/ |
//| Revision 2010.10.08 |
//+------------------------------------------------------------------+
Line:574-617
//+------------------------------------------------------------------+
//| Check for long position open or limit/stop order set |
//| INPUT: no. |
//| OUTPUT: true-if trade operation processed, false otherwise. |
//| REMARK: no. |
//+------------------------------------------------------------------+
bool CExpert::CheckOpenLong()
{
double price,sl,tp;
datetime expiration=TimeCurrent();
//--- check signal for long enter operations
if(m_signal.CheckOpenLong(price,sl,tp,expiration))
{
if(!m_trade.SetOrderExpiration(expiration))
{
m_expiration=expiration;
}
return(OpenLong(price,sl,tp));
}
//--- return without operations
return(false);
}
//+------------------------------------------------------------------+
//| Check for short position open or limit/stop order set |
//| INPUT: no. |
//| OUTPUT: true-if trade operation processed, false otherwise. |
//| REMARK: no. |
//+------------------------------------------------------------------+
bool CExpert::CheckOpenShort()
{
double price,sl,tp;
datetime expiration=TimeCurrent();
//--- check signal for short enter operations
if(m_signal.CheckOpenShort(price,sl,tp,expiration))
{
if(!m_trade.SetOrderExpiration(expiration))
{
m_expiration=expiration;
}
return(OpenShort(price,sl,tp));
}
//--- return without operations
return(false);
}