OPEN-SOURCE SCRIPT
AVG position price

This is a simple script that can show the average price of your position.
You can use up to 5 levels of averaging.
Use sum or amount setting - default - amount - you must enter price and amount - for example, your first purchase was - 0.1 bitcoin at 47000, second one - 0.2 btc at 45000 , so you must use this numbers.
Or you can choose "sum" - For example, you want to see what the average price of your position will be if you buy bitcoin for $ 1000 at the level of 47000 and later buy in addition for 2000 at the level of 46000 and another 2000 at the level of 43000.
__________________________________
Скрипт, показывающий среднюю точку входа в позицию.
В настройках необходимо выбрать:
- "amount" если вы знаете точное количество приобретаемого актива - например покупаете 0.1 биткоина на уровне 47000, далее докупаете 0.2 биткоина на 45к итд.
- "sum" если расчет идет исходя из суммы покупки - например взяли на 1к по 47000, дальше на 2к по 45к и еще на 2к по 40000
You can use up to 5 levels of averaging.
Use sum or amount setting - default - amount - you must enter price and amount - for example, your first purchase was - 0.1 bitcoin at 47000, second one - 0.2 btc at 45000 , so you must use this numbers.
Or you can choose "sum" - For example, you want to see what the average price of your position will be if you buy bitcoin for $ 1000 at the level of 47000 and later buy in addition for 2000 at the level of 46000 and another 2000 at the level of 43000.
__________________________________
Скрипт, показывающий среднюю точку входа в позицию.
В настройках необходимо выбрать:
- "amount" если вы знаете точное количество приобретаемого актива - например покупаете 0.1 биткоина на уровне 47000, далее докупаете 0.2 биткоина на 45к итд.
- "sum" если расчет идет исходя из суммы покупки - например взяли на 1к по 47000, дальше на 2к по 45к и еще на 2к по 40000
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.