Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

talking voice? market positions from within indicator?

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

    talking voice? market positions from within indicator?

    Hi,

    I would like to do something simple:

    I trade discretionally using the charttrader using very simple ATM strategies (OCO stopp and target).

    I would like to programm a talking voice that updates me about my open positions, e.g. 20pt profit reached, etc.

    I tried programming a custom strategy , but this is of no use since it will not run whenever charttrader is open (which is open all the time)

    So an indicator...

    But how can I access the Position related functions ?


    Anyone with a good idea?

    Thank you

    Andreas

    #2
    Andreas,

    Indicators cannot access account information.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      ok, it seemed so.

      So I have a question concering strategies:

      Will a strategy continue to run (and receive all OnBarUpdate()) calls also when the charttrader window is open, or are the strategies halted as long as the charttrader is open?


      Any good idea around to help ?

      Andreas

      Comment


        #4
        Andreas,

        Strategies cannot run on the same chart as a Chart Trader. If you have two charts or run the strategy from the Strategies tab they will not interfere with each other, but remember NinjaScript strategies don't know what you have did for discretionary trades either.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          hooking Position functions

          So the solution would be to hook into NT account and position update functions.

          Is there something available?


          Andreas

          Comment


            #6
            Unfortunately this is not supported at this point in time.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Depending upon the broker platform (like IB), you could use their API to determine your PNL and then code the voice from there. I have done a lot with the IB API but don't know how well the others work...

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              574 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              333 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              553 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              551 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X