Breakeven without close candle

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

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

     

    Thanks!

    #237467 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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 without close candle


ProOrder: Automated Strategies & Backtesting

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
2 years ago.

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