Thank you very much for response.
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!
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
NinjaTrader
I have a question, thanks
Collapse
X
-
I have a question, thanks
I would like to ask, if is possible to program own tools for NT. E.g. some other version of RULER. Or some tool, which would be able to export values from selected bar on chart to excel sheet, or other software. This peace of software i already sow. How is this possilbe? Is there some API for this purpose?
Thank you very much for response.Tags: None
-
Hello quynhkoll,
Thank you for your note.
Yes, it would be possible to create your own custom drawing object which when you click on the chart bar would export that bars values to excel. I'm unaware of any existing samples which demonstrate how this could be done.
From the drawing tool logic you could trigger an action which will save the bar data to a file, The following would be an example of how you could write to file,
You would want to open the NinjaScript Editor under Control Center>New>NinjaScript Editor and you could view existing drawing tools in the Drawing Tools Folder for samples of existing drawing tools. You could click on one of these, save as, and start by modifying an existing tool.
You would be interested in the following section of our helpguide while building your custom drawing tool,
After you’ve created your drawing tool, you may want to write its Anchors to the file,
Another approach which might be easier would be to create an indicator which will loop through all drawing objects on a chart, and if the drawing object equals what you drew, you could have that drawing objects anchors written to a file. For example a vertical line might be a good drawing tool to trigger this write to file. You could see more information at the following link,
The following sample on the forum might provide an approach to do what you're looking to do via an Indicator, I would suggest,
Please let us know if you need further assistance.Alan P.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
42 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
3 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
||
Started by Conall, Today, 12:06 AM
|
0 responses
5 views
0 likes
|
Last Post
by Conall
Today, 12:06 AM
|
||
Started by proptradingshop, 03-21-2024, 09:50 AM
|
6 responses
27 views
0 likes
|
Last Post Today, 12:02 AM | ||
Started by mly916, Yesterday, 09:48 PM
|
1 response
14 views
0 likes
|
Last Post Yesterday, 11:54 PM |
Comment