Breakeven without close candle

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #237466 quote
    Antonio rodriguez
    Participant
    New

    Please, i need the code to breakeven without close candle.

     

    Thanks!

    #237467 quote
    robertogozzi
    Moderator
    Master

    Use a pending order (it’s the same code for both Long and Short open trades):

    IF myBreakEvenConditions THEN
       SET STOP PRICE TradePrice
    ENDIF
    Iván González thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Breakeven without close candle


ProOrder: Automated Strategies & Backtesting

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
1 year, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/10/2024
Status: Active
Attachments: No files
Logo Logo
Loading...