MACD DerivativesMACD Derivatives v1.1
Shows MACD value and derivative of MACD value in the histogram. The histogram shows 1st or 2nd order derivative as indicated in the settings. The derivative value represents the slope, the direction of change and change rate of the MACD value, aiming to give influence on possible trend turns on MACD value, ideally the possible direction change of MACD/price before the actual turn.
- 1st order derivative represents the increase or decrease of the MACD value, shown as positive or negative histogram value respectively;
- Similarly, 2nd order derivative represents the increase or decrease in the difference of the 1st order derivative value, represented via the histogram.
Both of the derivative functions are according to the value difference of n-th bar. The value n is customizable in the settings.
The indicator is based on the source code of built-in MACD indicator excluding the signal and the usual MACD histogram calculations, i.e. the signal is removed and the histogram shows the 1st or 2nd derivative of the MACD value.
For example: You can not get information about the future price via this indicator but some supportive information and visualization on the trend change such as "The uptrend is slowing down, and this slowing down is getting quicker."
Disclaimer: It is NOT recommended to open or close positions based solely on this indicator. The derivative value answers only one question, i.e. the change in last MACD value. Does not indicate any future value and I mean it.
Derivative
HEX Risk Metric (v0.2)This indicator plots a "risk metric" based on the % increases of the following averages:
ema21, sma50, sma100, sma200, sma300, sma600.
Depending on the rolling 7-day percentage increase of this moving average, a value is assigned to each data point, then normalized to a common range.
This set of metrics attempts to represent data similar to that of a heat map.
Users can adjust filter top, filter bottom, and toggle on/off the different metrics within the set.
HEX Risk Metric (v0.1)This indicator plots a "risk metric" based on the % increases of the following averages:
ema21, sma50, sma100, sma200, sma300, sma600.
Depending on the rolling 7-day percentage increase of this moving average, a value is assigned to each data point, then normalized to a common range.
This set of metrics attempts to represent data similar to that of a heat map.
Users can adjust filter top, filter bottom, and toggle on/off the different metrics within the set.
make lead signalAdd derivative of a signal for leading behaviour
formula: sig = (lambda/100)*source + (1-lambda/100)**momentum )
it has a multiplier and an offset for adjustment of result.
final formula: sig = multiplier*( (lambda/100)*src + (1-lambda/100)*mom_coef*mom ) + offset
Slope and Concavity : derivative calculations [Fournier-Eaton]This script calculates the "instantaneous" first and second derivatives in a highly flexible and accurate way: namely, via zero-lag price tracking with increasingly narrow sample windows for sequential secant approximation tending towards the tangent. The slope of this tangential is the first derivative, i.e., slope.
Paired with a divergence indicator this can be a powerful tool for trend analysis.
The Script Works As Follows
The slope (first derivative) is represented in line form
Note that crossing through zero, the slope indicates a change in trend direction.
The concavity (second derivative) is represented in histogram form
Positive concavity indicates a shape like an upward bowl, negative is like a downward bowl, and crossing through zero is an inflection point.
Pair this with any indicator that will accept arbitrary input (i.e., from other indicators) select slope or concavity (first or second derivative) to get a lead on trend changes that are often difficult to approximate with the eye during hectic markets.
This is particularly useful as an augmentation for trend shift indicator -- which has been updated.
Delta-RSI OscillatorIntroducing the Delta-RSI Oscillator.
This oscillator is a time derivative of the RSI, plotted as a histogram and serving as a momentum indicator. The derivative is calculated explicitly by means of local polynomial regression. It is designed to provide minimum false and premature buy/sell signals compared to many traditional momentum indicators such as Momentum, RSI, Rate of Change.
Application:
Potential trading signals provided by the Delta-RSI Oscillator include:
- zero crossing (negative-to-positive as a bullish sign and positive-to-negative sign as a bearish signal),
- change of direction (consider going long if the oscillator starts to advance, and short otherwise).
In addition, the strength of a particular trend can be estimated by looking at the Delta-RSI value (positive D-RSI in case of the uptrend, and negative in case of the downtrend).
Choosing the model Parameters:
-RSI Length: The timeframe of the RSI that is being differentiated.
- Frame Length: The length of the lookback frame used for local regression.
- Polynomial Order: The order of the local polynomial function.
Longer frames and lower order of polynomials will result in a " smoother " D-RSI, but at the expense of greater lag. Increasing the polynomial order while maintaining the frame length will reduce lag while producing more variance. The values set as default (Length=18, Order=2) were found to provide optimum the variance/lag tradeoff. However, other options (e.g., Length=35, Order=3) can also work well.
Relationship with other methods:
When developing this indicator, I was inspired by Connie Brown’s Derivative Oscillator. The latter pursues the same goal but evaluates the RSI derivative by means of triple smoothing. This paves the way for more clear interpretation and easier tuning of model parameters.
BitFlyerFX Kairi(%)This is an indicator that shows the ratio of spot price and "FX" price of bitFlyer, a Japanese cryptocurrency exchange.
"FXBTCJPY" is a special product and does not strictly work with spot price.
Because of the extremely "peculiar" price, it often deviates from the spot price.
This is an indicator to confirm it.
·Source
BITFLYER: BTCJPY
BITFLYER: FXBTCJPY
=================
bitFlyerの現物価格とFX価格の乖離率を見るやつ。とりあえず見れればいい人向け
[RS][V4]ZigZag Percent Reversal - Helper - AntiSlopeEXPERIMENTAL:
A helper script to map the Anti derivative slopes.
Derivative Oscillator Cu [ID: AC-P]The "AC-P" version of the Derivative Oscillator is my personal customized version of Constance Brown's Derivative Oscillator (using Everget's implementation of it as the base), with the the following modifications and additions:
VWAP Indication - option to show whether the price input option is above or below the Daily VWAP (red triangles = price input is below vwap, green triangles = price input is above vwap)
Bullish and Bearish phases from shayankm's Waddah Attar Explosion V2 () is included as indication dots (bullish = blue dots, bearish = yellow dots) below/above the Derivative Oscillator histogram
Coral Trend from Lazybear () is included as indication dots (red/green dots below/above the Derivative Oscillator histogram
Input source options for vwap, Waddah components (MACD, Bollinger Upper/Lower)
Centerline option for Coral trend, and Horizontal center option for the Derivative Oscillator with circle indication (optional - provided as option for flexibility in use with overlaying with other indicators)
This indicator is a hybrid, with a combination of leading indicators and lagging trending indicators combined into one. Specifically, a few of the other indicators I use are lacking in the momentum and trend department, and this is one of the indicators I use to address that:
VWAP provides trend information on lower timeframes from a high timeframe interval (D)
Coral Trend provides additional confirmation to VWAP trend wise, and is adjustable
Waddah Attar Explosion provides a third level of confirmation for trending moves, taking into account shorter and longer timeframes (FastEMA and SlowEMA parameters).
Script base for the Derivative Oscillator is credited to Everget () and LazyBear ().
Source attribution to Constance Brown for the Derivative Oscillator formula/indicator:
// Brown, Constance.
// Reference 1: “The Derivative Oscillator: a New Approach to an Old Problem,” Journal of Technical Analysis (Winter-Spring 1994) 45–61.
// Reference 2: Technical Analysis for the Trading Professional. New York, NY: McGraw-Hill, 1999.
Information on the Derivative Oscillator:
www.investopedia.com
Derivative Oscillator Arrows [Salty]Values above zero are considered bullish, and larger arrows print when the cross over occurs in the bullish area.
Values below zero are considered bearish, and larger arrows print when the cross under occurs in the bearish area.
SMA DerivativesIt shows the first and second derivatives (tangent line of the graph) of the SMA of a given period. If the period = 1, it shows the derivatives of the price graph itself.
Derivative OscillatorThis indicator was originally developed by Constance (Connie) M. Brown (Journal of Technical Analysis (Winter-Spring 1994, 45-61): "Derivative Oscillator: A New Approach to an Old Problem").
MaxWarren's Pine Acceleration - 2nd DerivativeThis is the acceleration of a chart written in pine. It's the second derivative otherwise the derivative of the momentum.
It shows how fast a stock's momentum is changing and in what direction.
As standard I left the controls in the settings for source and length of the estimate.
I will be incorporating this in other more complicated scripts here shortly