The support forum is built with (1) General and FAQ forums for common trading queries received from aspiring and experienced traders, and (2) forums for course video topics. How to Trade Price Action and How to Trade Forex Price Action videos are consolidated into common forums.
Brooks Trading Course social media communities
i coded my own ema 15 min and 60 min on 5 mins chart..
Great! Would you share it so you can help the community?
I have made my own version in TradingView.
Could anyone check if this makes sense?
//@version=5 indicator("Five Minutes Indicators", overlay=true) // 5 minute, 20 bar EMA ema20 = ta.ema(close, 20) s5 = request.security(syminfo.tickerid, "5", ema20, barmerge.gaps_on, barmerge.lookahead_on) s15 = request.security(syminfo.tickerid, "15", ema20, barmerge.gaps_on, barmerge.lookahead_on) s60 = request.security(syminfo.tickerid, "60", ema20, barmerge.gaps_on, barmerge.lookahead_on) plot(s5, color=color.rgb(0,0,255), linewidth=2,title="5-min 20 EMA") plot(s15, color=color.rgb(93,137,186), linewidth=2, title="15-min 20 EMA",offset=3) plot(s60, color=color.rgb(0,0,128), linewidth=2, title="60-min 20 EMA",offset=12)
If you publish it in Tradingview so that it can be selected from the list of Trading view indicators? Then i will test it. What search name will you give it?
Also, you can test it as follows: while in a tradingview 5 min chart, compare your 60min line with ema215 (they should be almost identical).
If approximation nearly serves the purpose, I've seen 60 EMA and 220 EMA to provide almost close approximation of 20 EMA in 15 minute and 1-hour charts respectively.
El Patron
I created a Tradingview indicator from the code you posted above.
I checked the accuracy of your code, as follows:
1. I overlayed your 20ema on the 5 min chart with another 5min 20ema indicator I use. Yours is correct.
2. Refer the attached image. I compared your 1 hour 20ema (depicted on a 5 min chart), with a standard 20ema on a 1 hour chart. Yours was close enough - I couldn't see any difference. This was a sight test. For what its worth, I noticed your 1 hour 20 ema (on the 5 min chart) was simply ema240.
Thank you for testing it. Great to hear that it is close enough.
I tried to publish it in Trading View but it was rejected by the moderators. I'll try again.