Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

DrawingTool MoveAnchor()

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

  • 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.

    Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.
    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:


  • 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 ........?

Latest Posts

Collapse

Topics Statistics Last Post
Started by love2code2trade, Yesterday, 01:45 PM
4 responses
28 views
0 likes
Last Post love2code2trade  
Started by funk10101, Today, 09:43 PM
0 responses
7 views
0 likes
Last Post funk10101  
Started by pkefal, 04-11-2024, 07:39 AM
11 responses
37 views
0 likes
Last Post jeronymite  
Started by bill2023, Yesterday, 08:51 AM
8 responses
44 views
0 likes
Last Post bill2023  
Started by yertle, Today, 08:38 AM
6 responses
26 views
0 likes
Last Post ryjoga
by ryjoga
 
Working...
X