PROTECTED SOURCE SCRIPT
已更新 Average Entry [BVCC]

Allow for input of up to 5 different entry prices and will calculate and print your average entry.
Choose 'auto calculate sat value' to input whole numbers for btc entries (e.g. input 292 instead of .00000292)
Simply deselect this option if working with a different base pair (ETH, USD, BNB and so on)
You will also need to manually select the number of entries that you are tracking from the selection box at the top of the dialogue.
It will show your entries as dotted black lines and will plot your average entry as a large green line.
If you partially exit a position, I believe you can manually subtract the number of coins sold from the lowest entry, once it is at 0, you can then move to the next lowest to continue subtracting coins. I am not 100% sure on this, so please let me know in the comments or otherwise contact me for suggestions or improvements you would like to see. This is just a proof of concept so that I can get something working in the real world and tweak it from there.
Choose 'auto calculate sat value' to input whole numbers for btc entries (e.g. input 292 instead of .00000292)
Simply deselect this option if working with a different base pair (ETH, USD, BNB and so on)
You will also need to manually select the number of entries that you are tracking from the selection box at the top of the dialogue.
It will show your entries as dotted black lines and will plot your average entry as a large green line.
If you partially exit a position, I believe you can manually subtract the number of coins sold from the lowest entry, once it is at 0, you can then move to the next lowest to continue subtracting coins. I am not 100% sure on this, so please let me know in the comments or otherwise contact me for suggestions or improvements you would like to see. This is just a proof of concept so that I can get something working in the real world and tweak it from there.
版本注释
Minor bug fix受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。