Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
31 views
1 page
Newscript 2
U
Uploaded by
lzintrader10
AI-enhanced title
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
Download
Save
Save newscript 2 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
31 views
1 page
Newscript 2
U
Uploaded by
lzintrader10
AI-enhanced title
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
Carousel Previous
Carousel Next
Download
Save
Save newscript 2 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 1
Search
Fullscreen
instrument { name = "King", overlay = true, icon = "indicators:MA" }--SMA_period =
input(21, "SMA Period", input.integer, 1)EMA_period = input(5, "EMA Period",
input.integer, 1)-- sma_value = sma(close, SMA_period)ema_value = ema(close,
EMA_period)-- function crossover(series1, series2) return (series1[1] <=
series2[1] and series1 > series2)end-- function crossunder(series1, series2)
return (series1[1] >= series2[1] and series1 < series2)end-- sma_below_price =
close > sma_valuered_green_green = close[3] < open[3] and close[2] > open[2] and
close[1] > open[1]ema_crosses_above_sma = crossover(ema_value, sma_value)buy_signal
= (sma_below_price and red_green_green) or ema_crosses_above_sma--sma_above_price =
close < sma_valuegreen_red_red = close[3] > open[3] and close[2] < open[2] and
close[1] < open[1]ema_crosses_below_sma = crossunder(ema_value,
sma_value)sell_signal = (sma_above_price and green_red_red) or
ema_crosses_below_smainput_group { "Line", smacolor = input { default =
"purple", type = input.color }, smawidth = input { default = 2, type =
input.line_width}, emacolor = input { default = "yellow", type = input.color },
emawidth = input { default = 2, type = input.line_width} }plot(sma_value,
"SMA", smacolor, smawidth)plot(ema_value, "EMA", emacolor, emawidth)--
plot_shape(buy_signal and not ema_crosses_above_sma, "Buy", shape_style.triangleup,
shape_size.large, 'green', shape_location.belowbar, 0, '(KING)',
'white')plot_shape(buy_signal and ema_crosses_above_sma, "Buy EMA-SMA",
shape_style.triangleup, shape_size.large, 'purple', shape_location.belowbar, 0,
'Compra (KING)', 'yellow')plot_shape(sell_signal and not ema_crosses_below_sma,
"Sell", shape_style.triangledown, shape_size.large, 'red', shape_location.abovebar,
0, '(KING)', 'white')plot_shape(sell_signal and ema_crosses_below_sma, "Sell EMA-
SMA", shape_style.triangledown, shape_size.large, 'purple',
shape_location.abovebar, 0, 'Venda (KING)', 'yellow')--[[ Indicador King
Desenvolvido por: Vitor Cruz Descrio: Este indicador fornece sinais de compra e
venda com base em EMA e SMA cross.]]
You might also like
Pro v3
PDF
100% (2)
Pro v3
23 pages
NasAlgo V3
PDF
No ratings yet
NasAlgo V3
25 pages
Pieki Algo Signals Overlays v.2.5
PDF
No ratings yet
Pieki Algo Signals Overlays v.2.5
60 pages
Supersetup 1.5 Full
PDF
100% (1)
Supersetup 1.5 Full
9 pages
Super Algo
PDF
No ratings yet
Super Algo
12 pages
Pegasus6 6
PDF
100% (1)
Pegasus6 6
3 pages
Algo Trend
PDF
No ratings yet
Algo Trend
26 pages
Kve - Indicator 20.06
PDF
No ratings yet
Kve - Indicator 20.06
63 pages
INDICADOR-GRINGO
PDF
No ratings yet
INDICADOR-GRINGO
2 pages
Trend Meter
PDF
No ratings yet
Trend Meter
13 pages
Script Purple Win 150$ Free - Gratis Telegram @comunidadgratis
PDF
100% (1)
Script Purple Win 150$ Free - Gratis Telegram @comunidadgratis
5 pages
Theory Signal Indicator
PDF
No ratings yet
Theory Signal Indicator
6 pages
Ultra Algo
PDF
No ratings yet
Ultra Algo
12 pages
1 4956582049893844442
PDF
No ratings yet
1 4956582049893844442
2 pages
Indicador King
PDF
No ratings yet
Indicador King
2 pages
18 - Ultra Algo
PDF
No ratings yet
18 - Ultra Algo
5 pages
Indicador Brunão 01
PDF
No ratings yet
Indicador Brunão 01
2 pages
Strategy
PDF
No ratings yet
Strategy
10 pages
Crossovers, MACD With Signals
PDF
No ratings yet
Crossovers, MACD With Signals
4 pages
Pegasus6 6
PDF
No ratings yet
Pegasus6 6
3 pages
FIB OSC COMBINEDversion
PDF
No ratings yet
FIB OSC COMBINEDversion
3 pages
MA Crossover Signals
PDF
No ratings yet
MA Crossover Signals
1 page
Banana For Camel
PDF
No ratings yet
Banana For Camel
28 pages
Mercada V1
PDF
No ratings yet
Mercada V1
2 pages
TM23 Confirmation Pro
PDF
No ratings yet
TM23 Confirmation Pro
4 pages
Trade Algo Dut
PDF
No ratings yet
Trade Algo Dut
11 pages
Alpha Trend
PDF
No ratings yet
Alpha Trend
2 pages
Temp 024439
PDF
No ratings yet
Temp 024439
3 pages
TraderXO Macro Trend Scanner
PDF
No ratings yet
TraderXO Macro Trend Scanner
3 pages
Kyal
PDF
No ratings yet
Kyal
19 pages
Trendmeter Breakeven
PDF
No ratings yet
Trendmeter Breakeven
14 pages
Cross Road
PDF
No ratings yet
Cross Road
3 pages
MACD COM POiNtS
PDF
No ratings yet
MACD COM POiNtS
4 pages
Pegasus @rzimtrader
PDF
No ratings yet
Pegasus @rzimtrader
3 pages
Rrrsi
PDF
No ratings yet
Rrrsi
8 pages
Newscript
PDF
No ratings yet
Newscript
2 pages
Salmon Script
PDF
No ratings yet
Salmon Script
2 pages
Message
PDF
No ratings yet
Message
8 pages
Macd Crossover Indicator
PDF
No ratings yet
Macd Crossover Indicator
1 page
Multiples Indicadores V2
PDF
No ratings yet
Multiples Indicadores V2
32 pages
Alpha Max
PDF
No ratings yet
Alpha Max
2 pages
Frost Algo Version 3.0 - R-Engineered
PDF
No ratings yet
Frost Algo Version 3.0 - R-Engineered
11 pages
MR
PDF
No ratings yet
MR
3 pages
Mycode
PDF
No ratings yet
Mycode
3 pages
Iq Script
PDF
No ratings yet
Iq Script
1 page
2
PDF
No ratings yet
2
13 pages
Etm Profit
PDF
No ratings yet
Etm Profit
2 pages
Alphatrend
PDF
No ratings yet
Alphatrend
2 pages
Daily Algo
PDF
No ratings yet
Daily Algo
12 pages
10 Indicators
PDF
No ratings yet
10 Indicators
8 pages
Simple Pinescript Indicator
PDF
No ratings yet
Simple Pinescript Indicator
1 page
Ultracerteiro
PDF
No ratings yet
Ultracerteiro
3 pages
Accurate Trend Band Trading System
PDF
No ratings yet
Accurate Trend Band Trading System
6 pages
Achiles @rzimtrader
PDF
No ratings yet
Achiles @rzimtrader
3 pages
!三重MACDTrippleMACD
PDF
No ratings yet
!三重MACDTrippleMACD
4 pages
Script
PDF
No ratings yet
Script
9 pages
Custom Cycle Pro
PDF
No ratings yet
Custom Cycle Pro
3 pages
New Text Document
PDF
No ratings yet
New Text Document
3 pages
Script American
PDF
No ratings yet
Script American
4 pages
Documents
Teaching Methods & Materials