You can now write equations within an individual parameter. Almost every parameter that accepts a number or percentage as a value should now accept an equation.
The math constants provided by default are:E, LN10, LN2, LOG10E, LOG2E, PI, SQRT1_2, SQRT2
Autoview built-in variables are:balance, equity
You can create your own variables to be used in equations, these must be at the top of your alert::var=2
Equation examples:[balance * pi], [equity ^ e], [200 / 100 * balance], [100 - {{plot('openTrades')}}]
q=[balance] is the same as q=100%
q=[equity] is the same as q=100% y=equity
q=[equity/10] is the same as q=10% y=equity
q=[equity/10]-[equity/2] is the same as q=10%-50% y=equity
q=[balance * var] is the same as q=[balance * 2]
Comments
0 comments
Article is closed for comments.