T2 Trend Friend: Change to Market on Close
Author: spcllc
Creation Date: 10/25/2014 11:05 AM
profile picture

spcllc

#1
How do I change the code for buying and selling to Market on Close instead of Market on Open for the following day for the T2 Trend Friend and the 3x2 ?
So basically a signal is given and the default order is buy or sell the next morning. I want to buy or sell Market on Close the next day after the signal is given.
Thank you
profile picture

Eugene

#2
Use BuyAtClose(bar) and/or SellAtClose(bar, LastPosition) (more details in the QuickRef) but note that you will lose Alerts.
profile picture

spcllc

#3
Thank you
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).