Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

como se puede controlar la ejecución

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    como se puede controlar la ejecución

    Muy Buen Dia.

    Me gustaria saber como puedo controlar las entredas y salidas de mi estrategias automatizada por el nombre que le pongo.


    Eje. tengo esta entrada.

    EnterLong (DefaultQuantity, "Entlargos")

    y quiero que mi estrategia solo entre si las entradas en largo tiene este nombre "Entlargos"

    si tiene otro nombre la entreda en largo que no entre ....

    mil gracias por aclarar mi duda.


    Leonardo Jimenez C.

    #2
    Hello Da vinci, thanks for your question.

    I am using Google Translate to translate your message.

    Im not sure if I understand the question. If you call the EnterLong method with a signal name, NinjaTrader is going to submit the order. You could set up the signal name as a String input and only call EnterLong if the string is == "Entlargos" e.g.

    public String mySignalName;

    if(mySignalName == "Entlargos")
    {
    EnterLong(1, mySignalName);
    }

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    116 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    61 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    43 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X