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);
    }
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mr_trade, Today, 08:41 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by StoneMan78, Today, 05:24 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by rocgusma, Yesterday, 04:42 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Jorge.andres.o, 09-17-2020, 06:00 PM
    2 responses
    49 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Stephen Trading, Yesterday, 10:55 AM
    1 response
    28 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X