333
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: November 27th, 2022

MTF EMA in Pine Script

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!

Steve Burman
Moderator
Moderator
Posts: 109
Joined: January 13th, 2023

Re: MTF EMA in Pine Script

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

Return to “Pine Script Q&A”