Download MetaTrader 5

Please help with Indicator

To add comments, please log in or register
Hein
22
Hein  

Hi.

Can someone please try to help me with this indicator. High's (2 lower high's to the left and right) and lows (2 higher lows to the left and right) are marked with dots on chart. This I am happy with. Now I want there to be 2 (at least) candles/bars between marked high's & lows.

The result I am looking for is something like this: high, 2 candles, low, 2 candles, high, 2 candles, low......I know that there can't/won't always be 2 candles inbetween but the point is that there should be no less than 2. If at all possible I would appreciate help very much.

PS: I suck at coding.

Files:
To add comments, please log in or register