pAulseperformance

[pp] Fib Alerts

pAulseperformance Zaktualizowano   
Using the new input.price() function we can now automate our fibonacci tools a little better.

This tool is designed with the intention of trading off of a fibonacci level using alerts.

How to use:

1.Add the indicator to your chart.
2. Place the bottom price where you would normally start your fibonnaci drawing
3. Place the top price where you would normally end your fibonacci drawing
4. Set your alert syntax "buy alert message" and "sell alert message" Should be replaced with webhook configurations or something better.
5. Fibonacci values > 1 (ie. 0.382, 0.5, 0.618) are recognized as retracements and work well as buying opportunities. When the price crosses one of these levels the "buy alert message" alert will be immediately triggered ONCE per BAR (I may update this in the future so it can only trigger ONCE ever to avoid multiple orders)
6. Fibonacci values < 1 (ie . -0.113, -0.27) are recognized as extensions levels and work well as selling opportunities. When the price crosses one of these levels the "Sell alert message" alert will be triggered.

If anyone knows how to convert the fibonacci values to logarithmic values I would greatly appreciate insight.
Informacje o Wersji:
- Squashed a bug 🐛
- Added option for sell, buy, signaling based on fib level.
- Better labels
- Tried to make it compatible with 3commas. Unfortunately, I can't publish Open source script with private libraries. And I don't want to publish my private libraries for obvious reason. If enough people want I can publish this script with 3commas integration as a private invite closed source publication.
- Let me know if you want 3commas auto integration.

Also, still looking for help with logarithmic fib levels. I'll figure it out sooner or later.
Informacje o Wersji:
Added Realtime Lock to Avoid label repainting.
Cleaned some code.
Added level offset feature.

Notes:
Tried to fix the interactive levels to reset when changing the chart. This is currently impossible to do with the current version of Pine. Perhaps, they will change this in the future. For now, just use this as a chart specific tool. The easiest way to use it efficiently is just to delete it and re-add it to the chart. Ideally, I would create this with two modes. One for interactive mode (current) and one for automatic Fib levels. Unfortunately, it's limited to interactive mode only on initialization.

Trade, Code, & Travel.

www.pinescriptstrategy.com
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?