128: IF THEN ELSE Condition is working improperly ?

Hi,

I am sending an EA as an attachment. This consists of two rules. The first B1 rule opens a position per market order. If this first market order is minus 50 pips, a second market order is opened in B2 rule. The second order must have the same lotsize as the first order because the conditions for B2 are true under the IF Conditions. Unfortunately the THEN ACTION is not carried out in B2 but only the ELSE ACTION. What conditions must be in place for THEN ACTION to open a market order that has the lot size of the first. The lotsize is calculated in Assign variable.

I don't know if my logic is wrong or the software?
Attachments
6b1.sqx
(8.73 KiB)
FirstLotsize x 1.jpg
(73.92 KiB)
List of trades.jpg
(74.20 KiB)
  • Votes 0
  • Project AlgoWizard
  • Type Feature
  • Status New
  • Priority Normal

History

Dw
#1

Diwi

27.06.2020 14:22

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