Individuellen STOP LOSS in SET STOP PRICE ändern

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #210415 quote
    DonTomDonTom
    Participant
    New

    Folgende Zeilen weisen jeder Position einen individuellen STOP LOSS  und TAKE PROFIT zu.

    BUY kontraktgroesse CONTRACTS AT MARKET
    SET STOP LOSS R
    SET TARGET PROFIT TP

    Es können einige Positionen hintereinander geöffnet werden. Wird der TP oder der SL erreicht, wird nur diese eine (!) Position geschlossen und nicht alle.

    Je nach Kursentwicklung soll aus dem STOP LOSS ein SET STOP PRICE werden:

    IF ONMARKET AND high >= SLEKlim THEN
    SET STOP PRICE SLEKlim-SLEK
    ENDIF

    Der SET STOP PRICE wird jetzt leider aber auf alle Positionen angewendet.

    Wie kann ein SET STPO PRICE für eine bestimmte Position erstellt werden?

    #210420 quote
    NicolasNicolas
    Keymaster
    Legend

    Alle Positionen aggregieren zu einer einzigen Position, daher können wir eine Position nicht einzeln zu einem bestimmten Preis schließen, es sei denn, wir schließen unseren Orderkorb teilweise:

    SELL 0.2*countofposition at market //20% of the market orders is closed
    #210433 quote
    DonTomDonTom
    Participant
    New

    Danke für die schnelle Antwort!

    Seltsam, dass es dann aber mit STOPP LOSS und TAKE PROFIT für einzelne Positionen funktioniert.

    Manuell funktioniert es auch in der Handelsplattform (IG), den SL in den Profit zu ziehen für jede einzelne Position. (Getestet nur mit Demokonto bzw. Backtest)

    Wäre schön, wenn diese Funktionen auch über ProReal verfügbar würden.

    Dann versuche ich das mit SELL-Orders, die über eine Schleife jeweils neu gesetzt werden, zu realisieren.

    Individueller-SL.jpg Individueller-SL.jpg
    #210439 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Bitte fügen Sie KEINE Bilder oder andere Dateitypen in Ihre Nachricht ein, da diese das Laden der Seite verlangsamen. Danke 🙂

Viewing 4 posts - 1 through 4 (of 4 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

Individuellen STOP LOSS in SET STOP PRICE ändern


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
DonTom @dontom Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
3 years, 6 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 02/24/2023
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...