Welcome to the forum! laugh

Originally Posted By: chsmac85
Would it be enterLong(exitLong(price=my_exit_price))?
This syntax is completely wrong. Were you trying to make a TMF? Because you did not.

TMF documentation is here:
https://zorro-project.com/manual/en/trade.htm

The workflow for a TMF is this:
* Make a function, **exactly** in the format specified in the manual.
* Then feed a function to the enter logic.

In order to understand this concept, you also need to know function pointers:
http://manual.zorro-trader.com/function.htm

And in order to really understand, you need to put these concepts **in practice**.

Finally, your series can only be accessed from run(). So, your exit logic should be inside run. Like this:
* If a series condition is met, cycle through your trades to see which you want to kill. The way you do this depends on what your objective is.

Check out the examples in here:
http://manual.zorro-trader.com/tips.htm