OPEN-SOURCE SCRIPT

Camarilla Strategy - breakouts of H4 and L4

Breakout strategy of H4 and L4 levels. Manual entries and exits - higher profits BUT because I am a novice in pinescript,
Can someone please:

1. Show me how to add exit strategy lines : close> ema(close,3) for exit short and opposite for long. I added myself but I can't make it to work in relation to camarilla entries; instead it shows all ema crossings..
2.Why some entries over/above my pivots are not shown.. Example:11.15 AM (short) and 13.10 PM (long) AAPL, October 15, today? Today would've been 3 signals, not one..

Thank you in advance for any advice. I am a strong Camarilla follower, but I am not a coder.
breakoutCamarilla Pivot PointsPivot PointsstrategysupportSupport and Resistance

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer