• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawingTool MoveAnchor()

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

  • TAJTrades
    started a topic DrawingTool MoveAnchor()

    DrawingTool MoveAnchor()

    In the Help Guide there is an example

    //move the chart anchors x and y values
    MyAnchor.MoveAnchor(lastPoint, newPoint, chartControl, chartScale);


    I am receiving an Error: No Overload for method"MoveAnchor" takes 4 arguments


    And the correct syntax would be ........?

  • TAJTrades
    replied
    Chelsea,

    Thanks for the update.

    I reworked the entire logic flow to incorporate:

    MyAnchor.UpdateFromPoint(point, chartControl, chartScale);

    to get the effect I needed. This required more code but it does get the job done.

    http://www.screencast.com/t/22XF7j0qYdc
    Last edited by TAJTrades; 08-15-2017, 08:41 AM.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello TAJTrades,

    This is issue is being tracked with ID #NTEIGHT-12022.

    Our development is letting us know to use the available overload at this time.

    If this breaks any previous code written before 8.0.8.0 was released please let me know so that I may inform our development.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello TAJTrades,

    Thank you for reporting this.

    I am finding the same, only the
    Code:
    MoveAnchor(ChartAnchor startDataPoint, ChartAnchor deltaDataPoint, ChartControl chartControl, ChartPanel chartPanel, ChartScale chartScale, DrawingTool drawingTool)
    overload is available and the
    Code:
    MoveAnchor(Point startPoint, Point deltaPoint, ChartControl chartControl, ChartScale)
    is not.

    I've submitted a report to our development about the missing overload.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by tshidsmre, Today, 06:06 AM
0 responses
3 views
0 likes
Last Post tshidsmre  
Started by KetoProPlus123, Today, 06:05 AM
0 responses
3 views
0 likes
Last Post KetoProPlus123  
Started by vdhsdkhl, Today, 03:00 AM
0 responses
5 views
0 likes
Last Post vdhsdkhl  
Started by fluffier, Yesterday, 11:49 PM
1 response
18 views
0 likes
Last Post NinjaTrader_Marco  
Started by GARZONJ, Yesterday, 09:02 PM
0 responses
10 views
0 likes
Last Post GARZONJ
by GARZONJ
 
Working...
X