MQL5 generated variable conflict.

//------------------------
// Rule: Short Entry
//------------------------
   if (_sqIsBarOpen == true
      &&   (!sqTradeRecentlyClosed("Current", MagicNumber, true, true)
      &&   ((NormalizeDouble((double) sqGetMarketPositionCount("Current", MagicNumber, 0, ""), 6) == NormalizeDouble((double) Number, 6))
      &&   indyCrossesAbove("sqLow(NULL,0, Shift)", ICHIMOKU_1, 0, IchimokuShift, 0, 1)))
)
   {
      // Action #1
        // Enter at Stop
      openPrice = (sqLow(NULL,0, Shift) + (Number * sqConvertToRealPips("Current", Number2)));

Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

n
#1

notch

03.03.2019 14:32

Task created


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please