PDA

View Full Version : indicator as variable


e-man
10-16-2009, 04:04 PM
enjoyed the webinar on wednesday and looking fwd to getting the public beta next week ... you guys have done some incredible work!

i know this doesn't work in 6.5, but was curious to know if you can call Add() or Plot.Set() in 7.0 and pass in a string variable (eg. "SMA(10)[0]" or "MACD(12, 6, 9)[0]")?

cheers,
-e

NinjaTrader_Ray
10-16-2009, 04:29 PM
enjoyed the webinar on wednesday and looking fwd to getting the public beta next week ... you guys have done some incredible work!

i know this doesn't work in 6.5, but was curious to know if you can call Add() or Plot.Set() in 7.0 and pass in a string variable (eg. "SMA(10)[0]" or "MACD(12, 6, 9)[0]")?

cheers,
-e

Thanks. No you can not.

e-man
10-20-2009, 04:31 PM
realizing this will definitely not make the list for the first 7.x release, would you mind throwing it on the "wishlist" pile ...

what i had in mind was parsing an array of indicators, but there would have to be a method to check/validate that the indicator existed, all parms were passed in appropriately, etc. ... certainly not a 20m patch :)

cheers,
-e

NinjaTrader_Ray
10-20-2009, 04:38 PM
realizing this will definitely not make the list for the first 7.x release, would you mind throwing it on the "wishlist" pile ...

what i had in mind was parsing an array of indicators, but there would have to be a method to check/validate that the indicator existed, all parms were passed in appropriately, etc. ... certainly not a 20m patch :)

cheers,
-e

Sure, I will add.