Mahdi_Fatemi1998

PSESS1 - Learn PineScript Inputs

Mahdi_Fatemi1998 Güncellendi   
This is a script written exclusively for people who are trying to learn Pine Script.

PSESS stands for "Pine Script Educational Script Series" which is a series of scripts that helps Pine Script programmers in 2 ways:
  • 1. Learn Pine Script at more depth by an interactive environment where they can immediately see the effects of any change in the pre-written code and also comparing different lines code having tiny differences so they can grasp the details.
  • 2. Have this script open while coding in order to copy the line they find useful

Pine Script Library couldn't be used for this purpose since this script has educational aspect and needs to be executable individually.

This is Script 1 of PSESS and focuses on inputs in Pine Script.
The script is densly commented in order to make it understandable. here is the outline of the script:


1. Inputs that can be received through the indicator() function
2. 12 possible types of input
3. Input() function arguments: defval - title - tooltip - inline - group - confirm
4. The different display of tooltip when inputs are inline
5. Multiple price and time inputs (on single request or multiple requests)
6. What happens when title argument is not specified
7. References and key points from them
Sürüm Notları:
There were wrong instructions on lines 78-79

The empty string in title argument makes any input title to be shown as an empty string not only the color type.
Sürüm Notları:
Names of variables changed to be compatible with PineScript Style guide:
https://www.tradingview.com/pine-script-docs/en/v5/writing/Style_guide.html#naming-conventions
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

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.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?