Gewinn nicht verlieren

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #24500 quote
    beebbeeb
    Participant
    Average

    Hallo ich habe mal eine frage und zwar möchte ich das wenn ich in einer Position bin und diese Prositiv verläuft, ich maximal noch den halben positivstand verliere.

    Also Position steht bei +20€ dann möchte ich das der Stop auf +10€ gesetzt wird.

    Und so weiter steigt die Position weiter soll der stop immer auf die hälfte der bis jetzt erreichten höhe gesetzt werden.

    Ich habe da auch schon selbst Programmiert allerdings klappt das so nicht und ich steh im moment auf dem schlauch und komme nicht weiter.

    Hier die Programmierung die ich gemacht habe :

    IF SHORTONMARKET > 0 then
    c398 = TRADEINDEX
    c399 = lowest[c398](low)
    c400 = (POSITIONPRICE - c399)
    c401 = (c400 * 10000)
    IF c401 > 9 then
    c402 = (c400 / 2)
    c404 = (TRADEPRICE - c402)
    EXITSHORT at c404 stop
    SET STOP PLOSS 6
    ENDIF
    else
    SET STOP pLOSS 6
    ENDIF

    Vielleicht könnt ihr mir ja helfen.

    Schönen Gruß

    Benny

Viewing 1 post (of 1 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

Gewinn nicht verlieren


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
beeb @beeb Participant
Summary

This topic contains 1 voice and has 0 replies.

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