Login Page - Create Account

Support Board


Date/Time: Sat, 05 Jul 2025 14:52:04 +0000



Post From: Color Bar Alert for Price Retracement

[2024-08-12 12:23:48]
emmanuel - Posts: 63
I'll give you some hints.

Prior bar's range: H[-1] - L[-1]
50% of the bar's range: ((H[-1] - L[-1]) * 0.5)
30% of the bar's range: ((H[-1] - L[-1]) * 0.3)
The price at 50% of the prior bar's range: H[-1] - ((H[-1] - L[-1]) * 0.5)
The price at 30% of the prior bar's range, from the prior bar's high: H[-1] - ((H[-1] - L[-1]) * 0.3)
The price at 30% of the prior bar's range, from the prior bar's low: This is your homework.
Detecting a bearish 30% retracement from the prior bar's high: L < H[-1] - ((H[-1] - L[-1]) * 0.3)
Detecting a bearish 30%-50% retracement from the prior bar's high: AND(L < H[-1] - ((H[-1] - L[-1]) * 0.3), L >= H[-1] - ((H[-1] - L[-1]) * 0.5))