Trabalho concluído
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Termos de Referência
BBSTOPS HIGHER HIGH AND LOWER LOW ALERTS
Buy Alert
BBStop turning bullish( Points B, D and F) , and the value of BBStop at that point is higher than the value of BBStop the previous time that BBStop turns bullish
Point D is not a valid Buy alert, BBStop at that point (point D ) is not higher than the previous time that BBStop turns bullish( point B)
Point F is a valid Buy alert, BBStop at that point (point F ) is higher than the previous time that BBStop turns bullish( point D)
Sell Alert
BBStop turning Bearish ( Points A, C and E) , and the value of BBStop at that point is Lower than the value of BBStop the previous time that BBStop turns bearish
Point E is not a valid Sell alert, BBStop at that point (point E ) is not Lower than the previous time that BBStop turns bearish( point C)
Point C is a valid Sell alert, BBStop at that point (point C ) is Lower than the previous time that BBStop turns bearish ( point A)
FILTER 1
Buy Alert
When this is enable I should get buy alert only if the last bearish turn is not a Sell condition , If it is a valid sell condition, I will not get buy alert
In example below, If this filter is enabled, there wont be buy alert at point D( even though it is a valid buy condition), beacouse point C was a valid sell alert
In example below, If this filter is enabled, there will be buy alert at point C, beacouse point B was not a valid sell condition
Sell Alert
When this is enable I should get Sell alert only if the last bullish turn is not a valid Buy condition, If it is a valid Buy condition, I will not get a sell alert
In example below, If this filter is enabled, there will be a sell alert at point E, beacouse point D was not a valid buy alert
In example below, If this filter is enabled, there will be no sell alert at point D, beacouse point C was a valid buy alert