Breakeven stop for multipositions.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #123313 quote
    Henrik
    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
    Nicolas
    Keymaster
    Master

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

    #123773 quote
    Henrik
    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
    Crillezz
    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
    Crillezz
    Participant
    Veteran

    It world be great to have a trailing function as well

    #144853 quote
    Nicolas
    Keymaster
    Master

    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.

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 Nicolas
5 years, 5 months ago.

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