Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Posting a Variable to outside url and back

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

    Posting a Variable to outside url and back

    How would I pass a the value of variable to a url when an event happen in a indicator that I am doing and then how can capture a return variable.

    If var1 == 1 { post var1 to http://server}

    and then

    If Var2 == Null {Get Var2 from http://server}

    #2
    nettony, would unfortunately not have any supported / recommended model here. I would suggest though to look into C# Webrequest class to get started in this area.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      As bertrand suggests this is all in c#.

      I've requested webpages from my cable modem to view status of signal.

      Originally posted by nettony View Post
      How would I pass a the value of variable to a url when an event happen in a indicator that I am doing and then how can capture a return variable.

      If var1 == 1 { post var1 to http://server}

      and then

      If Var2 == Null {Get Var2 from http://server}

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by TraderG23, 12-08-2023, 07:56 AM
      10 responses
      396 views
      1 like
      Last Post beobast
      by beobast
       
      Started by lorem, Yesterday, 09:18 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by WHICKED, Today, 12:56 PM
      2 responses
      15 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by Felix Reichert, Today, 02:12 PM
      0 responses
      2 views
      0 likes
      Last Post Felix Reichert  
      Started by Tim-c, Today, 02:10 PM
      0 responses
      2 views
      0 likes
      Last Post Tim-c
      by Tim-c
       
      Working...
      X