Value of StrategyProfit after restart

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #157106 quote
    mr blue
    Participant
    Senior

    Hi there!

    Let’s assume I had a running trading system which generated a profit/loss -> the current amount can be retreived from the variable StrategyProfit.

    Then I manually stop the running system (for whatever reason).

    I see in the PRT automation screen, my stopped system and the final Profit/Loss.

    Then I manually start the system again (without chaning anything).

    The P/L is displayed right hand side of the running system in the trading screen.

    And now my question:

    WHICH value does the variable StrategyProfit have after restart? P/L from previous run OR ZERO?

     

    Does anybody know?

     

    Thanks

    #157110 quote
    robertogozzi
    Moderator
    Master

    ZERO, what you see displayed is just a report made by PRT, the strategy resets all variables & constants to 0.

    Barindex restarts from 0, StrategyProfit restarts from 0, etc…

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

Value of StrategyProfit after restart


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
mr blue @marco_sala Participant
Summary

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

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