allanster

Grahn Gyllene Kors

allanster Wizard Aktualisiert   
Grahn Gyllene Kors strategy is an idea that was brought to me and I was asked to create for the client to be used as an early alert signal for when BTC 0.05% is trending. The client has graciously now decided that this should be shared with everyone. 

This is an EMA / Trend Explorer useful for identifying trends before EMA's cross and also identifying and experimenting with various EMA lengths and candle trends. There will be a companion Alert study for this released soon in which signals may be sent to the user via sms or email. 

EMA Fast and EMA Slow may be adjusted in length and color and their display may be turned on or off. 

Bullish X% F/S controls what percentage the EMA Fast should be above EMA Slow before considered bullish and is represented by the Green band on the chart. 

Neutral > Y% < is what percentage surrounding the EMA Slow should be considered neutral and is represented by the Yellow band on the chart. 

Bearish Z% S/F controls what percentage the EMA Fast should be below EMA Slow before considered bearish and is represented by the Red band on the chart. 

Trend Enable determines whether Trend Strength is enforced in addition to EMA divergence. 

Bull Strength is the number of candles ranging from 0 to 5 that should be consecutively higher in value before considered to be a trend. 

Bear Strength is the number of candles ranging from 0 to 5 that should be consecutively lower in value before considered to be a trend. 
Versionshinweise:
Fixed an issue where number of Bullish candles set in Trend Enable were not being properly inserted into the buying logic.
Versionshinweise:
Release Notes: Correction to above release notes - Fixed an issue where number of Bullish candles set in Trend Enable were not being properly inserted into the SELL logic.
Versionshinweise:
Complete overhaul now with new strategy capabilities!...

This is an EMA / Trend Explorer & Strategy useful for identifying trends before EMA's cross and also identifying and experimenting with various EMA lengths and candle trends. There is also a companion Alerts study for this in which trend signals may be sent to the user via sms or email AND/OR buy and sell alerts may be sent to bots for automated trading of this strategy. Once you have optimized your settings and backtested with this strategy, apply your same settings into the Alerts study and create your alerts.

NOTE: This script does not require access from me, simply open Indicators on chart and search for "Grahn"

EMA Fast and EMA Slow - may be adjusted in length and color.

Bullish F>S % - controls what percentage the EMA Fast should be above EMA Slow before considered bullish and is represented by the Green band on the chart. 

Neutral % - is what percentage surrounding the EMA Slow should be considered neutral and is represented by the Yellow band on the chart. 

Bearish F<S % - controls what percentage the EMA Fast should be below EMA Slow before considered bearish and is represented by the Red band on the chart. 

Enable Trend - determines whether Trend Strength is enforced in strategy in addition to EMA divergence. 

Bull Candles # - is the number of candles ranging from 0 (off) to 5 that should be consecutively higher in value before considered to be a trend. 

Neut Candles # - is the number of candles that should consecutively remain in the Neutral yellow band before considered to be trending neutral for signal alerts (has no impact on strategy).

Bear Candles # - is the number of candles ranging from 0 (off) to 5 that should be consecutively lower in value before considered to be a trend.

Pump Increase % - is the rise in price that should be considered a pump for signal alerts (has no impact on strategy).

Pump Candles # - is the number of candles over which Pump Increase % should be considered (has no impact on strategy).

Dump Decrease % - is the rise in price that should be considered a pump for signal alerts (has no impact on strategy).

Dump Candles # - is the number of candles over which Dump Decrease % should be considered (has no impact on strategy).

Show EMA Fast & Slow - their display may be turned on or off.

Enable Range - may be enabled for backtesting a specific range of time (disabled uses default range based on period).
Versionshinweise:
NOTE: There is a typo in description above for Dump Decrease %, should read:

Dump Decrease % - is the fall in price that should be considered a dump for signal alerts (has no impact on strategy).

-----
Changes: Cosmetic only, staggered height of signal arrows/label types to reduce occurrences of them overlapping.
Versionshinweise:
Improved logic on awareness of last state.
Versionshinweise:
Further refinement of state awareness logic into 2 state buy/sell and 5 state pump/bear/neutral/bull/dump so that no state prevents another from occurring.
Versionshinweise:
Fixed error where when Enable Date Range was enabled it was not applying the range of dates. Thanks @RobertEmm!

Further refinement of state awareness logic into 2 state buy/sell, 2 state pump/dump, and 3 state bear/neutral/bull.
Versionshinweise:
Added Stop Loss.

Adjusted Default values.

Added ability to hide Strategy and/or Signal Alerts.

Added simple error checking to date ranges to prevent going higher than Month 12 or Day 31.

lux ex tenebris • deuro mea umbra absens • Telegram: t.me/allanster
Geschütztes Skript
Dieses Skript wird als Closed-Source veröffentlicht und Sie können es frei verwenden. Sie können es favorisieren, um es auf dem Chart zu verwenden. Sie können den Quellcode nicht einsehen oder verändern.
Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?