I'm trying to write an if statement that exists a long under a set of conditions: a 15 minute timer that starts from entry price. No luck using the strategy builder and i've tried to understand how to code with a time Dataset... taking me a very long time to understand. I figured i might as well ask here since it is probably a single line of code.
Any help is appreciated.
Basically:
if ( EntryPriceTime + EntryPrice[3bars later OR NOW] = 15 minutes)
Then ExitLong()
Comment