NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 6 of 6
Search: Posts Made By: ratfink
Forum: NinjaTrader February 14th, 2015, 11:43 AM
Replies: 18
Views: 12,733
Posted By ratfink
Which is why you need the DrawObject list to get...

Which is why you need the DrawObject list to get an object that you can treat as an ILine which does have startY and endY, and can match tags with the ChartObjects list if you want to.

[you showed...
Forum: NinjaTrader February 14th, 2015, 11:37 AM
Replies: 18
Views: 12,733
Posted By ratfink
Yes, that's why I gave you the earlier example...

Yes, that's why I gave you the earlier example showing the 'ToString("0.00000") to get 5 places.

And look in the Ninja manual to see them using ILine objects from the DrawObjects list.
Forum: NinjaTrader February 14th, 2015, 10:55 AM
Replies: 18
Views: 12,733
Posted By ratfink
Looks like you have to use the DrawObjects list...

Looks like you have to use the DrawObjects list and then convert (e.g. to ILine, etc) from there.


foreach (IDrawObject draw in DrawObjects)
{
Print("draw obj " + draw.ToString());
}...
Forum: NinjaTrader February 14th, 2015, 09:58 AM
Replies: 18
Views: 12,733
Posted By ratfink
gregid spotted it (ChartObject not IChartObject),...

gregid spotted it (ChartObject not IChartObject), so use this


bool done = false;

protected override void Initialize()
{
Add(new...
Forum: NinjaTrader February 14th, 2015, 09:03 AM
Replies: 18
Views: 12,733
Posted By ratfink
I assume there is a nested access route through...

I assume there is a nested access route through the object list, but I haven't used it so may be wrong.
Forum: NinjaTrader February 14th, 2015, 08:35 AM
Replies: 18
Views: 12,733
Posted By ratfink
You could print individual elements and use the...

You could print individual elements and use the standard C# string formatting to get more places.
Showing results 1 to 6 of 6

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top