System 2025 Trailing stop

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #242463 quote
    axmichiaxmichi
    Participant
    Senior

    Hallo,

    ich bitte um Hilfe.

    ich möchte auf Tagesbasis einen Longtrade machen.

    Wenn der Kurs größer ist als der EMA 20 und es seid 3 Tagen kein neues Hoch gegeben hat. wenn dann der schlusskurs größer ist als die letzten beiden Hochst, dann soll der trade eröffnet werden. siehe Bild

     

    der Stop Loss ein Trailing auf dem 20er EMA sein

    und das CRV 2:1

     

    Es wäre schön wenn das geht

     

    Danke

    #242507 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Non ho visto nessuna immagine, ma penso tu voglia questo:

    Ema20 = average[20,1](close)
    c1    = close > Ema20
    c2    = highest[3](high) < high[3]
    c3    = (high = highest[3](high))
    Cond  = c1 AND c2 AND c3 AND Not OnMarket
    IF Cond THEN
       BUY 1 CONTRACT AT MARKET
       CRV = abs(close - Ema20) * 2
       SET TARGET PROFIT CRV
       SET STOP   PRICE Ema20
    ENDIF
    IF OnMarket THEN
       SET STOP PRICE Ema20
    ENDIF
    Iván González thanked this post
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

System 2025 Trailing stop


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
1 year, 8 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 01/12/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...