Risk pro Trade nach Verusttrade verdoppeln

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #197030 quote
    axmichi
    Participant
    Senior
    ONCE MyCapital = 100
    ONCE MyProfit  = 0
    ONCE MyRisk    = 5              //5%
    MyEquity       = MyCapital + StrategyProfit
    X=close*3/100
    If not longonmarket and c1 and time=starttime then
    N = 1
    if MyEquity > MyCapital THEN
    N = (MyEquity * MyRisk / 100)
    ENDIF
    Buy N shares at market
    Endif

    Hallo ich möchte gern probieren, wie sich das Ergebnis der Strategie verändert, wenn nach jedem Verlust-Trade das Risiko (N) verdoppelt wird?

     

    Kann mir da jemand helfen

    #197045 quote
    robertogozzi
    Moderator
    Master

    Versuchen Sie diese Version:

    ONCE MyCapital = 10000
    ONCE MyProfit  = 0
    ONCE MyRisk    = 5              //5%
    ONCE tempRisk  = MyRisk
    MyEquity       = MyCapital + StrategyProfit
    X=close*3/100
    IF StrategyProfit < StrategyProfit[1] then
    tempRisk  = tempRisk * 2
    ELSIF StrategyProfit > StrategyProfit[1] then
    tempRisk  = MyRisk
    endif
    If not longonmarket and close crosses over average[100] and time>=160000 AND time <=220000then
    N = 1
    if MyEquity > MyCapital THEN
    N = (MyEquity * tempRisk / 100)
    ENDIF
    Buy N shares at market
    set stop   ploss   20
    set target pprofit 200
    Endif
    graph temprisk
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Risk pro Trade nach Verusttrade verdoppeln


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
axmichi @axmichi Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
3 years, 7 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 07/09/2022
Status: Active
Attachments: No files
Logo Logo
Loading...