![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Nov 2007
Posts: 34
Thanks: 0
Thanked 0 times in 0 posts
|
Hi
I have recently upgraded to the latest beta because i was having some connectivity issues these seem to be fixed now ![]() but when i try to compile my strategy I get an error in the code saying Type\@BarsTypes.cs 'NinjaTrader.Data.Session.IsBeginOrEndSet' is a 'property' but is used like a 'method' CS0118 - click for info 200 23 i think this is because before i had a section of code to try and control daily risk parameters like so if (Bars.FirstBarOfSession) { // Store the strategy's prior cumulated realized profit and number of trades priorTradesCumProfit = Performance.AllTrades.TradesPerformance.Currency.C umProfit; numberOfTrades=0; } if (priorTradesCumProfit - Performance.AllTrades.TradesPerformance.Currency.C umProfit > 500) return; elseif(priorTradesCumProfit - Performance.AllTrades.TradesPerformance.Currency.C umProfit < 500) { some help would be greatly appreciated Thanks in advance |
|
|
|
|
|
#2 |
|
NinjaTrader Development
Join Date: Feb 2007
Location: Bamberg, , Germany
Posts: 279
Thanks: 0
Thanked 2 times in 2 posts
|
Hi !
Please deinstall NinjaTrader 6.5 and manually delete the content of folder '<user>\My Documents\NinjaTrader 6.5\bin\Custom\Type'. Then reinstall the latest beta of NinjaTrader (6.5.0.8). Kind regards, Christian
Christian
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Nov 2007
Posts: 34
Thanks: 0
Thanked 0 times in 0 posts
|
once again very swift and accurate support
Thanks and regards to all the NT team |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Could not compile after installing beta 4 (install dir) | Pete S | Historical NinjaTrader 6.5 Beta Threads | 4 | 12-01-2007 07:43 AM |
| NT 6 Beta Zen-Fire problem | funk101 | Connecting | 6 | 03-28-2007 10:51 AM |
| Ninja Trader 6 beta 4 startup problem | bmaltz | Connecting | 3 | 01-03-2007 04:37 PM |
| V 5.1.1.1 Beta Problem - hold button reverses buy/sell columns | dynosaratoga | Installation and Licensing | 7 | 02-17-2006 03:29 AM |
| Version 5.1.1.1 Beta problem | guy | Installation and Licensing | 4 | 02-02-2006 12:38 AM |