Innovative Market Direction SignalThe indicator is designed to help traders identify moments when price action, volatility, volume and certain time trends are aligned in a way that signals a high probability entry into the market in one direction or another.
General:
The indicator is superimposed on the price chart (overlay=true), which makes it more convenient for visual analysis of trading signals in the context of price levels.
The user can configure the parameters through the built-in interface (for example, "Lookback Period", "Buy Signal Threshold", "Sell Signal Threshold").
Main components and their functionality:
Parameters for the user:
window_size - the number of bars or candles for calculating various metrics.
buy_threshold and sell_threshold - threshold values for determining buy and sell signals.
Momentum Asymmetry:
The code calculates the difference between positive (upMomentum) and negative (downMomentum) price changes within the selected time window.
Using a loop, it adds or updates values to the corresponding arrays, checking whether the price is increasing (positive change) or decreasing (negative change).
After collecting the data, the average positive and negative price change over the period is calculated, their proportion and input into momentum_asymmetry. This is a measure of how much the current price movement deviates from the high of the current period.
Volatility Analysis:
The ta.tr function is used to calculate the true price range.
Then, the standard deviation (ta.stdev) is used to calculate the volatility over the specified period, which reflects the volatility of prices.
Volume Momentum:
The volume and price change are combined to find the volume momentum (current_volume_momentum).
If the volume is associated with a price increase, it is considered positive, otherwise it is considered negative.
Seasonal and cyclical changes:
The seasonal_index is calculated, which reflects the time between the current timestamp and the beginning of the analyzed time window (window_size), divided by the time between the current timestamp and the previous candlestick.
Combined signal:
All calculated components (momentum asymmetry, volume momentum, volatility and seasonal index) are summed up in combined_signal.
Buy signals (buy_signal) and sell signals (sell_signal) are generated depending on the thresholds set by the user.
Visualization:
The plotshape indicator displays green circles (buy signals) above the bar and red circles (sell signals) below the bar.
The plot function outputs the combined_signal line to visualize the combined indicator.
Singals
LongBuyLongSell 90% profit Excellent Win Rate Strategy indicatorI seldom prefer the strategy version ,As you have requested to share the backtest results sharing the details here for your info only. to check how the "LongBuyLongsell" indicator is working.
BTCUSD 30min time frame used ,Tested with Forex ,Equity results are >80% when right entry is predicted.
This is, published to show only the test results of the original "LongBuyLongSell" indicator that was published in tradingview initially on 27Jun.
The test scripts are only available to do testing by me and it is keycode protected,Here sharing the results of BTCUSD of 30min time frame with the improved logic in "longbuylongsell" indicator version.
This script cannot be used for generating Alerts realtime as tradingview does not support user "Alerts" in strategy scripts . So please get access for "longbuylongsell" indicator.
Information are shared to show the accuracy of this LongBuyLongsell Indicator.
No indicator will work 100% in all time ;Win rate will be 80% ; Just sharing this as a result here and as a performance report of LongBuyLongsell Indicator script available in Tradingview.
Again,This is shared only for info ,not to be used. If you wish to use the indicator check and get the access for the working "longbuylongsell" indicator version 1 and Version 2 and not to this.