Tanmay Iqoption Indicator
Tanmay Iqoption Indicator
Tanmay Iqoption Indicator
input_group {
"GO UP BABY",
comprar_color = input {default = "green", type = input.color}
}
input_group {
"Periodo Max/Min",
doch_time = input {default = "30", type = input.string}
}
input_group {
"Periodo m1",
emaa_per = input {default = "21", type = input.string}
}
input_group {
"Period",
emab_per = input {default = "200", type = input.string}
}
input_group {
"hgh",
emac_per = input {default = "7", type = input.string}
}
input_group {
"length",
emad_per = input {default = "17", type = input.string}
}
input_group {
"GO DOWN BABY",
vender_color = input {default = "red", type = input.color}
}
input_group {
"Resistance",
upline_color = input {default = "red", type = input.color}
}
input_group {
"Support",
lowline_color = input {default = "green", type = input.color}
}
input_group {
"Candles",
positivo = input { default = "green",type = input.color },
neutro = input { default = "white", type = input.color },
negativo = input { default = "red", type = input.color },
}
--PARAMETROS
EMAA = ema(close,emaa_per)
EMAB = ema(close,emab_per)
EMAC = ema(hlc3,emac_per)
EMAD = ema(hlc3,emad_per)
upper = highest (high, doch_time)
lower = lowest (low, doch_time)
--CALCULOS
TA = ((close > close[1]) and (close > EMAA) and (EMAA > EMAA[1]))
TB = ((close < close[1]) and (close < EMAA) and (EMAA < EMAA[1]))
ENC = ((EMAC[1] < EMAD[1]) and (EMAC > EMAD))
ENV = ((EMAC[1] > EMAD[1]) and (EMAC < EMAD))
local bar_color
--NEGOCIAO
plot_shape((ENV),
"GO DOWN BRO",
shape_style.arrowdown,
shape_size.huge,
vender_color,
shape_location.abovebar,
0,
"GO DOWN BABY",
vender_color)
plot_shape((ENC),
"GO UP BABY",
shape_style.arrowup,
shape_size.huge,
comprar_color,
shape_location.belowbar,
0,
"GO UP BABY",
comprar_color)
end