rilevazione valore indicatore su determinata candela

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

    Salve, avrei bisogno di sapere se c’è la possibilità di rilevare un valore di un indicatore ad una determinata candela, per esempio rilevare il valore rsi sulla candela con chiusura più bassa delle ultime 30.

    #99797 quote
    robertogozzi
    Moderator
    Master

    Provalo:

    Minimo = 999999
    For i = 0 to 29
       If close[i] < Minimo then
          Minimo = close[i]
          MyRsi = rsi[14](close[i])
       Endif
    Next

    Minimo avrà la chiusura più bassa e MyRsi il suo RSI.

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

rilevazione valore indicatore su determinata candela


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
claudio88 @claudio88 Participant
Summary

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

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