PDA

View Full Version : Error CS0021 in Multi-Time-Frame


soyjesus
06-18-2009, 02:42 AM
When I write "Close[1][0]" for differents time frames I get the error CS0021 = "Cannot apply indexing with [] to an expression to type 'double'. Where is the wrong?

Thanks.

Jesus.

NinjaTrader_Bertrand
06-18-2009, 02:46 AM
Jesus, please use Closes[1][0] for this - http://www.ninjatrader-support.com/HelpGuideV6/Closes.html

soyjesus
06-18-2009, 03:21 AM
Ups! Sorry. Thank you very much.