One day break after loss

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #181822 quote
    DerekO
    Participant
    New

    How can i code the following condition in ProBuilder:

    => “After a loss, there should be at least 1 day break to reentry the market”

    So i need an additional condition to rest one day after a closed position with an loss. I use the “Daily Timeframe”.

    Thank You for anwers!

    #181832 quote
    robertogozzi
    Moderator
    Master

    ProOrder is the correct forum, not ProBuilder. I moved it.

    Once TradeOFF = 0
    TradeOFF = TradeOFF - (TradeOFF = 1)
    If StrategyProfit < StrategyProfit[1] then
       TradeOFF = 1
    Endif
    If MyLongConditions and TradeOFF = 0 then
       Buy at Market
    Endif

    Use TradeOFF as an additional condition to enter a trade.

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

One day break after loss


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
DerekO @dereko Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
4 years, 3 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/18/2021
Status: Active
Attachments: No files
Logo Logo
Loading...