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

Indicator or Strategy

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

    Indicator or Strategy

    Hi guys!

    Sorry about stupid question....

    I'd like to
    - get current stoploss value
    - get order opening time value
    - get highest high from order opening time value....etc

    Can i do this with an indicator..?
    Just I'd like to use chart trader further...

    If I add
    using NinjaTrader.Indicator;
    using NinjaTrader.Strategy;
    ??

    sorry again
    w.


    sorry again...

    #2
    Hello wokitun,

    Thanks for your note.

    Unfortunately, something like this would not be possible unless you recreate the Chart Trader functionality with a Strategy NinjaScript.

    An indicator will not be able to query orders so this cannot be used, even with using NinjaTrader.Strategy.

    A strategy applied to the same chart would be able to return this information, however, it is not possible to run a strategy on a chart that has Chart Trader enabled.

    Because of these issues, it would only be possible to find this information if you create buttons that place orders similar to Chart Trader. With that you would be able to manually place an order and return information about it.

    Attached is a sample strategy that I have made previously that shows how to add buttons to a toolbar and have those buttons make actions.

    If you would like assistance creating this strategy I recommend you contact one of our expert NinjaScript consultants.
    http://www.ninjatrader.com/partners....pt-Consultants
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi ChelseaB!

      Thx for your quick reply

      I checked it out...

      Now i see the difference...
      I'd like to add manually sell limit / buy limit with right mouse button...., but i can't... if i use a strategy.
      And I'd like to move manually stoploss/like in charttrader/ as well...nothing automatic trading....
      I just get some info about open trade...I didn't know that...sorry.

      I wrote an Indicator which is draw some lines on chart...
      I thought if I open an order I can get these informations easily...
      What do you suggest?

      I'm a bit disapointed... In mql4 was so easy to do this...
      So is there any other way?

      thank
      w.

      Comment


        #4
        Hello,

        Unfortunately, the only solution I can think of would be to use a strategy that allows you to manually place orders.

        Below is a link to a strategy from Indicator Warehouse that does this.
        http://www.indicatorwarehouse.com/tr...=trade-manager
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi!

          Thanks for your help...

          w.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by junkone, Today, 11:37 AM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by frankthearm, Yesterday, 09:08 AM
          11 responses
          42 views
          0 likes
          Last Post frankthearm  
          Started by quantismo, 04-17-2024, 05:13 PM
          5 responses
          35 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by proptrade13, Today, 11:06 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Clayton  
          Started by love2code2trade, 04-17-2024, 01:45 PM
          4 responses
          35 views
          0 likes
          Last Post love2code2trade  
          Working...
          X