APERTURA DE UNA POSICION A UNA HORA EXACTA

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #209889 quote
    josemijosemi
    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
    GraHalGraHal
    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
    josemijosemi
    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
    GraHalGraHal
    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
    josemijosemi
    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
    GraHalGraHal
    Participant
    Master

    ¿A qué hora abre el bar semanal?

    #210029 quote
    josemijosemi
    Participant
    Average

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

    #210030 quote
    josemijosemi
    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.
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

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 josemijosemi
3 years, 6 months ago.

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