Breakeven stop for multipositions.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #123313 quote
    HenrikHenrik
    Participant
    Veteran

    Hi!

    I wonder if someone know if there is any good code here for a BreakEvenStop when you take more than one position on different levels?

    Thanks in advance!

    Henrik

    #123355 quote
    NicolasNicolas
    Keymaster
    Legend

    Do you want to put a stoploss at breakeven but with different price level for each of the position?

    #123773 quote
    HenrikHenrik
    Participant
    Veteran

    Thank you for your answer Nicolas!

    dont think thats possible for live trading? I want to have a max loss stoploss I let’s say 50$ and move the breakevenstop to break even as I am buying more contracts and I’m in x points or $ gain. I’ll look in to it next week but if you have something already finished I’ll be happy to save some time koding😊🙏🏽

    #144746 quote
    CrillezzCrillezz
    Participant
    Veteran

    Hello Henrik! Have you made a code for BreakEvenStop yet.

    I’m also intrested in a smular code.

    I’t will calculate the average price and move the stop to BreakEven.

    #144749 quote
    CrillezzCrillezz
    Participant
    Veteran

    It world be great to have a trailing function as well

    #144853 quote
    NicolasNicolas
    Keymaster
    Legend

    You can use POSITIONPRICE for the average price of the whole opened orders at market.

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

Breakeven stop for multipositions.


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/25/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...