TradingView
DayTradingItalia
Dec 17, 2016 12:45 PM
Min/Max Value Multiple Series Function
BITSTAMP:BTCUSD
1
Bitcoin / U.S. dollar
Bitstamp
Description
⋅
Dec 17, 2016 12:45 PM
Trying different solutions to find the minimum/maximum value in a set of predefined series
MIN
MAX
series
multiple
set
function
maximum
Comments
coward_
⋅
Sep 13, 2018 7:58 PM
You didnt defined arrayLen ?
coward_
⋅
Sep 13, 2018 8:00 PM
@coward_
, oh my bad.
coward_
⋅
Sep 13, 2018 8:33 PM
@coward_
,
Use this to get exactly value. Since TV is equaling last index value.. So you have to start with "0"
array(index) =>
index==0 ? a : index == 1 ? b :
index == 2 ? c : index == 3 ? d : na
maxf(arrayLen) =>
max = array(0)
for i = 0 to arrayLen-1
max := max(max,array(i))
max
l4pl4c14n
⋅
Mar 13, 2017 5:50 AM
Your script always yield 1.000 and 3.000 as the extreme points. This is not a real indicator.
B120626
⋅
Nov 2, 2018 1:06 PM
@cm45t3r, LOL!
More