AutoTrading?

Questions about MultiCharts and user contributed studies.
kinkeadfx
Posts: 52
Joined: 22 Nov 2010
Has thanked: 5 times
Been thanked: 1 time

AutoTrading?

Postby kinkeadfx » 12 Aug 2014

I am auto trading with a strategy on a chart with a custom time session template.
How do i make sure that that the position closes whether long or short at the end of the session time? Do i need to do this manually or automated somehow?

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: AutoTrading?

Postby Andrew MultiCharts » 13 Aug 2014

Hello,

You will need to develop a code using IOG and RecalcLastBarAfter in order to place a market order before the session end. You can find more details in this forum thread.


Return to “MultiCharts”