Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PointLineLocation Enums

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

    PointLineLocation Enums

    This is pretty basic query, but i am not getting its one particular use.
    MathHelper.PointLineLocation enum has three enum values. I have posted a snap for my query and i would like that some one from NT team assign correct PointLineLocation for these points. I have given from what i understood, but i am not clear from numerous snippest instance where

    Code:
    case Condition.Greater:  return pointLocation == MathHelper.PointLineLocation.LeftOrAbove;
    is used. Above seems me confusing how/when Condition.Greater will be satisfied by "Left" word in LeftOrAbove enum value ? If "Left" is to represent time comparision then how it can be under Condition.Greater ?

    See my assignment , and correct if any mistake and please give explanation for above.

    1 and 10 -> DirectlyOnLine
    2,3,4 and 6 -> LeftOrAbove
    5,7,8 and 9 -> RightOrBelow
    Attached Files
    Last edited by devdas; 10-22-2016, 01:04 AM.
    Devdas
    NinjaTrader Ecosystem Vendor - Devdas

    #2
    Hello devdas,

    Thank you for your post.

    From what namespace are you accessing MathHelper.PointLineLocation?
    Is this is an enum you have located in a namespace or one you are attempting to create?

    Comment


      #3
      DrawingTools.

      I was looking at Alert codes.Though i managed to get that work , without understanding that particular point, but still it would be helpful if you explain that a bit.
      Devdas
      NinjaTrader Ecosystem Vendor - Devdas

      Comment


        #4
        Originally posted by devdas View Post
        DrawingTools.

        I was looking at Alert codes.Though i managed to get that work , without understanding that particular point, but still it would be helpful if you explain that a bit.
        Thank you for your response.

        Can you provide a bit more context on this matter?
        There is no MathHelper method called PointLineLocation. With that said, what are you trying to do and what code are you using?

        Comment


          #5
          If you are using NinjaTrader.NinjaScript.DrawingTools.MathHelper.Po intLineLocation, this is not intended for access and may have unexpected behavior as it is not documented.

          What are you trying to achieve by accessing this if you are accessing this?

          Comment


            #6
            Originally posted by NinjaTrader_PatrickH View Post
            If you are using NinjaTrader.NinjaScript.DrawingTools.MathHelper.Po intLineLocation, this is not intended for access and may have unexpected behavior as it is not documented.

            What are you trying to achieve by accessing this if you are accessing this?
            Hello Patrick,

            Thanx for your concern, sorry i could not reply.

            Fortunately i have resolved all stuck issue and completed my work. As being developing a commercial product, i could not disclose much on that.

            Thanx for your support.
            Devdas
            NinjaTrader Ecosystem Vendor - Devdas

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Perr0Grande, Today, 08:16 PM
            0 responses
            2 views
            0 likes
            Last Post Perr0Grande  
            Started by elderan, Today, 08:03 PM
            0 responses
            5 views
            0 likes
            Last Post elderan
            by elderan
             
            Started by algospoke, Today, 06:40 PM
            0 responses
            10 views
            0 likes
            Last Post algospoke  
            Started by maybeimnotrader, Today, 05:46 PM
            0 responses
            11 views
            0 likes
            Last Post maybeimnotrader  
            Started by quantismo, Today, 05:13 PM
            0 responses
            7 views
            0 likes
            Last Post quantismo  
            Working...
            X