PINE LIBRARY
Zaktualizowano MyLibrary001

Library "MyLibrary001"
Library for calculating the number of bars in the last X trading days
BarsInLastXDays(numTradingDays)
BarsInLastXDays
description Calculates the number of bars in the last X trading days
Parameters:
numTradingDays (int): int Number of trading days to consider
Returns: tuple(float, float) A tuple with the number of bars and the bar duration
Library for calculating the number of bars in the last X trading days
BarsInLastXDays(numTradingDays)
BarsInLastXDays
description Calculates the number of bars in the last X trading days
Parameters:
numTradingDays (int): int Number of trading days to consider
Returns: tuple(float, float) A tuple with the number of bars and the bar duration
Informacje o Wersji
v2Added:
BarsInLastXDaysXXX(numTradingDays)
Parameters:
numTradingDays (int)
Informacje o Wersji
v3Added:
InTimeRange(my_start, my_finish, my_time)
Parameters:
my_start (int)
my_finish (int)
my_time (int)
isWithinLastInterval(my_time, my_time1)
Parameters:
my_time (int)
my_time1 (int)
Removed:
BarsInLastXDaysXXX(numTradingDays)
Informacje o Wersji
v4Added:
CloseToEarnings(max_days)
Parameters:
max_days (int)
Informacje o Wersji
v5Informacje o Wersji
v6Added:
CheckAndTriggerManualSignals(open_time, close_time, signals)
Parameters:
open_time (int)
close_time (int)
signals (array<string>)
Informacje o Wersji
v7Added:
TestAlertAndStrat(jsonLONG)
Parameters:
jsonLONG (simple string)
Informacje o Wersji
v8Updated:
TestAlertAndStrat(jsonLONG)
Parameters:
jsonLONG (string)
Informacje o Wersji
v9Updated:
TestAlertAndStrat(jsonLONG, jsonSHORT, long)
Parameters:
jsonLONG (string)
jsonSHORT (string)
long (bool)
Informacje o Wersji
v10Added:
ServerAlert(symbol, strategy_name, action, price)
Parameters:
symbol (string)
strategy_name (string)
action (string)
price (float)
Informacje o Wersji
v11Informacje o Wersji
v12Informacje o Wersji
v13Informacje o Wersji
v14Biblioteka Pine
W duchu TradingView autor opublikował ten kod Pine jako bibliotekę open-source, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla autora! Możesz używać tej biblioteki prywatnie lub w innych publikacjach open-source, ale ponowne wykorzystanie tego kodu w publikacjach podlega Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Biblioteka Pine
W duchu TradingView autor opublikował ten kod Pine jako bibliotekę open-source, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla autora! Możesz używać tej biblioteki prywatnie lub w innych publikacjach open-source, ale ponowne wykorzystanie tego kodu w publikacjach podlega Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.