What percentage of the money in the account can be written to the hard disk for each sub-unit? How to write
Inventors quantify - small dreams``pine // @version=5 strategy (("Percent of Equity Order", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100) This is a list of all the different ways to get the most out of an order. // A simple equilateral crossover policy longCondition = ta.crossover ((ta.sma ((close, 14), ta.sma ((close, 28)) shortCondition = ta.crossunder ((ta.sma ((close, 14), ta.sma ((close, 28)) // Buy or sell if the equilateral cross condition is satisfied if (longCondition) This is a list of all the different ways Strategy.entry is credited in the database. if (shortCondition) This is a list of all the different ways Strategy.entry is credited in the database. // After specifying default_qty_type=strategy.percent_of_equity, the default_qty_value is set to a percentage number ((0~100), 1 or 1%; the unit amount is calculated according to the number of quoted currencies in the account // For example, if the current account has 10000 USDT, set the 1% down payment to 100 USDT (based on the current price at the time of sale). What's up?
Inventors quantify - small dreamsHello, you can order by percentage of assets by referring to the PINE language documentation: > The default_qty_type parameter in https://www.fmz.com/bbs-topic/9315#strategy.