This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. View Full Risk Disclosure.ĬFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations, unlike an actual performance record, simulated results do not represent actual trading. Past performance is not necessarily indicative of future results. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Risk capital is money that can be lost without jeopardizing one’s financial security or lifestyle. An investor could potentially lose all or more than the initial investment. NinjaTrader Ecosystem, LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.įutures, foreign currency and options trading contains substantial risk and is not for every investor. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant. You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more: Simply enter a consultant name or search by using our filter categories. You can search our extensive library of NinjaScript consultants through the link below. double test = High - Low would not be executed by the compiler and ignored as if it were a comment. In the case of my earlier replies in this thread, I used the terminology of "comment out" to mean place the // in front of lines that you don't want to execute, in effect making them the same as a comment. See Help Guide for additional information. Disable this property if your indicator requires custom values that cumulate with each new market data event. You would also see entire lines of comments that may be used to explain certain sections, for example: In C#, when you use // the compiler will not execute anything on that line after the //, so in C# the // is one way to comment what is going on in the code, for example:ĭouble test = High - Low // this is an example of a comment that would explain what "test" is If you are going to work in Ninjascript then you will want to become familiar with C# programming language as that is what Ninjascript is based on and the C# syntax governs everything. Thanks for your post and welcome to the NinjaTrader forums! (Note: if you have already changed the indicator, the line number above may not match so just refer then to the original Pivots indicator to verify/ find the specific lines of code needed to change in your indicator) To: public class PivotsType 1Converter : To: įrom: public class PivotsTypeConverter : The easiest way to deal with them is to comment them out from your indicator (lines 453 - 468).įor the type converter, it would be easiest to rename it. The enums have already been created by the original pivots indicator and they already exist in the indicators namespace. The error messages you posted are related to the the two public enums and the "TypeConverter". It sounds like you have created a copy using the process you did, there is a slightly easier way:ġ) open the indicator in the Ninjascript editorĢ) In the code of the Ninjascript file, right mouse click and select "save as"ģ) Enter new indicator/file name. This helps the community keep NT7 and NT8 items separate when searching. Please note we are asking all NinjaTrader8 posts to be placed in the NinjaTrader8 beta forums.
0 Comments
Leave a Reply. |