multioutput indicators #15 + talib custom indicator support

This commit is contained in:
David Brazda
2024-01-16 15:17:14 +01:00
parent 5d47a7ac58
commit c1145fec5b
28 changed files with 598 additions and 141 deletions

View File

@ -10,7 +10,7 @@ from collections import defaultdict
from v2realbot.strategyblocks.indicators.helpers import value_or_indicator
#strength, absolute change of parameter between current value and lookback value (n-past)
#used for example to measure unusual peaks
def rsi(state, params, name):
def rsi(state, params, name, returns):
req_source = safe_get(params, "source", "vwap")
rsi_length = safe_get(params, "length",14)
start = safe_get(params, "start","linear") #linear/sharp