When one rule is using another rule, a change in rule it is not automatically updated

Post Reply
Tomasz Kot
Posts: 72
Joined: Sun Dec 18, 2022 8:09 pm

When one rule is using another rule, a change in rule it is not automatically updated

Post by Tomasz Kot »

Let's say you have:
Rule1 (for example Entry Rule that you open the trade under some conditions)
Rule2 used in Rule1 (for example defining a core rule as "Low - Size of bar multiplied by input 2", defining SL for Rule1).

Let's say you are doing Backtest with manual trades.
During a certain time (candle) you click on your Rule1 to open the trade. everything is ok, SL is "Low - Size of bar multiplied by input 2" as defined in Rule2.
Then you decide to change input in Rule2 from 2 to 3. You make a change in Rule 2 and save it.
You click Rule1 again to open the trade, but the result is that the second trade also have the same SL, with multiplier 2 (instead of updated 3).

After some tests I found that you have to either:
- move to the next candle and it will be updated
- save also Rule1 (even though you changed only Rule2) and it will be updated

The manual workaround is easy (but only if you know that you have to save both Rules, not only the one you changed), but it would be much more intuitive to update Rule1 correct behaviour directly after Rule2 changes are saved.
Admin
Site Admin
Posts: 194
Joined: Mon Feb 21, 2022 3:03 pm

Re: When one rule is using another rule, a change in rule it is not automatically updated

Post by Admin »

Thanks for reporting this bug.
It has been fixed in the latest version.
Post Reply