L3F03X

Kitsune's Long/Short Support v1.0.0

L3F03X Mis à jour   
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)
Notes de version:
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".
Notes de version:
Upgraded script to v 1.2.0
---------------------------------------

Enabled turning on/off all visual elements

Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?