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 forrestang, Today, 02:17 PM
    0 responses
    11 views
    0 likes
    Last Post forrestang  
    Started by Bobbybattles, Today, 01:31 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by papaoutai, Today, 12:43 PM
    2 responses
    8 views
    0 likes
    Last Post papaoutai  
    Started by sdauteuil, Today, 12:16 PM
    0 responses
    5 views
    0 likes
    Last Post sdauteuil  
    Started by arturo8317, Today, 11:40 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X