TradingView
DayTradingItalia
17 Ara 2016 12:45

Min/Max Value Multiple Series Function 

Bitcoin / U.S. dollarBitstamp

Açıklama

Trying different solutions to find the minimum/maximum value in a set of predefined series
Yorumlar
coward_
You didnt defined arrayLen ?
coward_
@coward_, oh my bad.
coward_
@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
Your script always yield 1.000 and 3.000 as the extreme points. This is not a real indicator.
B120626
@cm45t3r, LOL!
Daha Fazla