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

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
You are posting 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.


  • IG ISA Season

  • Member Statistics

    • Total Topics
      6,389
    • Total Posts
      28,409
    • Total Members
      37,291
    Newest Member
    LordEarlo
    Joined 21/03/19 08:02
  • Our picks

    • APAC brief - 21 Mar
      Market action proves it again: this market hinges on the Fed: The US Fed has proven itself as the most important game in town for traders. The FOMC met this morning, and lo-and-behold: the dovish Fed has proven more dovish than previously thought; the patient Fed has proven more patient that previously thought. Interest rates have remained on hold, but everyone knew that was to be the case today. It was about the dot-plots, the neutral-rate, the economic projections, and the balance sheet run-off. On all accounts, the Fed has downgraded their views on the outlook. And boy, have markets responded. The S&P500 has proven its major-sensitivity to FOMC policy and whipsawed alongside a fall in US Treasury yields, as traders price-in rate cuts from the Fed in the future.


      The US Dollar sends some asset classes into a tizz: The US Dollar has tumbled across the board consequently, pushing gold prices higher. The Australian Dollar, even for all its current unattractiveness, has burst higher, to be trading back toward the 0.7150 mark. Commodity prices, especially those of thriving industrial metals, have also rallied courtesy of the weaker greenback. Emerging market currencies are collectively stronger, too. This is all coming because traders are more-or-less betting that the Fed is at the end of its hiking cycle, and financial conditions will not be constricted by policy-maker intervention. Relatively cheap money will continue to flow, as yields remain depressed, and allow for the (sometimes wonton) risk-taking conditions that markets have grown used to in the past decade.
        • Great!
        • Like
      • 0 replies
×
×