AYUDA PARA SISTEMA EN VELAS DIARIAS

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #247030 quote
    josemijosemi
    Participant
    Average

    Hola comunidad, necesito ayuda de cómo escribir unas condiciones con las siguientes premisas:

    • apertura de posición al cierre del LUNES (velas diarias).
    • cierre de la posición al cierre del MARTES, por ejemplo (velas diarias).                                                                                                                                                                                                                                                                                                     Y cómo se escribiría si fuera en velas de 4 horas al cierre.
    #247048 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ahí está:

    Timeframe(Daily,UpdateOnClose)
    IF DayOfWeek = 2 THEN
       BUY 1 CONTRACT AT MARKET
    ENDIF
    IF DayOfWeek = 3 THEN
       SELL AT MARKET
    ENDIF
    //
    Timeframe(default)
    //Su código, si lo hay, va aquí, ya sea en un TF de 4 horas o menos
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

AYUDA PARA SISTEMA EN VELAS DIARIAS


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
josemi @josemi Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 05/13/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...