Weight is an added feature in the Signal selection. How is it calculated? Is it used to determine the order in selecting signals? Is it used to determine which signals are NSF? Can we "modify" the weight based on other Values eg ADX>
Rename
Please see Weight either in the QuickRef or in online manual:
https://www.wealth-lab.com/Support/ApiReference/Transaction
https://www.wealth-lab.com/Support/ApiReference/Transaction
If my C# code below does not explicitly assign transaction weights, ...
CODE:... then how does WL assign these weights to the signal column below? Does it simply pick numbers at random for the weights? Or are these weights for something else entirely?
if (dxSmoothed[bar] < 37.0 && vossPredictorVelocityNorm[bar] > vossPredictVelNormThres[bar] //<33.5 && vossPredictorVelocity[bar] > vossPredictVelThres[bar] && dxSmoothed[bar] > dxSmoothedThres[bar] //very predictive, but timing lagging && mfoConsecUp[bar] > 0.0 { Transaction t = PlaceTrade(bars, TransactionType.Buy, OrderType.Stop, bars.Close[bar], "Voss predictor buy"); t.SetPositionMetric("merit rank", dxSmoothedThres.MeritRank(bar)); //t.SetPositionMetric("Voss Predictor Velocity", vossPredictorVelocity[bar]); }
Randomly
Your Response
Post
Edit Post
Login is required