solicitud de ayuda para crear screener

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

    Necesito saber que tengo que hacer para calcular el mínimo de un indicador (por ejemplo el MACDLINE) en un rango de velas determinadas ( por ejemplo desde la vela 10 a la vela 20) Gracias

    #8980 quote
    Nicolas
    Keymaster
    Master

    Hola, con este código le aparecerá el mínimo alcanzado la línea MACD en las últimas barras “Lookback“.

    Line = MACDLine[12,26,9](close)
    
    lookback = 20 //quantity of bars to lookback for the minimum of the MACD line
    
    minimum = 0
    for i = 0 to lookback do
     minimum = min(minimum,Line[i])
    next
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

solicitud de ayuda para crear screener


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
alvaroag @alvaroag Participant
Summary

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

Topic Details
Forum: ProScreener: Buscadores de Mercado y Rastreo
Language: Spanish
Started: 06/07/2016
Status: Active
Attachments: No files
Logo Logo
Loading...