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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?