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.

إخلاء المسؤولية