Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Running Different Strategy Off Same Chart

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

    Running Different Strategy Off Same Chart

    Hi:
    I am running two independent (one long & one short) strategies off the same chart. This evening I experienced the followng:

    1/ long entered at 8:30pm (email confirmation sent) & short exited at 8:30pm (no email confirmation sent)
    2/ short entered at 9:00pm (email confirmation sent) & long exited at 9:00pm (no email confirmation sent)
    3/ at 9:30pm email confirmation sent for 9:00pm exit long trade.

    It would appear that there is an interaction between the strategies --- I am using MarketPosition to confirm when position gone flat to send email.

    Any thoughts ?

    thx
    DG

    #2
    For clarification, Position.MarketPosition is the virtual position held by each strategy and is *not* the actual position of your account.

    In case this makes a difference in your logic.
    RayNinjaTrader Customer Service

    Comment


      #3
      that's what I thought. so is there any other reason why one cannot send simulataneous email (& note to log) from trading different strategies (i.e. one email from one strategy & another email from the other strategy) from the same chart. There are no issues if only running the one strategy.

      thx
      David

      Comment


        #4
        There are no limitations in the SendMail() method that would prevent you from calling this method successfully from simultaneous strategies. I would revisit your logic and ensure that the method is called when you expect it to be called.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        52 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        142 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X