how to exit the day after I have entered in a trade

Questions about MultiCharts and user contributed studies.
zanna
Posts: 6
Joined: 19 Dec 2016

how to exit the day after I have entered in a trade

Postby zanna » 15 Jan 2018

Hi,

Could you help to code how to exit my position the day after I have entered a trade, which is the correct command?

es: IF MARKETPOSITION=1 AND OPENPOSITIONPROFIT>0 AND "daysincentry"(THE RIGHT COMMAND)>1 then sell next bar at open;

Many Thanks

Zanna

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: how to exit the day after I have entered in a trade

Postby TJ » 15 Jan 2018

See post #1 & post #2
viewtopic.php?t=11713


Return to “MultiCharts”