I'm trying to find a way to receive an alert every time the daily open and close are more than x% of the total price range (min-max of the day).
1. if I want to apply the same alert to several charts (30-50 charts) what is the best way to do it? creating a Strategy (with the Builder)?
2. as a start I can't really find a proper syntax to do that. I thought of:
Open[1]>=(High[1]*0.8)
open 1 bar ago >= 80% value of the High 1 bar ago
assuming a 20% range from the max of the day
But the results (I'm asking the strategy to colour the bars) are not right, since ALL the bars get coloured!
Many thanks!
Mp
Comment