Newbie here
I explored NT8 for few days to this point
and I wanted to put something together, for learning purposes:
1. click on chart
2. get time and price information under mouse
3. write them into a text file
i'm not even sure if this must be an indicator, or ... a drawing tool?
I browsed quite a lot the docs, but right now i'm confused to be honest.
I would guess i have to use some of these statements / functions that i found in docs:
chartControl.MouseDownPoint;
chartControl.MouseDownPoint.X.ConvertToHorizontalP ixels(chartControl.PresentationSource);
ChartBars.GetBarIdxByX
StreamWriter writer = new StreamWriter("some_file.txt");
but right now I'm clueless of how to put this together.
Can someone help me with some pseudocode, and some pointers about how to organize all this?
I presume i would have to write inside the OnMouseDown() event?
Do i have to take care of DrawingState or something?
I still try to figure out the structure i need, but docs are too complex for me right now, too much info and terms.
I hope someone can help me get this done faster
Comment