Topic: Open Close Gap

Repository link: Open Close Gap

The "Open Close Gap" indicator measures the gap between current bar Open and previous bar Close. We can set the reference gap height in points. The indicator can be used as an Opening Logic Condition to filter out or allow long and short entries.

Two kind of gaps:
* Positive Gap - when the current Open is higher than the previous Close.
* Negative Gap - when the current Open is lower than the previous Close.

Logical Conditions:
* Do not trade on gap - when the current gap is higher than the predefined value, the program doesn't allow long and short entries.

* Trade on gap - the program allows long and short entries only when the current gap is higher than the predefined value.

* Trade long on positive gap - the program allows long entry on a positive gap and a short entry on a negative gap.

* Trade long on negative gap - the program allows long entry on a negative gap and a short entry on a positive gap.


Chart
The indicator represent the gap as a histogram chart.

http://s13.postimg.org/n67oi3kef/screenshot_1121.png

Re: Open Close Gap

Hi Pop over,

Can the add lot for Winner option be programmed to have the similar features as this because that what a winner function is for isn't it? I.e. add a new lot when the previous lot is in profit position