all compiling

This commit is contained in:
Dobromir Popov
2024-01-12 17:39:10 +02:00
parent 5afee8e343
commit 39e2dba692
3 changed files with 46 additions and 2 deletions

View File

@ -34,6 +34,11 @@ obv := close > close[1] ? obv + volume : close < close[1] ? obv - volume : obv
mfiLength = input(7, title="MFI Length")
mfiValue = ta.mfi(close, mfiLength)
timeStr = str.tostring(time(timeframe.period, "YYYY-MM-DD HH:mm:ss"))
closeStr = str.tostring(close)
log.info("time: " + timeStr + " close: " + closeStr)
// Initialize points for BTCUSDT.P
longPointsRSIBTC = close > close[1] ? 1 : 0
shortPointsRSIBTC = close < close[1] ? 1 : 0