Hi
Please see the attached trigger file as an example.
It will lay the fav between 30 secs and 1 minute before the off if the lay price has grown by 5 ticks or more over the previous minute.
In the constants you can adjust:
tick difference
time over
Please try it in test mode.
If you want to use actual price difference over time instead of tick difference over time, change:
lay ticks dif over
to
lay price dif over