Expiry Value

 

Hi,

I was wondering if it is possible to give expiry a price value instead of a date. Meaning if price goes above or below certain level the pending order should be void.

For example, if I have pending sell stop and price goes above certain level I want order to be void automatically without me deleting it manually.

Does anyone know if there is any kind of script for it? Thanks.

Furkat.

 
You want somebody create this EA for you, or just a little help with algorithm?