Come interrompere Prt raggiunto il target profit sul capitale iniziale

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #158483 quote
    maribrougemaribrouge
    Participant
    New

    Buongiorno.

    Prima domanda in questo forum e spero di farmi capire non dicendo fesserie:) Pur avendo letto tantissimi topic non riesco a trovare la soluzione.. Come faccio ad interrompere la piattaforma al raggiungimento di un determinato profit sul capitale iniziale? Esempio.. capitale iniziale 10000 e vorrei che raggiunti i 10500, Prt si interrompesse automaticamente senza eseguire altre operazioni.

    Grazie

    #158491 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    Capitale = 10000
    Equity   = Capitale + StrategyProfit
    IF Equity >= 10500 THEN
       Quit
    ENDIF
    #158499 quote
    maribrougemaribrouge
    Participant
    New

    Grazie la risposta rapidissima… penso che allora si possa fare anche il contrario, cioè stoppare tutto al raggiungimento di un loss stabilito tipo 9500 contro il solito capitale di 10000 scrivendo..

    Capitale = 10000
    Equity   = Capitale + StrategyProfit
    IF Equity <= 9500 THEN
       Quit
    ENDIF
    #158510 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Certo, va bene.

    #158511 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Usa sempre il pulsante “Insert PRT code” quando inserisci il codice nei tuoi post per facilitare la lettura degli altri.

    Grazie 🙂

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

Come interrompere Prt raggiunto il target profit sul capitale iniziale


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
maribrouge @maribrouge Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
5 years, 8 months ago.

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