GAP APERTURA MERCADO EEUU

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

    Hola a todos. He visto algunas opciones para especificar detectar un GAP, pero no veo la forma de especificar la entrada en un GAP en la apertura de mercados (EEUU). Un saludo a todos.

    #241330 quote
    Iván González
    Moderator
    Master

    En apertura sólo podrás entrar cuando tu nivel de GAP sea inferior a la propia apertura. (buy 1 contract at levelUP stop)

    Lo que se me ocurre es calcular el nivel del GAP en diario por ejemplo y luego bajar a una temporalidad de 5 minutos o 1 minuto.

    timeframe(1day,updateonclose)
    GapUp=0.02
    levelUP=close*(1+GapUp)
    
    timeframe(default)
    if not onmarket and opentime=153000 then
    buy 10 contract at levelUP stop
    endif
    
    set stop %loss 5
    set target %profit 5 
    
    graphonprice levelUP coloured("blue")
    2024-12-11_12-42.png 2024-12-11_12-42.png 2024-12-11_12-44.png 2024-12-11_12-44.png
    #241336 quote
    deletedaccount22102025
    Participant
    New

    Hola Iván, muchísimas gracias por responder. Yo lo veo en temporalidad de 30 min y ejecutar la orden en una temporalidad inferior. Pero no sé cómo llevarlo al código.

    #241365 quote
    Iván González
    Moderator
    Master

    En realidad el código que te he pasado ya te vale. De todas formas si quieres puedes poner el timeframe inicial de 30 minutos.

    timeframe(30mn,updateonclose)
    GapUp=0.02
    levelUP=close*(1+GapUp)
    
    
    timeframe(default) //el TF para la entrada
    if not onmarket and opentime=153000 then
    buy 10 contract at levelUP stop
    endif
    
    set stop %loss 5
    set target %profit 5
    
    graphonprice levelUP coloured("blue")
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

GAP APERTURA MERCADO EEUU


ProOrder: Trading Automático y Backtesting

New Reply
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Iván González
1 year, 2 months ago.

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 12/11/2024
Status: Active
Attachments: 2 files
Logo Logo
Loading...