Exit EOD
Author: jw
Creation Date: 7/18/2009 5:13 PM
profile picture

jw

#1
I need some help with code for exiting EOD, i.e. 1559.
This is a 15 min EMA 9/39 crossover, and I want to add the condition for exiting the position at the end of the day.
Here is the code so far. Can anyone please help with the code for exiting EOD if the averages don't cross? TIA.

CODE:
Please log in to see this code.
profile picture

Eugene

#2
For example, see this KB article in our Wealth-Lab 5 Wiki:

Intraday / Multi-Time Frame | Keep from holding positions overnight
profile picture

zanek

#3
JW,

The code below should sell at the end of the day also:

CODE:
Please log in to see this code.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).