Category Oscilators  Published on 26/03/2024

drkhashix candle power cpc + rsi

An update for this algorithm is currently pending moderation. Please revisit this page shortly to access the algorithm's latest version.
Description

This indicator, named "Cpc+rsi" or "Candle Power Comparison with RSI," is an analytical tool for traders in the financial markets that utilizes the combination of two primary factors: Candle Power and the Relative Strength Index (RSI) to provide trading signals.

In this indicator, the strength of green and red candles is calculated based on the average height of candles over two specified time periods. This strength is displayed in outputs named "Bullish Power" and "Bearish Power." Then, the RSI indicator is used to assess the buying and selling pressure in the market, which is displayed in the output labeled "RSI."

Trading signals in this indicator are generated based on the difference between the strengths of green and red candles and predefined threshold values. These signals include primary buy and sell signals, as well as secondary buy and sell signals based on specific threshold values and rules.

            // Signal logic
            bool buySignal1 = greenCandlePower >  redCandlePower ;

 Intersection of powers Bullish ↑
            bool sellSignal1 = redCandlePower > greenCandlePower ;

 Intersection of powers Bearish ↓ 


            bool buySignal2 = greenCandlePower > StaticLine2Value && redCandlePower < StaticLine2Value;

candles Power distance level 1  Bullish ↑↑
            bool sellSignal2 = redCandlePower > StaticLine2Value && greenCandlePower < StaticLine2Value;

candles Power distance Bearish 1 SELL ↓↓
 
            bool buySignal3 = greenCandlePower > StaticLine3Value && redCandlePower < StaticLine3Value;

candles Power distance level 2 (Divergence) Bullish ↑↑↑
            bool sellSignal3 = redCandlePower > StaticLine3Value && greenCandlePower < StaticLine3Value;

candles Power distance level 2 (Divergence) Bearish ↓↓↓

Finally, the latest trading signal along with the values of candle powers and the RSI are displayed on the chart, enabling traders to make more informed trading decisions.

 

drkhashix love you all


The author decided to hide the source code.
drkhashix's avatar
drkhashix

Joined on 12.02.2023

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: drkhashix cpc ++ rsi.algo
  • Rating: 0
  • Installs: 467
  • Modified: 26/03/2024 00:30
Comments
Log in to add a comment.
No comments found.