Risk pro Trade nach Verusttrade verdoppeln

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

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

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 robertogozzirobertogozzi
4 years, 2 months ago.

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