מעודכן
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
הערות שחרור
v2Added:
BarsInLastXDaysXXX(numTradingDays)
Parameters:
numTradingDays (int)
הערות שחרור
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)
הערות שחרור
v4Added:
CloseToEarnings(max_days)
Parameters:
max_days (int)
הערות שחרור
v5הערות שחרור
v6Added:
CheckAndTriggerManualSignals(open_time, close_time, signals)
Parameters:
open_time (int)
close_time (int)
signals (array<string>)
הערות שחרור
v7Added:
TestAlertAndStrat(jsonLONG)
Parameters:
jsonLONG (simple string)
הערות שחרור
v8Updated:
TestAlertAndStrat(jsonLONG)
Parameters:
jsonLONG (string)
הערות שחרור
v9Updated:
TestAlertAndStrat(jsonLONG, jsonSHORT, long)
Parameters:
jsonLONG (string)
jsonSHORT (string)
long (bool)
הערות שחרור
v10Added:
ServerAlert(symbol, strategy_name, action, price)
Parameters:
symbol (string)
strategy_name (string)
action (string)
price (float)
הערות שחרור
v11הערות שחרור
v12הערות שחרור
v13הערות שחרור
v14כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.