TradingView
DevLucem
٢١ حزيران يونيو ٢٠١٩ ١٠:٤٢
Heiken Ashi Line MTF
OANDA:EURCAD
30
EUR/CAD
OANDA
الوصف
⋅
٢١ حزيران يونيو ٢٠١٩ ١٠:٤٢
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
التعليقات
vijaypadayatchi
⋅
٢٣ نيسان أبريل ٢٠٢٤ ٠٧:٣٤
Hello,
Can you please share source code for this script..
DevLucem
⋅
٢٤ نيسان أبريل ٢٠٢٤ ٠٧:٤٩
@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)
المزيد
Can you please share source code for this script..