P-Signal v1.2A new program inspires confidence if the code is open and the algorithm
is based on a model whose axioms are beyond doubt.
The pricing process is not deterministic, but it is clearly subject to some kind of law.
In search of an answer I have analyzed the probabilistic space in which the axiom of choice would be fair.
The answer turned out to be unexpectedly simple and quite often discussed - entropy.
P-Signal is based on its properties.
P-Signal v1.2 is an open PINE script unifying version all of previously published P-Signals.
It allows to simultaneously observe the state of entropy of any time-frames.
Cari dalam skrip untuk "signal"
MTA-Traling StopIntroduction
Based on my previous indicator , this indicator plot a trailing stop using classic conditions.
Using The Indicator
Like any trailing stop when price is higher than the trailing stop this imply a buy signals, when price is lower than the trailing stop this imply a sell signal. It is possible to use decimals instead of integers for length as shown here :
length = 14.7
The indicator tend to react faster to price movements when a trend has been really long, this methodology is similar to the one used by the parabolic sar.
Downsides
Lack of robustness with the length parameter, the behaviour of the trailing stop can be hard to predict. There is a real need for control.
Conclusion
The indicator can be adaptive, even if it already is in a certain way, by changing the alpha variable at the start considering that 0 < alpha < 1. Its not recommended to use it right now except for testing/coding purpose.
It is clear that i'm not enthusiast when it come to this script, there is a real lack of accuracy, i still hope it can be of use.
ATR+VWAP Alert//These signals mostly consist of crossovers between a 13 VWMA and a 62 VWMA. I've found these two moving averages to be quite special in their ability to
//recognize a quick trend using volume data. The VWAP is used in the alert system as well, to give some perspective on which direction we are looking to take. We
//are also using ATR. We only take trades when the ATR is on the move, meaning we have a chance to catch a volatile move! Finally, we use RSI to help weed out bad
//trades. We only take 'longs' with bullish readings from RSI, and we only take 'shorts' with bearish readings from RSI. These alerts are fantastic for catching quick intraday
//trades in either direction. I recommend using a small 'take profit' target rather than using an exit indicator. These trades can move 20-30 pips and reverse just as quickly. Good luck!
//How To Use:
//When the alert system is added to the chart, you will notice up/down symbols appear at various locations. For bullish alerts, right click an 'Up' symbol and choose 'Add Alert on VWap & ATR..'
//There are two condition options. 'Long/short', and right below that 'Buy-Signal/Sell-Signal'. Choose 'long' and 'Buy-Signal'. At options, choose 'Once Per Bar Close'. Design your alert, and you're good to go.
//For bearish signals, find a 'down' signal on the chart. Right click and follow the same process, except choosing 'short/Sell-Signal' conditions.
Tips:
Use VWAP as a stop-loss. If a candle closes below/above the VWAP in the direction against you.. get out of the trade. The losses will be minimal and few compared to the wins. Use discretion and trade carefully. This works great with crypto. Invent your own exit. If you come up with a clever exit, please share!
You can contact me at my Discord!
discord.gg
Peak/Valley EstimationEarly Signal
Estimating the Peaks and Valleys or extrema of the price is one of the best way to catch up early movements of a trend. Of course there is no perfect way to do so, if we want a perfect estimation of peaks and valleys then we must use a non causal indicator ( repainting ), if we want a causal indicator ( non repainting ) then we will need to tradeoff accuracy for allowing our indicator to be causal, its always a matter of tradeoff at the end when trying to have a desired effect (smoothness/lag for filters) .Our indicator is causal, it wont repaint but the accuracy will depend on various parameters.
In order to detect peaks and valleys in a certain period we must detrend the price, this mean subtracting it by its moving average. We take the absolute value of this result and we filter it with a local linear regression ( LSMA ) in order to eliminate noise, then we make the assumption that the highest of our result is or a peak or a valley of the price, so we divide our detrended calculation by its highest and we get a scaled result. Lets call this final result the peak index .
Parameters
There are 3 parameters in this indicator, a length parameter who control the period of the highest mentioned above, a smooth parameter who smooth our detrended price, and finally a mod parameter who select the trigger method for estimating a peak/valley.
Here are how mods work :
mod = 1 : when the peak index is equal to 1 and the previous value is not equal to 1 then we have a peak/valley. Its the fastest of the 3 mods but the one with less accuracy.
mod = 2 : when the peak index crossunder 0.8 then we have a peak/valley. This method is more robust but slower than the previous one.
mod = 3 : when the peak index is not equal to 1 and the previous peak index is equal to 1 then we have a peak/valley. Its an average of the precedents mod in term of speed and accuracy.
Lower length values tend to estimate the peak/valley of short periods of time but can also lead to the reverse desired effect ( breakouts signals ). Smoothing is important since it reduce the number of noise in our calculation and therefore help to get better results, its a parameter that should be high, sometimes higher than length if this one is low.
Estimation of medium terms peaks/valleys with length and smooth parameter both period 100 and mod = 3
Estimation peaks in palladium way to early, an example of bad accuracy. Such behaviour can be fixed with a change in the parameters.
Complementarity With Classics Indicators
As i said before its always a matter of tradeoff, here we get faster signals but we loose in accuracy, at the contrary classics indicators often have slower signals but with more accuracy. Mixing both of them can provide additional robustness in a strategy, lets take back our palladium case, using mod 3 could have been better, but its still not optimal, so lets use a classic indicator such as a moving average of period 200, our conditions are :
Long when our peak/valley estimator estimated a valley and the price crossover our moving average.
Short when our peak/valley estimator estimated a peak and the price crossunder our moving average.
here is an exemple of such signal :
We balanced our tradeoff in a way to fix both methods problems, of course its still not a perfect fix but it provide more robustness.
Other Uses
The indicator can also be used only as an order closing indicator, its safer than taking a position based on its estimation. The indicator can also give a use to the peak index used in the calculation as a trend strength indicator.
Values below 0.5 indicate a ranging market while values over 0.5 indicate a trending market.Since its a scaled measure you can use it a smoothing constant in a adaptive filter.
Conclusions
I showed how to estimate peaks and valleys and how to use such information in order to make better decision when using classical indicators, of course at the end nothing is perfect and considering the non stationarity of the markets the parameters efficiency could change drastically.
For any questions/demands feel free to pm me, i would be happy to help you
Cloud, MA & BB Signal ConvergenceA combination of 3 popular lagging indicators (Ichimoku Cloud, Moving Average and Bollinger Bands) that generates a signal when all 3 of those lagging indicators are bullish or bearish.
Bullish is represented with a green dot above price. Bearish is represented with a red dot below price.
PARAMETERS:
1) Ichimoku Cloud
-Bullish Kumo
-Price above Kumo
-Chikou span above price
-Tenkan-sen and Kijun-sen above Kumo
-Tenkan-sen above Kijun-sen
-Price above Tenkan-sen
*opposite for bearish
Note: cloud settings is the popular settings for cryptocurrency advocated by @CarpeNoctom.
2) Moving Average
-MA1 greater than MA2
-MA2 greater than MA3
-MA3 greater than MA4
-MA4 greater than MA5
*opposite for bearish
Note: Put your MA setting from lowest to highest on MA1-MA5 respectively to generate more accurate signals.
3) Bollinger Bands
-price closed above upper band at least once
*opposite for bearish
Note: Put your MA setting from lowest to highest on MA1-MA5 respectively to generate more accurate signals.
P.S. Still on early alpha stage.
Candlestick normalizer + MA's Crossing SignalingWell, after 25 tries I finally did it ._.
Here is the candlestick normalizer I was trying to achieve. In this way you can do a fast and not biased by price candlestick analysis, for example to catch engulfish and doji's on the go ;)
I also added a MAs crossing-over signal I optimized.
Btw, I will try to add volume signaling on this indicator. I had been thinking in 2 options:
1) Maybe as a colour/unfilled bar when volume exceed average
2) Represent the volume on the width of the candlestick.
What do you prefer? Let me know.
I hope you enjoy it!
Phi it.
FIB Band Signals with RSI FilterOriginal Author: Rashad
Added by Rashad 6-26-16
These Bollinger bands feature Fibonacci retracements to very clearly show areas of support and resistance . The basis is calculate off of the Volume Weighted Moving Average . The Bands are 3 standard deviations away from the mean. 99.73% of observations should be in this range.
Updated by Dysrupt 7-12-18
-Buy signals added on lower bands, mean and upper 3 bands
-Sell signals added to upper 3 bands
-RSI filter applied to signals
-Alerts not yet added
-Long Biased
NOTE: This is NOT a set and forget signal indicator. It is extremely versatile for all environments by adjusting the RSI filter and checking the band signals needed for the current trend and trading style.
Mattzab ArrowsMattzab Arrows
THE BASICS
Buy and Sell Signal Arrows
Tack Marks to show how close the next opposite arrow might be- showing possible trend reversals
Standard Bollinger Bands
10-Day SMA Line
Configurable
Open Source
THE NITTY GRITTY
For starters, all values listed below can be changed in the settings. Length of time, as well as source, can be changed. For the Hidden EMA, this can be made visible by increasing its transparency.
ARROWS
The buy and sell signal arrows are based on price and MACD histogram.
The MACD settings are as follows: 10 day fast EMA , 20 day slow EMA , 5 day SMA signal smoothing. Instead of close price, we are using the average point of the day's high, low, and close.
For the arrows, current price and yesterday's price are using hl2 for high/low average.
A BUY arrow is created when:
Current Price IS GREATER THAN Previous Price _AND_ Current MACD Histogram IS GREATER THAN Previous MACD Histogram.
Important Note! Because the MACD Histogram repaints, the buy arrows may appear, then disappear later in the day, if the MACD changes. Check on the changelog to see if I've fixed it by the time you're reading this. (TradingView doesn't let you edit the description after it's been posted)
A SELL arrow is created when:
Current Price IS LESS THAN Previous Price _AND_ Current MACD Histogram IS LESS THAN Yesterday's MACD Histogram _AND_ Close Price is below _EITHER_ the Hidden EMA (default set to 4) _OR_ the Visible SMA (Default set to 10, which is the black line).
The hidden EMA can be made visible by increasing it's transparency in the Style tab.
Including the requirement to only sell if the standard conditions are met, PLUS being below one of those moving average lines, helps to prevent false sell arrows and repainting.
TACK MARKS
The Red Tack is the threshold, or barrier, for the next arrow. It will not move. It is based on previous High/Low/Close Price + MACD.
The Blue Tack is the current point in space for our average Price and MACD Delta Values. It will move throughout the day (or hour or minute depending on your resolution). The Blue Tack will give you an indication of how close or how far from the reversal threshold (Red Tack) the ticker is at that point.
While the Blue Tack is ABOVE Red, the most recent signal arrow will be a buy, and we are in a buy/hold period.
While the Blue Tack is BELOW Red, the most recent signal arrow will be a sell, and we are in a sell/wait period.
If the Blue Tack crosses above or below Red, you'll get the next arrow.
MOVING AVERAGE LINES
There are three moving average lines in this indicator.
The first is black, and is by default a 10-Day Simple Moving Average Line.
This black line is a good safeguard against selling too early. This is a good support line and that's how I use it.
The second is invisible, but can be made visible in the Styling, and is by default a 4-Day Exponential Moving Average Line
The third is the blue 20-Day Bollinger Band line.
BOLLINGER BANDS
The Bollinger Bands are unmodified and are just a background indicator for your use. If you prefer not to see the Bollinger Bands , change their transparency to 0% to hide them. I've cleaned up the Bollinger Bands to make the indicator as a whole- easier on the eyes.
Please leave feedback on how the script works for you, if you run into problems, if you have any changes you'd like to see, etc.
4X Global Trend SignalNOTE: This is an invite-only script for paying 4X Global Members.
When you request access, please provide your 4X Global username. I cannot provide access until I cross-check your 4X Global account to verify that you have one and that it is active.
If you are not a 4X Global member and want access; a 4X Global Membership is only $19 per month. You can read more: Click Here
I had 4X Global code this indicator based on several of their tools. This indicator is a combination of several 4X Global data sources. When all of the sources confirm a trend (based on my criteria), the indicator draws a 'buy' or 'sell' label on the chart. This is a very simple indicator to use and it's darn accurate. I may automate it at some point.
This indicator does NOT repaint, but it will flash on/off during the current bar until it closes. Do NOT enter a trade until the current bar closes with a signal. You enter at the open of the succeeding candle (i.e. the candle immediately after the signal candle).
There is only one variable to adjust; 'Risk'. When you increase the Risk variable, you are increasing your trading risk because the indicator will not respond as fast. However, I have found that higher settings filter out the noise better.
For me, the sweet spot seems to be on the 30 minute chart with a Risk value of '24'. If you find additional 'sweet spots' for this indicator, please share them with your fellow 4X Global members.
Please direct any/all support question to me. I will do my best to answer them.
This is not investment advice, just my opinion(s). Please trade accordingly.
Trade safe and keep an eye on news.
TonyUX EMA Scalper - Buy / SellThis is a simple scalping strategy that works for all time frames... I have only tested it on FOREX
It works by checking if the price is currently in an uptrend and if it crosses the 20 EMA.
If it crosses the 20 EMA and its in and uptrend it will post a BUY SIGNAL.
If it crosses the 20 EMA and its in and down it will post a SELL SIGNAL.
The red line is the highest close of the previous 8 bars --- This is resistance
The green line is the lowest close of the previous 8 bars -- This is support
Entry pointsThis great and simple indicator based on EMA generates information about entry points at close of the candle. First signal is the best entry point but you can re-enter at the next. IMPORTANT: this script does not generate exit signals and those shoud be find using money management rules or else. Perfectly catches long runs in trends at all underlayings (forex, stocks, indexes, commodities) at all timeframes. Period=100 works best independently on timeframe but I encourage you to try other. Lower period gives more incorrect signals and shorter runs, higher period gives you late entry and less. Ofcourse it gives false signals from time to time but fortunately it makes a correction very fast. Try it! Good luck and good traiding!
Body & Volume-Based Buy/Sell Signals (5min 1.5M Vol)Only for 5 min and Volume 1.5M
Conditions (Summarized)
🔹 BUY Signal
Previous candle is red: close < open
Current candle is green: close > open
Previous candle body is smaller than current:
abs(close - open ) < abs(close - open)
Previous candle body size ≥ 10 points
Both candles' volume ≥ minVolume (default: 2,000,000)
➜ Plot BUY below green candle
🔸 SELL Signal
Previous candle is green: close > open
Current candle is red: close < open
Previous candle body is smaller than current:
abs(close - open ) < abs(close - open)
Previous candle body size ≥ 10 points
Both candles' volume ≥ minVolume
➜ Plot SELL above red candle
Smart Money Breakout Signals [GILDEX]Introducing the Smart Money Breakout Signals, a cutting-edge trading indicator designed to identify key structural shifts and breakout opportunities in the market. This tool leverages a blend of smart money concepts like Break of Structure (BOS) and Change of Character (CHoCH) to provide traders with actionable insights into market direction and potential entry or exit points.
Key Features:
✨ Market Structure Analysis: Automatically detects and labels BOS and CHoCH for trend confirmation and reversals.
🎨 Customizable Visualization: Tailor bullish and bearish colors for breakout lines and signals to suit your preferences.
📊 Dynamic Take-Profit Targets: Displays three tiered take-profit levels based on breakout volatility.
🔔 Real-Time Alerts: Stay ahead of the game with notifications for bullish and bearish breakouts.
📋 Performance Dashboard: Monitor signal statistics, including win rates and total signals, directly on your chart.
How to Use:
Add the Indicator: Add the script to your favourites ⭐ and customize settings like market structure horizon and confirmation type.
Bullish & Bearish Signals (Dual Mode, Strong Filters)on research related to bullish & bearish signal, understanding how ema, macd works...
#TheStrat Multi-Timeframe In-Force Signals, Failed 2's, and FTFCThis indicator combines #TheStrat concepts of bar combinations, in-force signals, and timeframe continuity with 'Failed 2's' which can be early indication of a trend reversal.
It’s designed to help identify the prevailing trend but also reversal points when timeframe-based ranges are reclaimed because a signal failed or went out-of-force.
Core Concepts
1. TheStrat Bar Types
• 1 (Inside Bar): High ≤ previous high and Low ≥ previous low.
• 2U (Two Up): High > previous high and Low ≥ previous low.
• 2D (Two Down): Low < previous low and High ≤ previous high.
• 3 (Outside Bar): High > previous high and Low < previous low.
2. Failed 2’s — Definition & Detection
A Failed 2 occurs when a directional break (2U or 2D) reverses before following through.
This script lets you choose from four failure-definition modes:
1. Open — A 2U fails if last price is below open; a 2D fails if last price is above open.
2. Reclaim — A 2U or 2D fails if last price is within the previous bar’s range.
3. Both — Both of the above conditions must be met.
4. Either — Either condition must be met.
Failed 2U setups are bearish; Failed 2D setups are bullish.
You can also enable FTFC Override, which ignores reclaim-type failures when all higher timeframes are in full agreement with the current trend.
3. Timeframe Continuity (TFC)
TFC measures directional agreement across multiple timeframes.
• Full TFC (FTFC) Up: All selected timeframes above their opens.
• Full TFC (FTFC) Down: All selected timeframes below their opens.
• Mixed or neutral conditions are also displayed.
The indicator tracks classic TFC and supports trend-flip alerts when full agreement changes direction.
Features
• Customizable TFC table showing bar types, failed status, in-force status, reclaims, and direction arrows.
• Automatic bar coloring for TFC alignment, failed-2 transitions, or neutral states.
• Alerts for TFC trend flips.
• Multi-timeframe scanning with selectable intervals.
• Option to highlight bars that trigger a TFC flip due to failed-2 events.
Use Cases
• Quickly gauge market bias across multiple timeframes
• Identify failed 2 reversals against higher timeframes
• Spot potential turning points when trend flips occur
Limitations
This is a tool which can give earlier indication of trend reversals but is highly dependent on selected timeframes. This is discretionary, but having a range of higher and lower timeframes works best. In many cases, it will give the same trend 'flip' that classic FTFC would (based on open).
Ranges are based on timeframes, not swing highs and lows. The selected timeframes must capture the swing high or low to show a 'range' reclaim.
Timeframes lower than the display timeframe cannot be accurately shown due to PineScript limitations. They are 'greyed out' and not included in calculations or displays.
This script is based on the FTFC indicator by TradeForOpportunity with deep gratitude. It has been modified and expanded with permission under MPL 2.0.
Bbhafiz ALERT SIGNAL📌 Indicator Overview
Uses EMA20 & EMA50 to detect trend direction and identify crossover/crossunder points.
RSI filter (default ON) to improve accuracy — BUY only when RSI > 50, SELL only when RSI < 50.
Displays a BUY label below the candle and a SELL label above the candle when signals appear.
AlertCondition added so TradingView can send push notifications, pop-ups, or emails when a signal appears.
⚡ Main Logic:
BUY → EMA20 crosses above EMA50 + RSI > 50 (if filter is ON) + price above EMA20.
SELL → EMA20 crosses below EMA50 + RSI < 50 (if filter is ON) + price below EMA20.
🎯 Advantages of This Version:
No need to stare at the chart — alerts will notify you when a valid setup appears.
Can be used for scalping (M1, M5) or swing trading (H1, H4).
Perfect for busy traders since alerts only trigger on confirmed setups.
Relative Strength Buy/Sell SignalsThis Pine Script builds on the MarketSurge-style Relative Strength indicator. It calculates the RS line by comparing the stock's close to a benchmark (default: SPY). Buy signals are generated when the RS line crosses above its moving average (default 10-period SMA), indicating improving relative strength. Sell signals occur when it crosses below, suggesting weakening relative strength. Signals are labeled "BUY" (green) and "SELL" (red) on the chart, with background highlights.
It also retains the new 52-week RS highs (orange circles) and lows (purple circles), which can serve as additional confirmation for outperformance or underperformance.
Note: This approximates relative strength for trading signals but does not replicate the proprietary IBD RS Rating (a 1-99 percentile rank across all stocks). For best results, use on daily charts and combine with other analysis. Backtest thoroughly, as no strategy guarantees profits
MACD (Panel) with Histogram-Confirmed Signals - Middle LineMacd indicator with buy and sell signals to help spot the macd signal crossover and histogram
Zero Lag Liquidity [AlgoAlpha]🟠 OVERVIEW
This script plots liquidity zones with zero lag using lower-timeframe wick profiles and high-volume wicks to mark key price reactions. It’s called Zero Lag Liquidity because it captures significant liquidity imbalances in real time by processing lower-TF price-volume distributions directly inside the wick of abnormal candles. The tool builds a volume histogram inside long upper/lower wicks, then calculates a local Point of Control (POC) to mark the price where most volume occurred. These levels act as visual liquidity zones, which can trigger labels, break signals, and trend detection depending on price interaction.
🟠 CONCEPTS
The core concept relies on identifying high-volume candles with unusually long wicks—often a sign of opposing liquidity. When a large upper or lower wick appears with a strong volume spike, the script builds a histogram of lower-timeframe closes and volumes inside that wick. It bins the wick into segments, sums volume per bin, and finds the POC. This POC becomes the liquidity level. The script then dynamically tracks whether price breaks above or rejects off these levels, adjusts the active trend regime accordingly, and highlights bars to help users spot continuation or reversal behavior. The logic avoids repainting or subjective interpretation by using fixed thresholds and lower-TF price action.
🟠 FEATURES
Dynamic liquidity levels rendered at POC of significant wicks, colored by bullish/bearish direction.
Break detection that removes levels once price decisively crosses them twice in the same direction.
Rejection detection that plots ▲/▼ markers when price bounces off levels intrabar.
Volume labels for each level, shown either as raw volume or percentage of total level volume.
Candle coloring based on trend direction (break-dominant).
🟠 USAGE
Use this indicator to track where liquidity has most likely entered the market via abnormal wick events. When a long wick forms with high volume, the script looks inside it (using your chosen lower timeframe) and marks the most traded price within it. These levels can serve as expected reversal or breakout zones. Rejections are marked with small arrows, while breaks trigger trend shifts and remove the level. You can toggle trend coloring to see directional bias after a breakout. Use the wick multiplier to control how selective the detector is (higher = stricter). Alerts and label modes help customize the signal for different asset types and chart styles.
Stochastic RSI With Cross SignalA simple Stochastic RSI with crossover signals.
It plots a green arrow (↑) when %K crosses above %D, and a red arrow (↓) when %K crosses below %D.
That’s all it does. Simple. Enjoy.
Peace .
Holy Grail Signal op EMA + ADXHolygrail + adx indicator with buy signals so you can buy at the yellow arrow