APERTURA DE UNA POSICION A UNA HORA EXACTA

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #209889 quote
    josemi
    Participant
    Average

    Hola comunidad, alguien me puede decir como abrir una posición, ya sea una compra o una venta,  a una hora en concreto? gracias

    #209893 quote
    GraHal
    Participant
    Master

    Prueba a continuación…

    If Time = 090000 and BuyCondition Entonces //El tiempo debe estar en formato HHMMSS

    comprar en el mercado

    Terminara si

    #210021 quote
    josemi
    Participant
    Average

    el sistema es en semanal y no ejecuta ninguna orden

    lo tengo así:

     

    IF time= 080000 and (c1 AND c2 AND c3) THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF

    #210026 quote
    GraHal
    Participant
    Master

    ¿C1, C2 y C3 son verdaderos = 1 al cierre de la barra semanal? 

    El código siempre se lee al cierre/final de la barra y las operaciones resultantes se abren al principio/comienzo de la siguiente barra.

    #210027 quote
    josemi
    Participant
    Average

    las condiciones están correctas, además son muy sencillas

    que el (close) sea mayor que (open) y que (close) sea mayor que sma[10]

    #210028 quote
    GraHal
    Participant
    Master

    ¿A qué hora abre el bar semanal?

    #210029 quote
    josemi
    Participant
    Average

    cierra el viernes a las 23:00 y abre a las 00:00 del lunes

    #210030 quote
    josemi
    Participant
    Average

    ya abre posiciones, gracias por todo

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

APERTURA DE UNA POSICION A UNA HORA EXACTA


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
josemi @josemi Participant
Summary

This topic contains 7 replies,
has 2 voices, and was last updated by josemi
3 years ago.

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