Jump to content
  • 0

Close at market not spread with RealProTime


tmattias

Question

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.

 

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

 

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
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.

  • General Statistics

    • Total Topics
      15,185
    • Total Posts
      73,296
    • Total Members
      61,662
    • Most Online
      5,137
      14/01/21 09:51

    Newest Member
    SWAMINATHAN
    Joined 16/05/21 02:20
  • Posts

    • Hi, I'm fairly new to the community and I've started out looking into stocks I'm familiar with. One of these is Standard Life Aberdeen PLC (LON: SLA). In the screenshot below you can a general (albeitvery gradual) uptrend on the Daily chart since late-March 2020 which I've highlighted in Green. However, since mid-February 2021 there has been an intra-trend move downwards (highlighted in Red) and these points look set to cross in the coming days. Daily Chart Thoughts My natural bias is towards being bullish on this stock. But I'm waiting to see how the shareprice behaves over the next week. So I'm interested to see what other think on this stock and if there are other factors you think are important to consider?   Have a good weekend anyway folks.
    • process check , mike check , paycheque..... I actually missed this move ... 😅 .... Very hard trying to juggle a 50plus hour week and trading ..... any way here is the follow up from my post on the FTSE from  11-05-2021👇     With the greatest respect to IG INDEX , it's not time to be bearish .... not yet at least..... Here is what the FTSE did a few days later.........  
    • Yeah........ so that happened ...
×
×
  • Create New...