Open Breakout

 

This experts buy when price is x pips above the current bar's open price and sell when price is x pips below open price.

Features:

  • Redefinable breakout pips. (Breakout_Pips = x pips away from Open)
  • Time session filter. (From_Hour, From_Min, To_Hour, To_Min, 13:00 to 18:30 chart time by default)
  • Initial stop loss. (SL = x pips)
  • Trailing stop. (TS_Mode = 1 to enable)
  • Multiple pairs support.
  • Mini account support. (Pip_Value = 1 for Mini)

Enjoys!

Files:
 

Any testing made with this?

 

Not yet i think. I would test it if the I were leasing the testing server. But you can ask rondio. He's maybe testing it now.

 

scorp,

i would like to request a modification to this expert. buy when price is x pips above the current bar's open price and sell when price is x pips below open price, but make it reversable on the same bar. the current expert does not seem to be able to reverse on the same bar. i would like to use it on longterm charts like weekly or monthly, so i need this to reverse on the same bar if price goes above or below x pips of the open price.

thank you

todd

 

Reverse heh? Use negative number. E.g. Breakout_Pips = -1 or Breakout_Pips = -x pips

That does it without a mod to the code.

Edited: I was confused. All in alll, it will need a mod to the code.