borrar o eliminar ordenes enviadas al mercado y no ejecutadas por el Bot

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

    Buenas tardes amigos, quiero limpiar o borrar todas las ordenes abiertas, pero no ejecutadas aun,  enviadas por el sistema automatico al mercado

    Es decir, por ejemplo si lanzo una orden de Buy Limit cumpliendose dichas condiciones, pero luego el mercado se gira o empeora sin que se haya ejecutado dicha orden buy, como puedo indicarle al sistema que cancele en dicho caso la orden Buy abierta o en su caso las 3 ordenes previstos enviadas de stop y target sin que se hayan ejecutado aun?? Existe algun comando para ello? ejemplo: “Clear ALL orders” (para que me entendais)

    Graciasssss

    #229009 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    No es necesario eliminar las órdenes pendientes no ejecutadas, ya que TODAS se eliminan automáticamente al cierre de cada vela.
    En su lugar, para eliminar TODAS las operaciones abiertas, debe seguir estas instrucciones:

    If OnMarket then
       Sell at Market
       Exitshort at Market
    Endif
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

borrar o eliminar ordenes enviadas al mercado y no ejecutadas por el Bot


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: 02/29/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...