OPEN-SOURCE SCRIPT
Zaktualizowano

3 Candle Alert

378
This is a test for integration using a webhook. I am publishing it so I can share it. Ultimately, this is what we want to do:

1. Trade Entry Rules:

Wait until at least the 3rd bar of the day (15 minutes after market open) before entering the first trade.
Order of Priority for Entry:
Look for two consecutive volume bars of the same color (the second bar must have higher volume than the first).
Look for a “price push” beyond the high or low of the day (as determined in the first 15 minutes).
2. Trading Direction:

If the volume bars are RED, I take a Long Position.
If the volume bars are GREEN, I take a Short Position.
Informacje o Wersji
The previous script was detecting the condition, but it wasn't alerting until the NEXT 5-minute candle closed. This script attempts to fix that.
Informacje o Wersji
Still wasn't working right. Testing again.
Informacje o Wersji
Trying again.
Informacje o Wersji
One more time
Informacje o Wersji
Still trying.
Informacje o Wersji
Here is the final version I am using with an Option Alpha bot. I checks the volume at the close of 2 - five minute candles for either both up and green or both down and red. Then it check the price at the close of the third 5-minute candle to see if the price is higher or lower than the close of the second 5-minute candle. There is a Bullish and Bearish alert available respectivley.
Informacje o Wersji
There was an error with the second bearish volume candle calculation.

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.