StrategyProfit value return to zero

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #63344 quote
    NicolasNicolas
    Keymaster
    Legend

    Through the platform, in the help menu. Don’t remember the shortcut..🙄

    #63391 quote
    NicolasNicolas
    Keymaster
    Legend

    Technical support is available with CTRL+M.

    [attachment file=63392]

    technical-support-prorealtime.png technical-support-prorealtime.png
    #63396 quote
    BCBC
    Participant
    Master

    Thx, Nicolas.

    my problem belong automatic trading or others?

    #63407 quote
    NicolasNicolas
    Keymaster
    Legend

    Automatic trading problem!

    #64135 quote
    BCBC
    Participant
    Master

    Please note StrategyProfit will return to 0 when tempoary stop and re-start again your strategy in Proorder list.

    IMG_9765.jpg IMG_9765.jpg
    #64140 quote
    HenrikHenrik
    Participant
    Veteran

    Thank you Bin for sharing!

    #64148 quote
    DespairDespair
    Blocked
    Master

    I solved this problem with a variable that I add to the strategy profit. This variable I update manually every time I have to restart the strategy.

    #64158 quote
    BCBC
    Participant
    Master

    Hi Despair

    Thanks for remind, like this?

    Equity = InitialCapital + StrategyProfit + LastBalance
    #64166 quote
    DespairDespair
    Blocked
    Master

    Yes exactly. And lastbalance you always update after a restart. In this way your position sizing should work.

    #64169 quote
    BCBC
    Participant
    Master

    Thanks Despair.

    I found a funny situtation, below coding with StrategyProfit command still work after re-start. 😤😤😤

    Once PositionSize = 1
    Once Size = PositionSize
    Once CloseBalanceMaxDrop = 50
    Once Capital = (10000*Size)
    Equity = Capital + StrategyProfit
    
    // Fuse System
    If Equity<QuitLevel then
    Quit
    Endif
    RecordHighest = MAX(RecordHighest,Equity)
    QuitLevel = RecordHighest*((100-CloseBalanceMaxDrop)/100)
    #64176 quote
    DespairDespair
    Blocked
    Master

    In my experience it is no problem to stop and restart a strategy as long as you don’t make changes strategy profit is preserved. But you lose the strategy profit when you for example want to change the contract at expiry.

Viewing 11 posts - 16 through 26 (of 26 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

StrategyProfit value return to zero


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
BC @robin_chan Participant
Summary

This topic contains 25 replies,
has 5 voices, and was last updated by DespairDespair
8 years, 6 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/13/2018
Status: Active
Attachments: 3 files
ProRealCode ProRealCode
Loading...