Calcolare il Take Profit sul RANGE

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

    Se scrivo tradindex *1.5 per indicare che voglio prendere profitto a 1.5 il range della sbarra dove sono entrato, non ottengo alcun risultato. Qualcuno può aiutarmi?

    Grazie

    #168876 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Per favore pubblica il tuo argomento nel forum corretto:
    _ Supporto piattaforma ProRealTime: solo problemi relativi alla piattaforma.
    _ ProOrder: solo argomenti su strategie.
    _ ProBuilder: solo argomenti su indicatori.
    _ ProScreener: solo argomenti su screener.
    _ Discussione generale di Trading: qualsiasi altro argomento di trading.
    _ Benvenuto ai nuovi membri: per permettere ai nuovi membri del forum di presentarsi.

    L’ho spostato io.

    Grazie 🙂

    #168877 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Tu hai moltiplicato la barra dove è iniziato il trade (ad esempio, 818 o altro…) e l’hai moltiplicato per 1.5. Il risultato non ha nessuna relazione con l’operazione, quindi non ottienio niente.

    Devi calcolare il TP (ed eventualmente anche lo SL)  al momento di entrata a mercato e poi non devi variarlo:

    //LONG
    IF MieCondizioniLong  AND Not OnMarket THEN
       Profitto = range * 1.5
       SET TARGET PROFIT Profitto
    ENDIF
    //SHORT
    IF MieCondizioniShort AND Not OnMarket THEN
       Profitto = range * 1.5
       SET TARGET PROFIT Profitto
    ENDIF
    #168878 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ho anche variato il titolo in quanto non era significativo (anzi, un pò fuorviante), ed era in lingua Inglese sul forum Italiano.

    #168900 quote
    DIABOLIK123DIABOLIK123
    Participant
    New

    Ringrazio di cuore

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

Calcolare il Take Profit sul RANGE


ProOrder: Trading Automatico & Backtesting

New Reply
Author
Summary

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

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