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 kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    58 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    41 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    46 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    37 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    156 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X