Mostrar un pequeño texto debajo de la flecha de entrada Long en el grafico

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #229209 quote
    gustavobpgustavobp
    Participant
    New

    Buenos dias amigos, Intento mostrar un pequeño texto debajo de la flecha de entrada Long en el grafico cada vez que se abre una estrategia por ejemplo debajo de la flecha que se pueda `poner “Estrategia 1 Abierta” o “Estrategia 3 abierta”

    Hay algun comando o posibilidad para hacerlo?? Supongo que si es posible ademas esa linea de codigo deberia ponerla inmediatamente despues de “Buy 1 contract at market” ¿alguien puede ayudarme con ello por favor?

    Muchas gracias!!!

    #229212 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    No es posible. Las estrategias no se pueden imprimir en el gráfico.
    Puedes hacer algo similar en el backtest, usando una variable que distinga varias entradas y usando GRAPH para ver qué estrategia ingresó:

    MiEstrategia = 0
    IF not OnMarket THEN
       IF close CROSSES OVER average[20,0](close) THEN
          MiEstrategia = 1
          BUY 1 Contract at Market
       ELSIF Rsi[14](close) CROSSES OVER 50 THEN
          MiEstrategia = 2
          BUY 1 Contract at Market
       ENDIF
       SET TARGET pPROFIT 100
       SET STOP   pLOSS   50
    ENDIF
    GRAPH MiEstrategia
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

Mostrar un pequeño texto debajo de la flecha de entrada Long en el grafico


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
gustavobp @gustavobp Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 03/04/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...