OPEN-SOURCE SCRIPT
Cập nhật

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.
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
Still wasn't working right. Testing again.
Phát hành các Ghi chú
Trying again.
Phát hành các Ghi chú
One more time
Phát hành các Ghi chú
Still trying.
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
There was an error with the second bearish volume candle calculation.

Thông báo miễn trừ trách nhiệm