Ricerca di condizione di uscita

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #222682 quote
    Ciccarelli Franco
    Participant
    Junior

    In questa istruzione; close>open and close 1 > open , alla terza candela se ci sono le condizioni entra long. Adesso  vorrei uscire se alla 4 o successive si avvera close < open  , come dovrebbe essere le istruzioni?

    Grazie

    #222698 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    IF OnMarket AND close < open THEN
       SELL AT MARKET
       EXITSHORT AT MARKET
    ENDIF
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Ricerca di condizione di uscita


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
2 years, 3 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 10/20/2023
Status: Active
Attachments: No files
Logo Logo
Loading...