L3F03X

Kitsune's Long/Short Support v1.0.0

L3F03X Updated   
After reviewing all feedback and questions I got from the users of my previously published script (Kitsune Indicator Collection), I decided to publish a new one which is easier to interpret and use. Therefore the script is as clean as possible thereby minimizing visual clutter (or at least I tried ).

This script is an evolution of my precious script and is still a combination of the following items:

- High-Low detector
- Parabolic SAR (Stop and Reversal) setups and triggers
- Ehlers Instantaneous Trendline (EIT) indicator
- Range detector
- Support and Resistance detector
- Daily/Weekly/Monthly open visualization

The script uses the SAR and EIT to detect long/short signals.

-----------------------------------------------------------------------------------------------------------------------------------------------

A signal is decided to be STRONG when SAR trigger coincides with trend reversal of the EIT.

A STRONG long signal is painted (i.e. blue label with L+) when:
- SAR long trigger (blue arrow) coincides with an EIT crossover (blue line crosses over the red line).

A STRONG short signal is painted (i.e. red label with S+) when:
- SAR short trigger (red arrow) coincides with an EIT cross-under (blue line crosses under red line).

A STRONG signal will always result in entering (if not in any position) or flipping a long/short position.

-----------------------------------------------------------------------------------------------------------------------------------------------

A signal is decided to be WEAK when not in a long or short position and a SAR trigger appears.

A WEAK long signal is painted (i.e. blue label with L-) when:
- Not in a position (gray bars) and a SAR long trigger (blue arrow) appears but not coinciding with an EIT crossover.

A WEAK short signal is painted (i.e. red label with S-) when:
- Not in a position (gray bars) and a SAR short trigger (red arrow) appears but not coinciding with an EIT cross-under.

A WEAK signal will only result in a long/short position when not in any position.

-----------------------------------------------------------------------------------------------------------------------------------------------

A long/short position is exited on a trend reversal of the EIT.

A short position is exited (i.e. red x-cross) when:
- A crossover of the EIT happens (blue line crosses over the red line).

A long position is exited (i.e. blue x-cross) when:
- A cross-under of the EIT happens (blue line crosses under the red line).

-----------------------------------------------------------------------------------------------------------------------------------------------

Color of the bars are depend on position type:

- Blue = Long position
- Red = Short position
- Gray = No position

-----------------------------------------------------------------------------------------------------------------------------------------------

Enjoy using the script. I hope it is of value to you!

If you have any questions, don't hesitate to contact me.

With kind regards,

Kitsune (L3F03X)
Release Notes:
Fixed sudden Pine Script error : "Pine cannot determine the referencing length of a series. Try using max_bars_back in the study or strategy function".
Release Notes:
Upgraded script to v 1.2.0
---------------------------------------

Enabled turning on/off all visual elements

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?