stop loos dinamico

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

    Buonasera, come posso inserire uno stop loos dinamico?

    Cerco di spiegare cosa voglio fare, vorrei uno stop che si inserisce in  modo automatico solo quando l’operazione raggiunge una soglia di guadagno determinata a priori

    Mi spiego meglio su operativita long oppure short, quando l’operazione raggiunge i 30 euro di guadagno lo stop viene inserito a guadagno “0” e poi funziona come un trailing stop, seguedo l’operazione sempre con la distanza di 30 euro. Spero di essere stato abbastanza chiaro.

    Grazie a tutti

    #165662 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Basta che usi un trailing stop. La sola differenza è che generalmente sono espressi in PIPS, può essere modificato, ma fai sicuramente prima a convertire 30 € in pips.

    Per il trailing stop è consigliabile usare il codice dalle righe 17 a 56 a questo link https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/.

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

stop loos dinamico


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
emanuele81 @emanuele81 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
5 years, 6 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 01/05/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...