stop loss above entry price?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12940 quote
    KarlsdorfKarlsdorf
    Participant
    New

    Hi,

    it seems to me that a stop loss is always below entry price and therefore the stop loss value has to be positive:

    SET STOP LOSS 10

    sets the stop poss to 10 units below the enty price.

    When the price rises I want to ajust the stop loss above the enty price, and therefore the value becomes negative:

    SET STOP LOSS -10

    But this seems not possible. The stop loss never takes place.

    How do I achive to ajust the stop loss above the enty price?

    Thank you for answers!

    #99802 quote
    Lp ChapyLp Chapy
    Participant
    Junior
    #99804 quote
    VonasiVonasi
    Moderator
    Master

    Lp Chapy – English only in the English language forums please.

    #99805 quote
    VonasiVonasi
    Moderator
    Master

    Karlsdorf – A stop loss can only ever be inferior to price – so at a lower price if long on the market and at a higher price if short. If you make it superior to a market price then it becomes a take profit and the trade would be instantly closed. You cannot use negative values with SET STOP LOSS instructions.

Viewing 4 posts - 1 through 4 (of 4 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

stop loss above entry price?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Karlsdorf @karlsdorf Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by VonasiVonasi
7 years, 4 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/11/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...