Value of StrategyProfit after restart

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #157106 quote
    mr bluemr 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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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

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