StrategyProfit value return to zero

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

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

    #63391 quote
    Nicolas
    Keymaster
    Master

    Technical support is available with CTRL+M.

    [attachment file=63392]

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

    Thx, Nicolas.

    my problem belong automatic trading or others?

    #63407 quote
    Nicolas
    Keymaster
    Master

    Automatic trading problem!

    #64135 quote
    BC
    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
    Henrik
    Participant
    Veteran

    Thank you Bin for sharing!

    #64148 quote
    Despair
    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
    BC
    Participant
    Master

    Hi Despair

    Thanks for remind, like this?

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

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

    #64169 quote
    BC
    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
    Despair
    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.

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 Despair
8 years ago.

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