Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple exits...

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

    #16
    Hello,

    This means that your account is setup for trading lots. As a values of 1 for your qty when your account is setup for mini will equal 10,000 on the brokers side. A value of qty of 1 placed on an account setup for regular lot size will be a trade for 100,000. Usually you would use a 1 for your account to trade 1 lot or 1 mini lot in most cases however brokers can vary.

    What broker are you connected too? Also if you would like please send a note to support at ninjatrader dot com and put your account number and your broker with ATTN: Brett in the subject line and reference this forum post and I can help narrow this down with your broker.


    Let me know what you find out.
    BrettNinjaTrader Product Management

    Comment


      #17
      Email sent !

      Thank you very much for your help

      Comment


        #18
        Hello,

        I contacted GAIN on your behalf and followed up with you via email you should receive it soon. I will continue to follow up with you there if needed.

        Thank You.
        BrettNinjaTrader Product Management

        Comment


          #19
          Thank you. I'm waiting for the email...

          Comment


            #20
            Hello,

            You should have it by now. I will resend it let me know if you dont get it. Also, please check your SPAM filter just incase.

            Let me know if I can be of further assistance.
            BrettNinjaTrader Product Management

            Comment


              #21
              Nothing in the spam filter... and nothing in the inbox ....

              Comment


                #22
                Hello,

                Strange, not sure why you would not receive. Can you please send me a new note and include your phone number so that I may call you.

                Thank you.
                BrettNinjaTrader Product Management

                Comment


                  #23
                  Hey ! gmail send me a bunch of emails... Suddenly received more than 180 at a time....
                  Yours was amongst them.
                  Everything looks ok now.
                  Thank you very much for all your help

                  Comment


                    #24
                    Originally posted by advs108 View Post
                    Hello There !

                    I found the solution in this thread :


                    It works perfectly !
                    Thank you very much for this great knowledge base.
                    hi,

                    I Create One Strategy

                    I Create 2 Variable Data type Double (Example A,B),This Varible as Public Scope

                    This Stragegy inside onbarupdate() method


                    If (Close[0]<Open[0])
                    {

                    A= Open[0]-Close[0];

                    Print(A); // The A Value Print Correct Value

                    B=B+A; // here I add A Value to B Because We want to stop Stagery To the Value of B=200

                    Print(B); // The Prine Value of B Disply Wrong Value This is My real problem
                    }


                    Example

                    A=0; // Declar Vaible
                    B=0; // Declar Vaible

                    Inside onbarupdate() method

                    A=12.25; //this one I get correct Value

                    B=B+A // My problem here

                    Here I print(B); Disply as 123323000 like this not correct Value


                    Are you able to help n adv how to solve the problem

                    Appreciate help very much


                    Tx a lot

                    Comment


                      #25
                      Originally posted by NinjaTrader_Brett View Post
                      Hello,

                      Thank you for your response Advs108!

                      If you have any questions after Advs108s response please let me know.

                      Thank You.
                      hi,

                      I Create One Strategy

                      I Create 2 Variable Data type Double (Example A,B),This Varible as Public Scope

                      This Stragegy inside onbarupdate() method


                      If (Close[0]<Open[0])
                      {

                      A= Open[0]-Close[0];

                      Print(A); // The A Value Print Correct Value

                      B=B+A; // here I add A Value to B Because We want to stop Stagery To the Value of B=200

                      Print(B); // The Prine Value of B Disply Wrong Value This is My real problem
                      }


                      Example

                      A=0; // Declar Vaible
                      B=0; // Declar Vaible

                      Inside onbarupdate() method

                      A=12.25; //this one I get correct Value

                      B=B+A // My problem here

                      Here I print(B); Disply as 123323000 like this not correct Value


                      Are you able to help n adv how to solve the problem

                      Appreciate help very much

                      Comment


                        #26
                        Hello CharlieAngel67,

                        Can you share the complete code you're working with? Attaching the .cs file is the easiest way for us to see what you have. This file is found in My Documents\NinjaTrader\bin\custom\strategy

                        Without seeing the file, my first suspicion is that you are seeing this for the most recent bar, when CalculateOnBarClose = false. It will update the variable for each incoming tick.
                        Ryan M.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        607 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        353 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        105 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        560 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        561 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X