Is this performance chart of this strategy look good?

Forums ProRealTime English forum ProOrder support Is this performance chart of this strategy look good?

Viewing 3 posts - 46 through 48 (of 48 total)
  • #239876

    may be you may advice the correct code to get the current position size which the latest capital can afford, thanks.

    #239879
    JS

    This is the basic version that I use:

    ONCE Capital = 10000

    ONCE MarginPerc=0.05

    IF StrategyProfit <> 0 THEN

    Equity = Capital + StrategyProfit

    Margin = Close * MarginPerc

    MaxPosSize=Equity/Margin

    EndIf

    #239881

    Instead of:

    you can write:

    so that you don’t have to do any math with the outcome of the strategy so far.

     

     

     

Viewing 3 posts - 46 through 48 (of 48 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login