TradingView
DevLucem
21 Jun 2019 pukul 10.42
Heiken Ashi Line MTF
OANDA:EURCAD
30
EUR/CAD
OANDA
Deskripsi
⋅
21 Jun 2019 pukul 10.42
This scripts requests Heiken-Ashi on different time frames and plots their values on the chart on your current time frame
Oscillators
Trend Analysis
Volatility
heiken-ashi
multitimeframe
Komentar
vijaypadayatchi
⋅
23 Apr 2024 pukul 07.34
Hello,
Can you please share source code for this script..
DevLucem
⋅
24 Apr 2024 pukul 07.49
@vijaypadayatchi
, Sure thing
//@version=3 study(title="Heiken Ashi Line", overlay=true) in_src = input(title="Source", type=source, defval=close) timeframe = input('60', type=resolution) up_clr = lime down_clr = red ha_handle = heikinashi(tickerid) ha_open = security(ha_handle, timeframe, open) ha_close = security(ha_handle, timeframe, close) ha_color = ha_close > ha_open ? up_clr : down_clr plot(in_src, title='HA line', color=ha_color, linewidth=2, style=line)
Lebih lanjut
Can you please share source code for this script..