QnzLAMBONE

DCA Calculator

QnzLAMBONE 已更新   
Dollar Cost Averaging (DCA) is a strategy used to invest fixed amounts of money over given time intervals. It is typically used to grow an asset over time, while also reducing the risk that comes with volatility of the market.

This script was made to help make it easier to calculate Take Profit (%) when using Safety Orders on 3Commas. By using safety orders you can average down your initial investment which in turn brings down your Profit Target. A couple of the settings should look familiar if you've used 3Commas Bots before.

Input Settings

  • Bot Type: Select whether you are using a "Long" or "Short" bot.

  • Entry Price: Set this to your positions initial Entry Price.

  • Take Profit (%): Set this to the profit percent you are targeting.

  • Base Order Size: Order amount of your initial Entry.

  • Safety Order Size: Order amount of your first Safety Order.

  • Price Deviation (%): Step in percent from your initial order. This will be the deviation % of your first safety order

  • Safety Trades Count: Total number of safety orders to be used. Max value is currently 10.

  • Volume Scale: Volume of each additional safety order is multiplied by this value.

  • Step Scale: Step between each additional safety order is multiplied by this value.

  • Trading Fee (%): A fee is applied for each order that gets placed, then the total of those fees is added to the Take Profit (%). The trading fee depends on your exchange, but is typically between (0.1 to 0.15%).

  • Manual Safety Orders: For the manual safety orders, the checkbox will enable that specific safety order. You can set the "Entry Price" and "Order Size" of each one individually.
版本注释:
  • Updated to Pinescript V5
  • Removed Trading Fee setting, as this indicator should really be used to estimate where to place your next safety trade rather than simulate a 100% accurate position with trading fees. Besides it just adds unnecessary complication to the simple math of the script.
  • Adjusted how the safety order price's get calculated, previously they were being calculated from the last safety order, now all safety orders are calculated from the initial base order price. But you probably won't even see a difference in functionality.
受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?