This indicator is intended to simulate a second entry to adjust the average price.
INPUTS: Current price || Coins -> Current price, your first entry || Initial amount of coins Simulate entry || Coins -> New entry, from this entry the average price will be calculated || new amount of coins Simulate partial % || Coins -> Percentage over current price or average price || Amount of coins withdrawn
* Currency conversion Value $ || Target price -> amount or coins, example: 25 dolar or 25 busd || Acquisition target price, returns desired coin amount, visible in table.
Table information: simbol = current symbol current price = First entry price total coins = Total coins from first entry profit or loss = self explanatory update value = increases or decreases according to profit or loss Partial profit = partial simulation result, $ ⮕ ₿ = total amount of currencies in the conversion
نص برمجي مفتوح المصدر
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.