Obtener la variacion diaria en puntos de un activo (EJ: SP500)

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

    Budenos dias, intento obtener la variacion en puntos diaria de un activo del grafico mediante codigo en proOrder por ejemplo, del SP500:

    Ejemplo:

    VariacPuntosSP500Today = xxx comando

    existe dicha opcion? Supongo que habra que partir con algun comando o calculo dsde la primera vela diaria del dia hasta la ultima actual por precio y multiplicarla por puntos. ¿Alguien tiene algun posible ejemplo?

    Muchas gracias!!

    #228792 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Prueba esto:

    variacion =  (Dclose(0) - Dopen(0)) / PipSize
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Obtener la variacion diaria en puntos de un activo (EJ: SP500)


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
gustavobp @gustavobp Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 02/26/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...