strategia uscita problema

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #150237 quote
    leo87leo87
    Participant
    Junior

    Buongiorno amici

    sto avendo un problema con la definizione della mia strategia di uscita. In particolare vorrei posizionare un livello di uscita differenziato in funzione della performance raggiunta.

    Es se la posizione guadagna più del 12% e poi ritraccia fino a 6% chiudi, oppure se supera il 15% e poi torna al 10% chiudi. Tuttavia non mi esegue l’ordine. Potete aiutarmi please? Vi ho allegato un ‘immagine dove si vede chiaramente la situazione

    grazie mille !

    if positionperf(0)>12 and low crosses under tradeprice*1.08 then
    sell at tradeprice *1.08 stop
    endif

    aiutopro.png aiutopro.png
    #150245 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Per favore non duplicare i post, hai già fatto la stessa domanda altrove e ti ho già dato una risposta!

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

strategia uscita problema


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
leo87 @leo87 Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 11/12/2020
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...