Verkauf von offenen Positionen

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #136477 quote
    rmhandelrmhandel
    Participant
    Junior

    Hallo kann mir bitte jemand folgendes erklären:

    Wenn ich eine offene Position verkaufe mit der Anweisung

    if close-tradeprice(1)>20 then
    Sell at tradeprice stop

    Bei dieser Handelsanweisung setzt er im gegebenen FAll zwar den Stop aber wenn er wieder unter die 20 Punkte kommt wird der Stop wieder gelöscht. Das verstehe ich nicht. Damit gibt es ja keine Absicherung

    #136478 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Sie müssen in einer Variablen speichern, dass der Stop-Loss ausgeglichen ist, da jede ausstehende Bestellung für jede Kerze erneut eingegeben wird, wenn sie nicht ausgeführt wird, aber den Wert nicht ändern darf:

    IF Not OnMarket THEN
       Flag = 0
    ENDIF
    if close-tradeprice(1)>20 then
       Flag = 1
    endif
    IF Flag then
       Sell at tradeprice stop
    endif
    #136482 quote
    rmhandelrmhandel
    Participant
    Junior

    Herzlichen Dank und Grüße

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

Verkauf von offenen Positionen


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
author-avatar
rmhandel @rmhandel Participant
Summary

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

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 06/18/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...