You can review the indicators’ source code in NinjaTrader 7 by selecting the menu Tools → Edit NinjaScript → Strategy from within the Control Center window and selecting the “reflex” and “trendflex” files. You can review the indicators’ source code in NinjaTrader 8 by selecting the menu New → NinjaScript Editor → Indicators from within the Control Center window and selecting the “reflex” and “trendflex” files. To import into NinjaTrader 7, from within the Control Center window, select the menu File → Utilities → Import NinjaScript and select the downloaded file. Once the file has been downloaded, you can import the indicators into NinjaTader 8 from within the Control Center by selecting Tools → Import → NinjaScript Add-On and then selecting the downloaded file for NinjaTrader 8. NinjaTrader 8: /SC/February2020SCNT8.zip.
The reflex and trendflex indicators discussed in the article in this issue, “Reflex: A New Zero-Lag Indicator” by John Ehlers, are available for download at the following links for NinjaTrader 8 and NinjaTrader 7: Sum = sum + (vFilt + i * Slope) - vFiltĭrawTextAbsolute(5, 35, "This study requires version 10.6 or later.",Ĭolor.white, Color.blue, Text.RELATIVETOBOTTOM|Text.RELATIVETOLEFT|Text.BOLD|Text.LEFT,ĭrawTextAbsolute(5, 20, "Click HERE to Color.blue, Text.RELATIVETOBOTTOM|Text.RELATIVETOLEFT|Text.BOLD|Text.LEFT, Trendflex = Calc_Flex(vFilt, Length, MST_1, "trend")įunction Calc_Flex(vFilt, Length, MS_1, Type) Reflex = Calc_Flex(vFilt, Length, MSR_1, "re") If (getCurrentBarCount() <= Length ) return SetDefaultBarFgColor(Color.RGB(0xFE,0圆9,0x00), 1) įpArray = new FunctionParameter("Length", FunctionParameter.NUMBER) SetDefaultBarFgColor(Color.RGB(0x00,0x94,0xFF), 0) SetCursorLabelName("Trendflex Indicator", 1) SetCursorLabelName("Reflex Indicator", 0) The related article is copyrighted material. reserves the right to modify and overwrite this EFS file with each new release.
In the United States and/or other countries. All Rights Reserved.ĮSignal is a service mark and/or a registered service mark of Intercontinental Exchange, Inc. The eSignal formula script (EFS) is also available for copying & pasting here:Ĭopyright 2019 Intercontinental Exchange, Inc. To discuss this study or download a complete copy of the formula code, please visit the EFS library discussion board forum under the forums link from the support menu at or visit our EFS KnowledgeBase at. Here is an example of the studies plotted on a daily chart of SPY. The filename is “TASC_FEB2020.ZIP.”įor more information about EasyLanguage in general, please see. The files for this article can be found here. To download the EasyLanguage code, please visit our TradeStation and EasyLanguage support forum. Normalize in terms of Standard Deviations Gently smooth the data in a SuperSmoother The EasyLanguage code is shown here and can also be downloaded by visiting our TradeStation and EasyLanguage support forum at the link provided after the code listing. We’ve also provided an example strategy to help you get started. Here, we are providing EasyLanguage functions for the reflex and trendflex indicators that you can use in developing your own indicators and strategies. In his article, Ehlers provides TradeStation EasyLanguage code for the indicators. According to the author, this new indicator can be used to generate signals in a more timely manner than other lagging calculations. In “Reflex: A New Zero-Lag Indicator” in this issue, author John Ehlers introduces a new averaging indicator that he has designed with reducing lag in mind.