NexusFi: Find Your Edge


Home Menu

 



Categories Help    






Search Results
Entries suggested by "Lag Calculation for Octave (MatLab)"

Entries
Decycler Indicators - DecyclerOscillator_V1 5 *
Decycler indicators Exported with NinjaTrader 7.0.1000.30

Note: The download on this entry and the one on the SimpleDecycler entry are the same and contain both indicators.


Revised 11/1/15

Revisions:

1 Ability to change plot colors and line widths.
2. Remove all code related to the signals produced for Bloodhound.
Another indicator which contains Bloodhound signals will be posted on the Bloodhound thread here.
3. Add basic signal codes to replace the Bloodhound codes.
4. Correct minor problem in code in formula calculation
5. Change the percent parameter to accept the more standard notation xx.y (%).

>>>End Revisions 11/1/15<<<


The two indicators provided, the Decycler Oscillator and the Simple Decycler, are based on the writing of John F. Ehlers published in the September 20015 issue of Stocks & Commodities magazine. The implementation used as the basis for this version was provided by NinjaTrader(NT). Although both indicators are contained in the download they are described separately. This entry describes the DecyclerOscillator.

The screenshot shows the DecyclerOscillator with modified version of the SimpleDecycler set to appear like the NT provided version (which can be downloaded here). Installing the NT version will not disturb the indicators provided as they are prefixed with “fpg”.

In the article Mr. Ehlers describes a class of filters known as high-pass filters which “allow the high-frequency components in the data to pass through to the filter output, and reject the low-frequency components”. He goes on further stating, “Since high-pass filters have very little lag, here is the trick to computing a decycler: Subtract the high-pass filter output from the data input.” This is performed in the partner indicator, the SimpleDecycler. He also states that, “You can virtually eliminate lag by getting rid of those low-frequency components.”. Both indicators contain the same algorithm (which is left to the interested math and EE gurus to figure out what he is doing) for identifying the high-pass frequencies.

The article states that the oscillator is useful when two instances , with different parameters, are placed in the same sub-graph. The NT implementation requires this to be done manually which, among other things this modification can do optionally. There are 2 controlling parameters, the HPPeriod (default 125) and the K value (default 1). According to the article, “The second instance is plotted at 80% of the HPPeriod with an input K value of 1.2. The basic idea is to compensate for a 20% reduction in cycle period with a 20% increase in the amplitude swing (the K value) of the indicator.”.

Ehlers notes that “there will always be some whipsaw conditions, but these are relatively easy to remove with other conditional statements in the code.”. Unfortunately he does not offer any suggestions here. Another important item to note, the default HPPeriod is set to the value of a half year on a day chart, likely being used for detecting cycle reversals on stocks. However as further stated in the article, “Decyclers and decycler oscillators can be used over a very wide range of input filter parameters”, but here too he offers no suggestions. This will be an experiment to be conducted by the user. However, setting it too low does introduce choppiness.


Enhancements:


1. The ability to request either the Slow, Fast, or Both plots (the “Plots Type” option).
2. Automatically adjust the fast indicator parameters by the specified percent (the “Percent” option) or to use the parameters specified by the user (the “ AsSpecified” option).
3. Three signaling options are provided: Off, Basic, and Extended (experimental for Bloodhound users). The Basic option provides the standard IntSeries values for the crossing (1, 0, -1). Extended signaling is described in the BloodHound thread here.
4. Optional smoothing for both the Fast and Slow Plots

Caution:

If the Extended signaling option is selected additional but non-conflicting signals are sent to the same IntSeries used by the Basic signaling option.

Credits with my thanks to:
1. @Zondor and @Aligator for a formula used in the Extended signaling
2. @Jack22 for the formula and supporting code.


Change Log

9/29/2015 :- Initial release
10/1/2015 :- Correct error in algorithm code for calculating Fast plot in DecyclerOscillator
11/1/2015 :- Revisions are described at the top of this page


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: Decycler Indicators - DecyclerOscillator_V1
Category: NinjaTrader 7 Indicators 


November 5th, 2015
Size: 17.61 KB
ALTOGomMP --> Several enhancements/features to GOM MP including Naked VPOC and Naked GAP. 5 *
Enhancements to GOM MP :

1. Added new SPLIT session mode, that will show AH and RTH profiles together in one chart. Works with other types as well.
2. Added Display profile levels such as Trading Session High, Trading Session Low, Mid, VPOC, Value Area High and Value Area Low
3. Added IB minutes parameter to allow you to set initial balance of your preference. IB parameter is turned off for AH session. IB won’t show if you have bar set to more than IB minutes.
4. Enhanced Developing VPOC function. Displays now straight progressing line for clear visibility.
5. Added Naked Vpoc levels with an option to display closed naked vpocs
6. Added Naked Close (GAP) levels with an option to display closed GAPS
7. Added option to display the naked level date and price level to the right panel
8. Added Summary section below the Profile that displays total profile volume with an option to format kilo, million and no formatting.
9. Added Summary section below the Profile that also display Initial Balance range and Daily range.
10. Added option to compute profiles for all bars on the chart vs on screen bars. This is important for naked levels in the past computation and display on screen without a need to squeeze the chart to naked level day.

Updated 05/21 :
Fixed IB settings for 24/7 & RTH Template;
[IB] summary level display adjustment dynamically to the top of the range.

