This commit is contained in:
Dobromir Popov
2024-01-12 15:38:26 +02:00
parent 40968f95ad
commit 5af8896e40
2 changed files with 68 additions and 42 deletions

View File

@ -26,6 +26,9 @@ tci = ta.ema(ci, n2)
wt1 = tci
wt2 = ta.sma(wt1, 4)
//calculate obv
obv = ta.obv(close, volume)
// Initialize points for BTCUSDT.P
longPointsRSIBTC = close > close[1] ? 1 : 0
shortPointsRSIBTC = close < close[1] ? 1 : 0