OPEN-SOURCE SCRIPT

Cevval's Future Long Short Percentage Prediction

アップデート済
This script is designed to calculate and display the dynamic win rates of long and short trades based on historical price data and various indicators. It calculates the long and short signals using price change, volume, and the Relative Strength Index (RSI). The script uses a simple moving average (SMA) to smooth out price changes and volume over a given period (14 bars in this case).

Long Signal is triggered when the price change is positive, RSI is above 50, and the volume exceeds the average volume.
Short Signal is triggered when the price change is negative, RSI is below 50, and the volume exceeds the average volume.
The script then counts the occurrences of long and short signals over the last 14 bars and calculates the win rate for both long and short trades. These win rates are plotted on the chart as percentage values, with the long win rate shown in green and the short win rate in red.

Additionally, dynamic labels are created next to the most recent bar, displaying the long and short win rates. These labels adjust their position according to the price of the most recent bar, ensuring they stay positioned correctly even when the chart is scrolled or zoomed.

In essence, the script offers a dynamic, real-time representation of the potential success rates of long and short trades based on price and volume data, allowing traders to make more informed decisions.






リリースノート
This script is designed to calculate and display the dynamic win rates of long and short trades based on historical price data and various indicators. It calculates the long and short signals using price change, volume, and the Relative Strength Index (RSI). The script uses a simple moving average (SMA) to smooth out price changes and volume over a given period (14 bars in this case).

Long Signal is triggered when the price change is positive, RSI is above 50, and the volume exceeds the average volume.
Short Signal is triggered when the price change is negative, RSI is below 50, and the volume exceeds the average volume.
The script then counts the occurrences of long and short signals over the last 14 bars and calculates the win rate for both long and short trades. These win rates are plotted on the chart as percentage values, with the long win rate shown in green and the short win rate in red.

Additionally, dynamic labels are created next to the most recent bar, displaying the long and short win rates. These labels adjust their position according to the price of the most recent bar, ensuring they stay positioned correctly even when the chart is scrolled or zoomed.

In essence, the script offers a dynamic, real-time representation of the potential success rates of long and short trades based on price and volume data, allowing traders to make more informed decisions.






Chart patternsforecastingRelative Strength Index (RSI)

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項