adding a stop loss to a BUY/SELL order

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #71023 quote
    alandaland
    Participant
    Average

    Hi there,

    I see that when I place an order in proRealTime the buy/sell is sent first and only then is the stop loss added.

    This necessitates a larger margin as the broker is unaware of the future stoploss.

    is there a way to grammatically create an atomic action that sends an order with a stoploss instead of these 2 phases?

    Thanks

    Alan

    #71024 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    I noticed it takes three steps to enter a trade, first the trade is opened, then a SL is entered to modify the order, thirdly a Target Profit is added.

    Whenever that happened and I was in front of my PC I could hardly notice a lag between each of them, it is a matter of microseconds and I cannot figure out how this could affect the margin.

    aland thanked this post
    #71027 quote
    alandaland
    Participant
    Average

    Thanks,

    if you put a stoploss it lowers the margin

    this is especially critical to higher stakes when the margin is very large. a stop loss reduces the margin alot

    So it affects the margin because the first call is to buy/sell and the margin is calculated then

    adding a stoploss later reduces the margin but if there was not enough margin in the first place the order will not be executed at all.

    so the question is: can you create a whole/atomic order including a stop loss and profit and send it to the broker or does it have to have 3 phases

    Cheers

    #71030 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    It has to have 3 phases, I’m afraid.

    But I never thought about this before, so someone else may be of greater help.

    aland thanked this post
    #71157 quote
    alandaland
    Participant
    Average

    Roberto,

    you mentioned that you see this information (open, stoploss, profit). do you see this in real time or after the fact?

    I would very much like to follow this proccess in real time on the trading system. is it possible?

    if not where do you see these 3 steps?

    I noticed it takes three steps to enter a trade, first the trade is opened, then a SL is entered to modify the order, thirdly a Target Profit is added.

    Whenever that happened and I was in front of my PC I could hardly notice a lag between each of them, it is a matter of microseconds and I cannot figure out how this could affect the margin.

    #71159 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    You should code a very simple strategy for the 10-second (or even 1-second) TF and launch it, with SL and TP and what the orders as they are quickly processed by IG in the window on their main page.

    x-3.jpg x-3.jpg
    #71839 quote
    CarineCarine
    Moderator
    Average

    Hello,

    Linked orders are placed at the same time as your market orders. Even if you notice a slight delay on your platform, this does not affect the margins.

    Regards,

    Carine

    robertogozzi thanked this post
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

adding a stop loss to a BUY/SELL order


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
aland @aland Participant
Summary

This topic contains 6 replies,
has 3 voices, and was last updated by CarineCarine
8 years, 5 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 05/21/2018
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...