CREACIÓN DE MALLA

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #188375 quote
    deletedaccount22102025
    Participant
    New

    Hola a todos,

    me gustaría saber cómo crear una malla de precios. Poder fijar un nivel por cada “x” puntos. Y no sé cómo implementarlo en PRT.

    Gracias

    #188376 quote
    robertogozzi
    Moderator
    Master

    Puede crear una matriz.

    Por ejemplo, esto crea una lista de 20 precios, 10 por encima y 10 por debajo del precio actual redondeado a las centenas, a una distancia de 50 puntos entre sí:

    CurrentPrice = floor(close / 100,0) * 100
    For i = 1 to 10
       j    = i + 10
       Temp = i * 50*pipsize
       $PriceLevel[i] = CurrentPrice + Temp
       $PriceLevel[j] = CurrentPrice - Temp
    Next
    #188452 quote
    deletedaccount22102025
    Participant
    New

    Hola Roberto,

    muchas gracias por la ayuda.

    un saludo.

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

CREACIÓN DE MALLA


ProOrder: Trading Automático y Backtesting

New Reply
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by deletedaccount22102025
4 years ago.

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 02/17/2022
Status: Active
Attachments: No files
Logo Logo
Loading...