Page 1 of 1

MTF EMA in Pine Script

Posted: Mon Dec 19, 2022 8:59 pm
by 333
Hello,

Do you guys know how to create an EMA cross condition with a Multi-TimeFrame EMA?
To give you an example, this cross would happen between an EMA 100 and a MTF EMA 200 base on the 4H chart.

Thanks by advance!

Re: MTF EMA in Pine Script

Posted: Thu Feb 02, 2023 2:29 am
by Steve Burman
There are a number of MTF MA indicators available in the Community Scripts in TradingView. From what I've seen these just plot a series of individual MA's with different periods so you could use crossover/crossunder IF statements on any pair of EMA's