After the first 5 minutes of trading, I want to capture the high and low of that bar, and if
the next bar price is higher or lower by a specific amount, 0.02, 0.05, fire off an alert.
I've looked at DailyHigh/DailyLow, but that is a running total. Can't use that for comparison to a previous bar.
I've looked at CurrentOHL, but that's a little confusing using that in the market analyzer. When I add that, I get one column. So under the parameters I set
show high=true, the low and open to false and plot current value=true.
I thought by using this indicator and the DailyHigh I could compare values. DailyHigh being whatever the current daily high is and then using CurrentOHL to show me the current high value. But it appears both values are the same, DailyHigh=CurrentHigh.
Setting an alert through the columns in market analyzer isn't much use. It appears I need a specific value to set, Alert if value equals -- I don't want equal, I want a comparison, alert if this bars high > previous bars high + 0.05, or conversly, if this bar's low < previous bars low - 0.05
I'm hoping there is someway to do this, or it might have been done before.
If not, guess I'll have to bone up on C#
Thanks,
Comment