OPEN-SOURCE SCRIPT
已更新

3 Candle Alert

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.
發行說明
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.
發行說明
Still wasn't working right. Testing again.
發行說明
Trying again.
發行說明
One more time
發行說明
Still trying.
發行說明
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.
發行說明
There was an error with the second bearish volume candle calculation.

免責聲明