---
title: "Comment by Arnold Holm on \"We tested 1,000 random trading rules on gold: how many look great?\" | Hashnode"
description: "For a reversal from +1 to -1, does the cost calculation multiply by abs(new_position - old_position), so it charges two units rather than one? I would add three"
url: "https://hashnode.com/posts/we-tested-1-000-random-trading-rules-on-gold-how-many-look-great/6ade0424ba9692b180a8df15/comment/6ade112aba9692b180a91ebe"
---

[Discussion](https://hashnode.com/posts/we-tested-1-000-random-trading-rules-on-gold-how-many-look-great/6ade0424ba9692b180a8df15)

Comment [We tested 1,000 random trading rules on gold: how many look great?](https://hashnode.com/posts/we-tested-1-000-random-trading-rules-on-gold-how-many-look-great/6ade0424ba9692b180a8df15)

[Arnold Holm](https://hashnode.com/@stratcorealpha)

[Oct 25](https://hashnode.com/posts/we-tested-1-000-random-trading-rules-on-gold-how-many-look-great/6ade0424ba9692b180a8df15/comment/6ade112aba9692b180a91ebe)

For a reversal from +1 to -1, does the cost calculation multiply by abs(new\_position - old\_position), so it charges two units rather than one? I would add three small fixtures: flat to long, long to flat, and long to short, each with a fixed bid/ask and zero slippage. The reversal should cost exactly the same as closing the long and opening the short at that quote. Publishing that check alongside the script would make the position-change cost convention much easier to audit.