Updated 05/22 :
Upgraded to GOMi's 4.6 version- Thanks to TimeTrade@BMT
Added a separate Pen style for dVPOC.

Updated 05/23 :
Fixed issue with the price display for currency and Bond markets

Updated 05/25 :
Added option to turn the status message off <8.13>
For this to work, additionally download and compile Hot Key Manager file from here GomHotKeyManager

Updated 05/26 :
Fixed Serialization problem for Fonts

Updated 05/27 :
Added toolbar buttons to set profile attributes.
Added option to show IB for overnight session
Added option to set color for summary text
Added option to set color for naked level text
Added option to show Continuous VA/VPOC/VWAP

Updated 05/28 :
Fixed the screen flicker issue

Updated 08/21 :
Attempt to fix performance problem reported during the RTH session start

First read details here :


Category The Elite Circle 
 
Suggest other entries I might like
Bollinger Band Keltner Channel Squeeze (BBKC Squeeze) 4 *
V2.0 - Automated drawing of Blue rectangle on the chart

You can access the plot value be using BBKCDelta[0] (for the current bar) in your trading strategies...

Message me with questions..
Thanks.

=======================
I wrote this indicator recently to help identify possible consolidation in the market. It detects times when Bollinger Band squeezes within the Keltner Channel (implies consolidation) and plots as a histogram below the chart.

Bollinger Band and Keltner Channel Period may be customized. Default 20
Keltner Channel Offset default is 1.5

I have provided for an additional offset parameter to adjust the Squeeze threshold. This helps lead the beginning of consolidation. Default is 0.5; I usually set it to 1.5. Works for me. More picky about trade signals...

I use it towards confirming my trend based trades.

Please post your questions, comments and/or feedback.


Regards!


Category The Elite Circle 
 
Suggest other entries I might like
Details: Bollinger Band Keltner Channel Squeeze (BBKC Squeeze)
Category: The Elite Circle 


May 15th, 2019
Size: 8.42 KB
irDeltaMomentumV2 for NT-8.0.18.1 64-bit 5 *
Indicator updated to Version 2 2019-09-07
Managed to get this sorted out today (finally) for NT-8, with the help of a friend.

As the name implies this is a Delta Momentum indicator (similar to one of the Gomi tools we all used on NT-7).

One thing to note however is that this indicator uses the Order Flow Cumulative Delta that was built into the lifetime license version of NinjaTrader 8 so this will not work with some of the basic versions of the platform.

***Note***
I added some functionality that was missing in the original version (due to my lack of coding skills), this version gives the user the ability to choose the Delta Calculation Type, BidAsk or UpDownTick.

***Note-2***
I'm not sure why, but the file that will download has the original file name even though the indicator included is the corrected version-2.

Enjoy,
TGN


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: irDeltaMomentumV2 for NT-8.0.18.1 64-bit
Category: NinjaTrader 8 Indicators and More 


June 25th, 2019
Size: 2.71 KB


Keywords: 2 delta momentum nt-8 version:
BuySellNetVolume Version 2 for NT8 5 *
Version 2.0 April 12, 2019

Exported with NT Version 8.0.17.2


Indicator Name: fpgBuySellNetVolume_V2 Folder: Cheech

This version functionally replaces the previous version(s) described and available here but does not replace it when this version is installed. The previous version can be removed manually when and if desired.


Enhancements/Changes in Version 2

1. User can select from several MA types for the Moving Average plots, some of which are from Lizard Indicators made available by the GNU license. Credits to Lizard Indicators for both their indicators and the MA selection code.

2. When MA smoothing is selected the type can be an SMA, EMA, or the selected MA type. The smoothing period for each MA (fast, mid, and slow) can be set individually. A MA period of 0 eliminates the smoothing for that MA. Note: The Mid MA can be used as an intermediate period by specifying a value between the fast and slow periods. When the mid MA is requested with zero value for the period (default) will result in the mid period being calculated. If a period is specified and it is not between the fast and the slow the midpoint is calculated and used. No warning message is displayed.

3. The ability to apply volume filters (1-4) against the Net volume thereby limiting the Net volume histogram display a net bar only for the volume specified in the filter(s).

4. More control over how plots are displayed.

5. The divergence marker has been moved from the Total histogram to the Net histogram. This was done because the Total histogram can be turned off. The Net and/or Net filters must be active for the divergence marker to be displayed. If the Filter option is chosen without the Net plots being display the marker will only be display when there is a divergence on a filter value.|

6. The plot for the in-progress bar has its own color and can be user set. This plot is always displayed regardless of the display option selected.

7. This is not a change but a clarification as it also existed in the previous version. The position of the total line (above the line if a buy total and below the line if a sell total) is not based upon the last Close price but on the value (positive or negative) of the Net volume.

Similar to the previous version at times setting the Indicators region Type property to Logarithm is easier to read. The 2 instances of the indicator in the screen shot have the same operation modes set but the bottom one shows some of the ability to control what is displayed. without needing to independently setting each to transparent. If a particular display is turned off the values are still calculated and can be viewed in the Data Box.

Change Log

Date Description
April 12, 2019........Initial release


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: BuySellNetVolume Version 2 for NT8
Category: NinjaTrader 8 Indicators and More 


April 12th, 2019
Size: 33.35 KB


Keywords: buysellnetvolume tickreplay
 


 
Category
 




© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top