- ago
The help says:

"Transactions are sorted by this value during the backtest process, so higher values here will result in a higher priority."

But when I compose a system of blocks and write, for example:

"Weight Indicator" -- Close
"Weight Prioritization" -- Highest Values

And then I "Open as C# Coded Strategy" there I see:

CODE:
_transaction = PlaceTrade(bars, TransactionType.Buy, OrderType.Market, 0, 0); _transaction.Weight = weight[index] * -1;


It turns out that the priority is given to lower values, and not to higher?
0
401
5 Answers

Reply

Bookmark

Sort
- ago
#1
You're right! Very sorry that slipped through, I'm fixing it for Build 2.
0
Cone7
- ago
#2
I think you're right. There's something wrong there. We'll look into it!

... and I can't delete my post - another bug :D
0
- ago
#3
You could edit it and erase all the text!
0
- ago
#4
My backtests are clearly choosing higher Weight.
0
- ago
#5
Hey Len, Higher weight is correct with WL7. It's the Transaction Weight Building Block that is erroneously reversed.
0

Reply

Bookmark

Sort