This Strategy uses 3 indicators: the and two emas in different time frames
The configuration of the strategy is:
standar configuration (12, 26, 9) in 1H resolution
10 periods , in 1H resolution
5 periods , in 15 minutes resolution
We use the two emas to filter for long and short positions.
If 15 minutes is above 1H , we look for long positions
If 15 minutes is below 1H , we look for short positions
We can use an aditional filter using a 100 days , so when the 15' and 1H emas are above the daily we take long positions
Using this filter improves the strategy
We wait for indicator to form a divergence between histogram and price
If we have a , and 15 minutes is above 1H , we wait for line to cross above signal line and we open a long position
If we have a divergence, and 15 minutes is below 1H , we wait for line to cross below signal line and we open a short position
We close both position after a cross in the oposite direction of line and signal line
Also we can configure a Take profit parameter and a trailing stop loss
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.