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.


  • IG ISA Season

  • Member Statistics

    • Total Topics
      6,371
    • Total Posts
      28,278
    • Total Members
      37,101
    Newest Member
    lulub2000
    Joined 18/03/19 16:55
  • Our picks

    • Flowless rally - APAC brief 18 Mar
      A flowless rally: It’s being dubbed the “flowless rally”. Equities are ticking higher, but without the fundamental buying-support one might assume. This is especially so when considering the milestone achieved on Wall Street on Friday. Finally, the 2815 resistance level has tumbled, and the bulls have cautiously, quietly rejoiced. There are yellow flags popping up here and there, however, and that is making participants wary. It goes back to this “flowless rally” business: the latest leg of global stocks big recovery isn’t being supported by investor flows. In fact, investor flows look to have diminished somewhat. The reasoning behind this move is somewhat speculative. The impact of share buybacks is one popular argument. Whatever the cause, confidence isn’t accompanying this rally.


      Economic conditions deteriorating: Maybe market participants are still scorned from the market correction in 2018. A bitterness and cynicism stemming from that is understandable. Much of the frustration comes, it would seem, from a widespread recognition that this rally has come in the absence of solid fundamentals. On the contrary, if looking at the macro-outlook, there are more reasons to be bearish than bullish right now. Global growth is (almost) irrefutably slowing, and some of the geopolitical sore-points dictating sentiment, like Brexit and the US-China trade war, are showing little new signs of progress. A major factor keeping this rally alive in riskier assets, perhaps concerningly, is a little case of “fear of missing out”.
      • 0 replies
×