comments & logs
This commit is contained in:
@ -35,9 +35,12 @@ mfiLength = input(7, title="MFI Length")
|
||||
mfiValue = ta.mfi(close, mfiLength)
|
||||
|
||||
|
||||
timeStr = str.tostring(time(timeframe.period, "YYYY-MM-DD HH:mm:ss"))
|
||||
var logMessage = barTimeStr + "| Symbol: " + symbol + ", Long: " + str.tostring(longPoints) + ", Short: " + str.tostring(shortPoints)
|
||||
log.info(logMessage)
|
||||
|
||||
barTimeStr = str.format_time(time, "yyyy-MM-dd HH:mm:ss", "Europe/Sofia")
|
||||
closeStr = str.tostring(close)
|
||||
log.info("time: " + timeStr + " close: " + closeStr)
|
||||
log.info(barTimeStr + " close: " + closeStr)
|
||||
|
||||
// Initialize points for BTCUSDT.P
|
||||
longPointsRSIBTC = close > close[1] ? 1 : 0
|
||||
|
Reference in New Issue
Block a user