Советники: Trailing Panel

 

Trailing Panel:

Советник выполняющий трейлинг по текущему символу с настройками Magic number. Панель строится на базе класса CDialog.

Trailing Panel

Автор: Vladimir Karputov

 
small problem with your code, trailing is enabled even if button is paused, kindly check, also when ea starts, trailing is automatic, even when button is not activated.
 
SpaceX :
small problem with your code, trailing is enabled even if button is paused, kindly check, also when ea starts, trailing is automatic, even when button is not activated.

This cannot be, since the panel controls the state of the button:

//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void CControlsDialog::OnTickPanel(void)
  {
   if(m_button_pause_start.Pressed())
      return;
//---