Price crosses under my entry price to exit code needed

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #111856 quote
    Crystal Babe
    Participant
    New

    hi,

    can anyone help me with this

    i want to add a code to exit a trade by creating a  condition saying if current price crosses under my enrty price to exit .

    i’ll add it on top of my other exit conditions.

    thanks

    #111861 quote
    GraHal
    Participant
    Master
    If Close crosses under TradePrice Then
    Sell at Market
    Endif

    You will be whipsawing in and out of trades all day long?

    robertogozzi thanked this post
    #111879 quote
    Vonasi
    Moderator
    Master

    Crystal Babe – Welcome to forums. Please give your topics a more meaningful title than ‘Coding help’  otherwise we end up with a million topic titles that mean absolutely nothing to anyone searching through the forums. I have changed your title to something a little more meaningful. 🙂

    Crystal Babe thanked this post
    #111909 quote
    Crystal Babe
    Participant
    New

    CHEERS THANKS A LOT.

    UNDERSTAND . JUST WANT TO TEST THIS WITH OTHER CONDITIONS I AM USING ATM 🙂

    #111910 quote
    Vonasi
    Moderator
    Master

    The use of capitals in any forum is usually considered as being shouting – try to avoid doing it in any forums unless you want to shout at someone! Sometimes we use capitals here to highlight ProRealCode instruction words within a sentence but otherwise it should be avoided.

    #111928 quote
    Crystal Babe
    Participant
    New

    sorry never knew that oops !

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Price crosses under my entry price to exit code needed


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/01/2019
Status: Active
Attachments: No files
Logo Logo
Loading...