Pete_N / Publications
Forum
Bug Report - Build 2715 - ExpertSignal.mqh CheckOpenLong & CheckCloseLong
Hi, If you open a pending short position by setting a m_base_price value, then the m_base_price gets set to 0.0 in CheckOpenLong (before CheckOpenShort gets called to use the value): bool CExpertSignal::CheckOpenLong(double &price,double &sl,double &tp,datetime &expiration) { bool result