Jump to content
  • 0

Close at market not spread with RealProTime

Question

When trading with ProRealTime my position closes as soon as the upper limit of the spread touches my stop. I want it to close when the market hit my stop and not the upper limit of the spread. How do I do that?

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

Hi @tmattias,  there are only two prices, the buy and the sell price and the amount between is the spread. The 'market' price on your chart (if 'price on chart' is set to Mid) is just the half way point between the buy and sell price.

Price on chart can be set to either Bid, Ask or Mid, if you have gone short (sell) then to get out of the trade you need to buy so when the buy price hits your stop the trade is closed though the mid price won't have reached the stop.

To see that on the chart the 'price on chart' needs to be set to Bid not Mid. Conversely, to get out of a long/buy trade the sell price must be hit and to see that on the chart the price on chart must be set to Ask.

Most people can't be bothered flipping back and forward so just leave the price set on Mid and accept that the price on the chart won't quite get there before closing the trade.

 

Share this post


Link to post
  • 0

If yo talking about proorder you need to add or subtract more then half the spread

Example

If you want to buy if price (midprice) exceed the 5 bar high and the spread 1 point you need to add 0.6 like this

donh = HIGHEST[5](HIGH)+0.6* pipsize
 
IF NOT LongOnMarket AND c1 THEN
BUY 1 Contracts AT donh  STOP
ENDIF

 

Share this post


Link to post

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Member Statistics

    • Total Topics
      6,243
    • Total Posts
      27,555
    • Total Members
      35,776
    Newest Member
    MC33332018
    Joined 24/02/19 02:28
  • Our picks

    • Post in Crude Oil (WTI)
      "Oil pushing up to resistance again and looking to break". What are your thoughts going into the weekend? Inverse head and shoulders as others have pointed out, or over bought and looking for a pull back?
×