disattivare condizione1 al verificarsi di condizione2

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #136539 quote
    romanelli4
    Participant
    Average

    Buongiorno,

    avrei bisogno di codificare quanto in oggetto se possibile.

    In pratica quando si attiva la condizione1 la condizione2 non è piu valida

    grazie a chi mi sa aiutare

    max

    if condizione1 = true then
    condizione2 =false
    endif
    
    if condizione1 then
    buy 1 contract at market
    endif
    ////ma non funziona
    #136542 quote
    robertogozzi
    Moderator
    Master

    Non si possono usare TRUE e FALSE con le condizioni non di sistema.

    Sostituisci TRUE con 1 e FALSE con 0.

    #136580 quote
    romanelli4
    Participant
    Average

    Grazie Robert0!!

    max

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

disattivare condizione1 al verificarsi di condizione2


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
romanelli4 @romanelli4 Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 06/19/2020
Status: Active
Attachments: No files
Logo Logo
Loading...