The Climactic Distance indicator was invented and developed by Gilbert Kreuzthaler, CEO of Include IT GmbH and founder of AgenaTrader.com. This indicator is used in the Location Point Trading system. It calculates the median course of the current and historical candle at a distance to the simple moving average (SMA) of the last 20 periods. Additionally, it also measures the average course deviation within the last 80 periods. If the median course exceeds the top or bottom course deviation, the market is deemed climactic, and this influences the trading decisions made in Location Point Trading.
Calcualtion
Black line in the middle: SMA 20 Green moving line: Median Kurs Red upper and lower line: Average course deviation oft he last 80 periods.
ClimacticDistance(int sMAPeriod,int thresholdPercent)ClimacticDistance(IDataSeries InSeries,int sMAPeriod,int thresholdPercent)ClimacticDistance(int period,int tresholdPercent, Color climacticColor)ClimacticDistance(IDataSeries InSeries,int sMAPeriod,int thresholdPercent, Color climacticColor)//Upper bandClimacticDistance(int sMAPeriod,int thresholdPercent).Upper[int barsAgo]ClimacticDistance(IDataSeries InSeries,int sMAPeriod,int thresholdPercent).Upper[int barsAgo]ClimacticDistance(int period,int tresholdPercent, Color climacticColor).Upper[int barsAgo]ClimacticDistance(IDataSeries InSeries,int sMAPeriod,int thresholdPercent, Color climacticColor).Upper[int barsAgo]//Lower bandClimacticDistance(int sMAPeriod,int thresholdPercent).Lower[int barsAgo]ClimacticDistance(IDataSeries InSeries,int sMAPeriod,int thresholdPercent).Lower[int barsAgo]ClimacticDistance(int period,int tresholdPercent, Color climacticColor).Lower[int barsAgo]ClimacticDistance(IDataSeries InSeries,int sMAPeriod,int thresholdPercent, Color climacticColor).Lower[int barsAgo]//MovingAverageClimacticDistance(int sMAPeriod,int thresholdPercent).MovingAverage[int barsAgo]ClimacticDistance(IDataSeries InSeries,int sMAPeriod,int thresholdPercent).MovingAverage[int barsAgo]ClimacticDistance(int period,int tresholdPercent, Color climacticColor).MovingAverage[int barsAgo]ClimacticDistance(IDataSeries InSeries, int sMAPeriod, int thresholdPercent, Color climacticColor).MovingAverage[int barsAgo]
//DistanceClimacticDistance(int sMAPeriod,int thresholdPercent).Distance[int barsAgo]ClimacticDistance(IDataSeries InSeries,int sMAPeriod,int thresholdPercent).Distance[int barsAgo]ClimacticDistance(int period,int tresholdPercent, Color climacticColor).Distance[int barsAgo]ClimacticDistance(IDataSeries InSeries, int sMAPeriod, int thresholdPercent, Color climacticColor).Distance[int barsAgo]
Return value
double
Parameters
Int
Visualization
Example
//Output of the value for the Upper climactic distance linePrint(“Value of the upper band: “ +ClimacticDistnance(20,80).Upper[0]);//Output of the value for the Lower climactic distance linePrint(“Value of the upper band: “ +ClimacticDistnance(20,80).Lower[0]);//Output of the value for the Distance climactic distance linePrint(“Value of the upper band: “ +ClimacticDistnance(20,80).Distance[0]);//Output of the value for the Moving Average climactic distance linePrint(“Value of the upper band: “ +ClimacticDistnance(20,80).MovingAverage[0]);