Forums ProRealTime English forum ProOrder support Entry methods : at market, stop and limit Reply To: Entry methods : at market, stop and limit

#64478
Leo
  1. When does the stop or limit order disappear (when not filled) ? Alternatively which code to use to do so ?

Pending orders are deleted every time when the bar closes. If you needed longer then make it so in the code like:

buy 1 share at lowest[5](low) Limit

or

sellshort 1 share at lowest[5](low) Stop