Hide the StopLoss

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #200362 quote
    SnorreDK
    Participant
    Junior

    Is there a way to hide your stop loss. It feels like IG/brokers are fishing for our stoplosses.
    How often has the market turned right after the stoploss has been hit?

    I don’t want to use the command:

    SET STOP %LOSS sl

    Can you write by code

    if XXX then
    sell at market
    endif
    
    if YYY then
    exitshort at market
    endif

    What do I replace XXX  and YYY with to get the same value as

    SET STOP %LOSS sl
    #200367 quote
    snucke
    Participant
    Veteran

    if you are not swinging a real big d**k i would not worry about the broker is stop hunting you xD

    take a second and think about how many orders there are out there, if you could see them as lines on the chart, i promise you you could not see one single candle

    #200368 quote
    JS
    Participant
    Senior
    Hi @SnorreDK
    I agree with Snucke but if you still want to hide the stoploss, you can possibly use (pending) STOP orders:

    If LongOnMarket and Close > longexit then

       Sell at longexit STOP

    EndIf

    if ShortOnMarket and Close < shortexit then

       ExitShort at shortexit STOP

    EndIf

    #200369 quote
    robertogozzi
    Moderator
    Master
    Even your pending orders are kown by the broker, so a better solution would be to exit at market whenever you exit price is hit, be it either a TP or a SL.
    #200372 quote
    JS
    Participant
    Senior

    Roberto is of course right about the market orders…

    (Pending Stop orders are as visible as Stop Loss orders)

    Nicolas thanked this post
    #200495 quote
    PeterSt
    Participant
    Master
    Here’s the most perfect timing (not) – from yesterday. -Conspiracy me
    image_2022-09-10_181624254.png image_2022-09-10_181624254.png
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Hide the StopLoss


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
SnorreDK @snorredk Participant
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/08/2022
Status: Active
Attachments: 1 files
Logo Logo
Loading...