Richiesta di aiuto

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4957 quote
    donofrio_raffaele
    Participant
    New

    Sto cercando di scrivere una riga di programma dove la pertenza del trade nel giorno x è condizionata dal valore di apertura del giorno x ( per esempio il trade nel giorno x parte solo  se il valore in apertura dopen(x)<=dhigh(x-1) …..)

    Qualcuno sa come fare ?
    #4968 quote
    Nicolas
    Keymaster
    Master

    Il primo “Open” di ogni giorno è il primo giorno della barra:

    IF intradaybarindex = 0 THEN 
      todayOpen = Open
    ENDIF
    
    IF todayOpen <= DHigh[1] THEN 
    ....
    ...
    
    .
    ENDIF
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Richiesta di aiuto


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
9 years, 10 months ago.

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