Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
529 views2 pages

Script Exnova

The document outlines a trading script for a financial instrument called 'ExNova Retração' that utilizes various input parameters for plotting levels and signals. It includes methods for analyzing price movements on 15-minute and 5-minute intervals, with visual indicators for buying and selling opportunities based on calculated bands. The script allows customization of colors and line widths for better visualization of trading signals.

Uploaded by

aaslogico
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
529 views2 pages

Script Exnova

The document outlines a trading script for a financial instrument called 'ExNova Retração' that utilizes various input parameters for plotting levels and signals. It includes methods for analyzing price movements on 15-minute and 5-minute intervals, with visual indicators for buying and selling opportunities based on calculated bands. The script allows customization of colors and line widths for better visualization of trading signals.

Uploaded by

aaslogico
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

instrument { name = "ExNova Retração", icon="indicators:ADX", overlay = true }

method_id = input (1, "Type", input.string_selection, { "FREDSONC._M15" })

input_group {
"Maxima",
level_1_color = input { default = "red", type = input.color },
level_1_width = input { default = 2, type = input.line_width }
}

input_group {
"Minima",
level_2_color = input { default = "green", type = input.color },
level_2_width = input { default = 2, type = input.line_width }
}

local function m15(candle)

c1 = candle.high
c2 = candle.low
end

local methods = { m15 }


local resolution = "15m"
sec = security (current_ticker_id, resolution)

if sec then
local method = methods [method_id]
method (sec)

plot (c1, "C1", level_1_color, level_1_width, 0, style.levels,


na_mode.continue)
plot (c2, "C2", level_2_color, level_2_width, 0, style.levels,
na_mode.continue) --EXNOVA SCRIPT HAOAN,SD 9870DFS DS87SDF BDSJBJSDF8 DFNS--

end

instrument { name = "Exnova", overlay = true }

input_group {
"COMPRAR",
comprar_color = input {default = "Lime", type = input.color}
}

input_group {
"VENDER",
vender_color = input {default = "Red", type = input.color}
}

sec = security (current_ticker_id, "5m")

if sec and sec.open_time == open_time then

base = sma(close, '2')


high_band = base + (stdev(open, 2) *0.1)
low_band = base - (stdev(open, 2) *0.1)
media = sma(close, '2')
up_band = media + (stdev(close, 2) * 0.1)
down_band = media - (stdev(close, 2) * 0.1)
expo = ema(close,'2')
plot_shape((open > high_band and close < high_band),
"VENDER",
shape_style.arrowdown,
shape_size.large,
vender_color,
shape_location.abovebar,
0,
"ExNova VENDA ",
vender_color)

plot_shape((open < low_band and close > low_band),


"COMPRAR",
shape_style.arrowup,
shape_size.large,
comprar_color,
shape_location.belowbar,
0,
"ExNova COMPRA ",
comprar_color)
end

You might also like