The "BinHV27" strategy is a trading strategy sponsored by a user named BinH. It uses various technical indicators to generate buy and sell signals for trading. Here's a breakdown of how the strategy works:
Indicators:
RSI (Relative Strength Index): Calculates the RSI based on a time period of 5.
EMA (Exponential Moving Average): Calculates the EMA based on the RSI values.
ADX (Average Directional Index): Calculates the ADX.
MINUS_DI: Calculates the MINUS_DI based on the ADX values. PLUS_DI: Calculates the PLUS_DI based on the ADX values. EMA (Exponential Moving Average): Calculates the EMA based on the MINUS_DI values. EMA (Exponential Moving Average): Calculates the EMA based on the PLUS_DI values. EMA (Exponential Moving Average): Calculates the EMA based on the closing prices over a time period of 60. EMA (Exponential Moving Average): Calculates the EMA based on the closing prices over a time period of 120. SMA (Simple Moving Average): Calculates the SMA based on the closing prices over a time period of 120. SMA (Simple Moving Average): Calculates the SMA based on the closing prices over a time period of 240. Buy Signal:
The strategy generates a buy signal when the following conditions are met:
Slow SMA is greater than 0. Close price is below the highs EMA and lows EMA. MINUS_DI is greater than MINUS_DI EMA. RSI is greater than or equal to the previous RSI value. One of the following conditions is true:
Not preparing to change trend, not continuing up, ADX is greater than 25, bigdown is true, and EMA of RSI is less than or equal to 20. Not preparing to change trend, continuing up, ADX is greater than 30, bigdown is true, and EMA of RSI is less than or equal to 20. Not continuing up, ADX is greater than 35, bigup is true, and EMA of RSI is less than or equal to 20. Continuing up, ADX is greater than 30, bigup is true, and EMA of RSI is less than or equal to 25. Sell Signal:
The strategy generates a sell signal when the following conditions are met:
One of the following conditions is true:
Not preparing to change trend confirm, not continuing up, close price is above the lows EMA or highs EMA, highs EMA is greater than 0, and bigdown is true. Not preparing to change trend confirm, not continuing up, close price is above the highs EMA, highs EMA is greater than 0, EMA of RSI is greater than or equal to 75 or close price is above slowsma, and bigdown is true. Not preparing to change trend confirm, close price is above the highs EMA, highs EMA is greater than 0, ADX is greater than 30, EMA of RSI is greater than or equal to 80, and bigup is true. Preparing to change trend confirm, not continuing up, slowing down, EMA of RSI is greater than or equal to 75, and slowsma is greater than 0. Preparing to change trend confirm, MINUS_DI is less than PLUS_DI, close price is above slowsma, and slowsma is greater than