Algorithms

Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
How to install
LT_Ind_RedGreen
  0
  0
  170
by dhnhuy
free  06 Apr 2023
Help to visualize the rising, falling. Green: rising or unchanged from green. Red: falling or unchanged from red. Can apply on any source. The RedGreen applied on an Instantaneous Trendline: The RedGreen applied on the MACD crossover histogram: here they are:
AW HL Period
  0
  0
  194
free  06 Apr 2023
show distance high and low to live candle
by mfejza
free  05 Apr 2023
The Hurst oscillator is described in Jim Hurst's book "The Magic of Stock Transaction Timing". This indicator can be used for identifying long trading zones when the indicator value is above the zero level, and for short trading zones when the indicator value is below the zero level. Range and range average values are used as extreme indicator values. These range values are then used as filter confluence indicator values to trigger events Here you can find the original version.
Hurst Oscillator
  0
  0
  121
by mfejza
free  05 Apr 2023
The Hurst oscillator is described in Jim Hurst's book "The Magic of Stock Transaction Timing". This indicator can be used for identifying long trading zones when the indicator value is above the zero level, and for short trading zones when the indicator value is below the zero level.
by dhnhuy
free  05 Apr 2023
Similar to my Auto Trendlines with Retest, however you add a pair in 1 shot, one on Price Chart an another one on an Oscillator. It could be useful to spot Divergence. Period: Period for finding local Extrema. Ctrl click on a place on Chart to do retest. When retest active, a vertical dot yellow line appears, drag the line to move retest. Press delete to delete the retest and switch to live mode. The display beside each trendline are the angle and the period. Angle (Period).
by dhnhuy
free  05 Apr 2023
The Ehlers Inverse Fisher Transform. Apply on top of any oscillator. Amp: the amplifier. Use a big number to get binary signal. The example of applying Inverse Fisher on Cyber Cycle. It helps to spot the turning point easily. 
by mfejza
free  04 Apr 2023
Supply Demand Directional Volume is a volume indicator that offers a simple way to estimate the movement and balance (or lack thereof) of supply and demand volume based on the shape of the price bar. Use the crossing supply/demand components as trading zones.
by mfejza
free  03 Apr 2023
This indicator measures the price tendency in a correlated dependency with the logarithmic detrended momentum of price and detrended price. Use the long zone when the indicator value is +3 and the short zone when the indicator value is -3. Use stars to identify the opposite overstretch of the price (oversold/overbought) in correlation with the trading zone.
by dhnhuy
free  04 Apr 2023
Auto Trendlines with Retest. Can apply on Price chart, or any Indicator chart. HighSource: source for finding Maxima. LowSource: source for finding Minima. Period: Period for finding local Extrema. DrawOnChart: Yes if you want trend lines on price. No for indicator (The HighSource and LowSource must be selected to indicators). Ctrl click on a place on Chart to do retest. When retest active, a vertical dot yellow line appears, drag the line to move retest. Press delete to delete the retest and switch to live mode. The display beside each trendline are the angle and the period. Angle (Period). Retest in action: Add Trendline for Stochastic Osc: In action: retest can go together:
by dhnhuy
free  03 Apr 2023
The Ehlers MESA Adaptive Moving Average in 2 time frames, the current timeframe and a selectable higher timeframe. Read Ehlers article about MAMA for detail, here is some text from his article: "The alpha in MAMA is allowed to range between a maximum and minimum value, these values being established as inputs. The suggested maximum value is FastLimit = 0.5 and the suggested minimum is SlowLimit = 0.05. The variable alpha is computed as the FastLimit divided by the phase rate of change. Any time there is a negative phase rate of change the value of alpha is set to the FastLimit because the phase rate of change can be no less than 1. If the phase rate of change is large, the variable alpha is bounded at the SlowLimit. This keeps MAMA from reacting to the shorter market cycles."
LT_Ind BullBearPower
  0
  0
  225
by dhnhuy
free  04 Apr 2023
Bull Bear Power with selectable sources. See also my Ehlers Smoother, the example here apply on the same setting mentioned there:    High: The High source. For price you can use High or Close, it just the sampling point. Low: The Low source. RefHigh: Reference High for calculating power, if use the same source with RefLow then there will be no gap switching power.  RefLow: Reference Low for calculating power. WSize: Window Size for calculating power. UseCount: If true, then it return the Count, not the actual Power. Example: You want to measure the power of price against the SMA 20, choose High = High(Close), Low = Low(Close), RefHigh = SMA20, RefLow = SMA20. Example 2: If you want some gap between Bull and Bear, use different RefHigh and RefLow, e.g. in my example, RefHigh = Instantaneous Trendline, RefLow = SMA20. Here is the result of using Count:  
Ehlers Smoother
  0
  0
  126
by dhnhuy
free  03 Apr 2023
Some smoothing options, can apply on top of any series. SourceType: HL2: (High + Low) / 2 HLC3: (High + Low + Close) / 3 Close Custom: selectable source. CustomSource: the source to be used if SourceType is Custom. SmoothFactor: factor to be used for selected SmoothType. For example, if SmoothType is WMA, SmoothFactor == 3 means WMA for 3 periods. SmoothType: WMA, EMA, SMA, TwoPoles, Inst, Lague, None. WMA, EMA, SMA: Conventions Weighted/Exponetial/Simple Moving Average. TwoPoles: Ehlers 2 Poles smoother (see Ehlers book). SmoothFactor will be the CutOff period, e.g. if CutOff == 10, those with frequency equivalent to < 10 bars will be depressed. Inst: The famous Ehlers Instantaneous Trendline filter, which he claimed no lag in his book. Note the setting for SmoothFactor is using Period, not the alpha. Alpha = 2.0 / (period + 1). So a period 28 would equivalent to alpha 0.07. Lague: Laguerre filter (see Ehlers book). SmoothFactor is the Gamma for Laguerre filter [0 - 0.99]. The chart below shows the Inst smoother (period = 28), vs SMA (20). Note that the Inst line is still faster than the SMA event it uses data from 28 periods.