Attachments forums

List of attachments posted on this forum.


All files on forums: 161075

Re: Already Converted TradingView Indicators to MT4 Indicators

RodrigoRT7, Mon Nov 25, 2024 1:52 pm

mrtools wrote: Sun Nov 24, 2024 3:51 pm Follow The Line with Regularized MA's + All Averages (Filters) + Trend Mode & Candlestick Overlay

Hello, added a candle option, trend mode option, and update the averages plus Regularized Moving Averages too.

PS: For more information on this code, please see: Follow The Line + Angle Of Attack indicators.
good night Mr Tools!!

I found an indicator with a concept that I really like in Scale Trading, which is the ATR Grid.

however, this indicator only shows the ATR corresponding to the period analyzed. example. Daily chart only shows one day.

It would be interesting to have a history so we can do a backtest. :D

as well as tradingview's ATR 0.5 & 0.7 Range indicator.

Is there a possibility of converting this tradingview code with the same functions as the ATR GRID indicator?

Thank you very much in advance :D. I wish you a great week.

//@version=3
study("ATR Grid from daily", overlay=true, shorttitle="ATRGrid")
lvl1 = 0.5, lvl2 = 0.7, daily_atr_len = 15

atr_func = atr(daily_atr_len)
day_atr = security(tickerid, 'D', atr_func)
day_close = security(tickerid, 'D', close)

p1 = plot(day_close + day_atr, color=red)
p07 = plot(day_close + day_atr * lvl2, color=orange)
fill(p1, p07, color = orange)
p05 = plot(day_close + day_atr * lvl1, color=yellow)
fill(p07, p05, color = yellow)
m05 = plot(day_close - day_atr * lvl1, color=yellow)
// fill(m05, p05, color = green)
m07 = plot(day_close - day_atr * lvl2, color=orange)
fill(m07, m05, color = yellow)
m1 = plot(day_close - day_atr, color=red)
fill(m1, m07, color = orange)
All files in topic