Autonomous LSTM [Noldo] Structure
Feature Layer 1 : Formulation :
The Autonomous LSTM adaptive period equation is a multivariate equation created by averaging a table based on market weights and optimizing it for each time period, by specially Artificial Neural Networks (ANN) training and taking note of the instruments chosen from Foreign exchange instruments, Stock markets , Futures and Commodities , Interest Rates and Yields all over the Global Markets.
Market weights and liquidities were taken into consideration and included in the calculations.
Feature Layer 2: Forecast Algorithm :
When we apply only the first item, we only get the buy and sell signals in reverse.
In other words, since we measure the expectation, the positive signal informs the bear market and the negative scenario informs the bull market.
If we only act according to the expectations market, our system will be very sensitive.
When we associate this with real prices, both our accuracy increases and the reverse market returns to the normal market.
In other words, as in the indicators with standard average, the upward crosses are buy and the downward crosses are sell signal.
Examples:
a -) The normal deep learning script (ANN), which is only created according to expectations:
Unlike standard market, it gives reverse signals.
Original script :
b-) Script with Forecast Algorithm but it only uses valid and standard periods for certain instruments :
Original script :
Feature Layer 3 : Composite of Two Layers : Adaptive Period (Length) Algorithm
This layer is the most important layer.
Outputs the period.
It adjusts itself to market conditions and provides a more agile trading environment under all circumstances.
Display of smart period function and standard period :
Where the market is stagnant, the period increases automatically and reduces unnecessary trade, while in trendy markets the period decreases automatically and allows to see positions first.
The degree of stagnation of the instrument concerned is not calculated solely by volatility.
We may perceive this in relation to several factors, but yes volatility is one of these factors.
When we put the script system under the MACD (Moving Average Convergence Divergence) roof, I did the tests.
Where both averages were positive, they could report accurate harsh trend news, or vice versa.
But I decided to give it up and put it on the Stochastic Money Flow Index .
First of all , Stochastic Money Flow Index function takes the volume into account.
The reason for this is a very important factor, which is naturally contained in the structure of High - Low conditions related codes.
And by using this factor, it could be superfast adaptive in both stagnant and trendy markets.
Feature Layer 4 : High - Low Selection Algorithm
The High-Low Selection Algorithm does not depend on a specific period but scans all periods backwards.(Lookback Function - Lkb )
Outputs the lowest or highest values in the specified new period.
This algorithm was written by me with the concern that if everyone trades according to the same threshold values, it will cause problems and choosing between values of the whole period length will slow down the signals.
This algorithm consists of two functions.
a - Lkb (Lookback Function) :
The lookback function scans back all periods from 0 to Smart Period bars at the same time.
In order to show the effect of the function, it was done between 0 and 84 bars.
However, the scan period of the function is normally at the same time: 0 to adaptive period time.
If the adaptive period includes a fractional day, it can also scan it.
There is no need to be an integer.
All functions are written to make mutable variables appropriate.
And what this function will scan depends on the second feature.
The special selection algorithm is in this function.And the output is given in this function.
b-) High - Low Selection Algorithm
Outputs the lowest or highest values in the specified new period.
This function allows you to select the most advantageous low or high values, even though the adaptive period remains the same.
And the signals are even more accurate.
This is a comparison of the High-Low selection algorithm and the Function: Stochastic Money Flow Index in the standard period.
For the codes of the Stochastic Money Flow Index function:
Speed may not be clear here.
So let's take a look at on chart.
So I would like to show a comparison values of the standard and special selection algorithms on Standard Highest - Lowest Function (All effort goes to RicardoSantos)
Note: This function is the standard function and freed from integer loads.
Blue = Function Highest - Lowest (length = 10 )
Yellow = Smart High-Low Selection Algorithm (length = 10 )
You can better observe the different results in the same period on the chart.
***
4 layers are interdependent.
And when the inter-layer operations are completed, output is given.
*** - Usage of Autonomous LSTM
Plot Rules
Blue Zones = Crossover condition where the average of long and short lines is less than 50.
Orange Zones = Crossunder condition where long and short lines averages more than 50.
Green Zones = Crossover condition where the average of long and short lines is greater than 50.
Red Zones = Crossunder condition where long and short lines averages less than 50.
*** Autonomous LSTM Settings :
It is just the barcolor to be colored according to the crossover and crossunder conditions or not (I / 0) option.
*** Autonomous LSTM Alerts :
As an alert, it only reports crossover and crossunder status as "Long Signal" and "Short Signal" as a warning after the first bar closure.
*** CONCLUSION :
Autonomous LSTM Designed to be used in any time frame.
Does not repaint in any time frame.
Script is independent of constant coefficients.No period adjustment is necessary.
Each layer transfers the information in its own layer to the next layer and the results are reflected in the Stochastic Money Flow Index function built on the resultant.
Regards.
Search in scripts for "smart"
Trend Pulse Pro V2Trend Pulse Pro V2 (Non Repaint)
TradingView Account Needed: Free
You don't need to be an expert to use Trend Pulse Pro.
Just follow the signals and that's all and use simple Fibonacci levels to find stop loss and take profit!
You can increase the win rate even more by following some simple technical analysis, for example, when trend breaks (price break signal level) you can use that as support become resistance level (sell) or resistance becomes support (buy):
No complex things. No waste of time.
And although you won't win 100% of the trades (no signals can guarantee that), your trading will surely improve a lot!
Even someone with almost no trading experience can read the simple trading rules given in the included user guide, watch the how-to videos and follow Trend Pulse Pro’s signals to consistently make smarter trades.
With Trend Pulse Pro you will get accurate buy and sell signals every time there is a new trading opportunity so that you never miss any big price movements and makes your trading both easier and more profitable.
How to use the signals and alerts:
Trend Pulse Pro automatically analyze trend and price action to give you a signal when there's a good trade.
These trend signals and alerts are derived from live data but the stability of our code allows it to not repaint.
Trend Pulse Pro allow you to easily determine the trend and will give you buy and sell entry levels.
Works on all markets on all time frames so it's suitable for scalpers, day and swing traders.
If you want more details, the link is in the signature.
Disclaimer:
Past performance is not indicative of future performance. No representation is being made that any results discussed within the service and its related media content will be achieved. All opinions, news, research, analyses, prices or other information is provided as general market commentary and not as investment advice. TradingWalk, their members, shareholders, employees, agents, representatives and resellers do not warrant the completeness, accuracy or timeliness of the information supplied, and they shall not be liable for any loss or damages, consequential or otherwise, which may arise from the use or reliance of the TradingWalk service and its content. © 2019 TradingWalk.
TradingWalk indicators are built for TradingView. TradingWalk is on no way a part of TradingView.
Price-Line Channel - A Friendly Support And Resistance IndicatorIntroduction
Lines are the most widely used figures in technical analysis, this is due to the linear trends that some securities posses (daily log SP500 for example), support and resistances are also responsible for the uses of lines, basically linear support and resistances are made with the assumption that the line connecting two local maximas or minimas will help the user detect a new local maxima or minima when the price will cross the line.
Technical indicators attempting to output lines have always been a concern in technical analysis, the mostly know certainly being the linear regression, however any linear models would fit in this category. In general those indicators always reevaluate their outputs values (repainting), others non repainting indicators returning lines are sometimes to impractical to set-up. This is what has encouraged me to make a simpler indicator based on the framework used in the recursive bands indicator that i published.
The proposed indicator aim to be extremely flexible and easy to use while returning linear support and resistances, an option that allow readjustment is also introduced, thus allowing for a "smarter" indicator.
The Indicator
The indicator return two extremities, the upper one aim to detect resistance points while the lower one aim to detect support points. The length setting control the steepness of the line, with higher values of length involving a lower slope, this make the indicator less reactive and interact with the price less often.
The name "price-line" comes from the fact that the channel is dependent on its own interaction with the price, therefore a breakout methodology can also be used, where price is up-trending when crossing with the upper extremity and down trending when crossing with the lower one.
Readjusted Option
The line steepness can be readjusted based on the market volatility, it make more sense for the line to be more steep when the market is more volatile, thus making it converge faster toward the price, this of course is done at the cost of some linearity. This is achieved by checking the "readjustment" option. The effects can be shown on BTCUSD, below the indicator without the readjusted option :
when the "readjustment" option is checked we have the following results :
The volatile down movement on BTCUSd make the upper extremity converge faster toward the price, this option can be great for volatile markets.
Conclusion
The recursive bands indicator prove to be an excellent framework that allow for the creation of lots of indicators, the proposed indicator is extremely efficient and provide an easy solution for returning linear support and resistances without much drawbacks, the readjusted option allow the indicator to adapt to the market volatility at the cost of linearity.
The performance of the indicator is relative to the motion of the price, however the indicator show signs of returning accurate support and resistances points. I hope the indicator find its use in the community.
Thanks for reading !
Note
Respect the house rules, always request permission before publishing open source code. This is an original work, requesting permission is the least you can do.
Volume Trailing IntegralAbout
This indicator is an attempt to quantify the volume of buying vs. selling in the last N bars. The hypothesis is that on upticks, there was more bull volume than bull volume, and vice versa. "Trailing Integral" refers to the fact that this indicator shows the sum of bear and bull volume in the last N bars, which is akin to an integral of money flow.
Method
To compute the bear vs. bull volume on a given day, the Z score of a price change is mapped to the volume. For example, for upticks, a highly negative Z score results in a ~50/50 bull/bear volume, while a highly positive Z score results in a ~(Max weighting)/(1-Max weighting) bull/bear volume (if max weighting is 0.8, then a large uptick results in 0.8V bull and 0.2V bear volume). Volume is then summed over the last N bars, where N is the length. EMAs are applied at various points to smooth things. Stdevs are calculated for upticks and downticks independently.
Usage
I like to use this like an enhanced OBV, with a smarter bias towards bull/bear ticks. Look first at the total volume and then look for follow through by bear/bull volume. For example, a rally on low volume, with bias towards bear volume is sellable; a bottom with more bull volume on consolidation is buyable, etc.
Combined PDH, PDL, FVG, and Symbol Info### 1. Script Title နဲ့ Overview
```
🎯 Combined PDH, PDL, FVG & Symbol Info Indicator
A comprehensive trading indicator that combines Previous Day High/Low levels, Fair Value Gap detection, and symbol information display in one powerful tool.
```
### 2. Key Features Section
```
✅ **Key Features:**
📊 **Symbol Information Display**
- Customizable table showing symbol name, timeframe, and date
- Adjustable position, colors, and size
- Optional custom text overlay
📈 **Previous Day High/Low (PDH/PDL)**
- Clear visual lines for yesterday's key levels
- Green line for PDH, Red line for PDL
- Essential support and resistance levels for day trading
🎯 **Fair Value Gap (FVG) Detection**
- Automatic detection of bullish and bearish FVGs
- Visual gap highlighting with colored boxes
- Smart mitigation tracking and cleanup
- Configurable history (up to 50 FVGs)
🚨 **Advanced Alert System**
- PDH/PDL breakout alerts
- FVG formation alerts after key level interactions
- Comprehensive alert combinations for all scenarios
```
### 3. How to Use Section
```
🔧 **How to Use:**
1. **Setup**: Add indicator to your chart (works on all timeframes)
2. **Configuration**: Adjust colors, position, and display options in settings
3. **Interpretation**:
- Watch for price reactions at PDH/PDL levels
- Look for FVG formations after level breaks
- Use alerts to catch key setups automatically
💡 **Best Timeframes**: 1m, 5m, 15m, 1H for intraday trading
🎯 **Best Markets**: Forex, Stocks, Crypto, Indices
```
### 4. Trading Applications
```
📈 **Trading Applications:**
• **Scalping**: Use FVGs as quick reversal zones
• **Day Trading**: PDH/PDL as major support/resistance
• **Swing Trading**: Combine levels for multi-timeframe analysis
• **Risk Management**: Use levels for stop-loss placement
⚡ **Pro Tips:**
- Wait for FVG mitigation before entering trades
- Combine with price action for better entries
- Use alerts to catch setups while away from charts
```
### 5. Technical Details
```
🔧 **Technical Details:**
- Compatible with TradingView Pine Script v5
- Memory optimized for smooth performance
- Real-time updates with historical data accuracy
- Customizable visual elements and alert conditions
📋 **Settings Available:**
- Symbol info display options
- FVG color and transparency settings
- Alert configuration for all conditions
- Table position and styling options
```
### 6. Credits & Disclaimer
```
👨💻 **Credits:**
Combined work by SaiYarYar and toodegrees
Original concepts enhanced and merged for comprehensive analysis
⚠️ **Disclaimer:**
This indicator is for educational purposes. Always use proper risk management and combine with your own analysis. Past performance doesn't guarantee future results.
📞 **Support:** Contact for questions or feature requests
🔄 **Updates:** Regular improvements and new features added
```
---
## Marketing အတွက် Additional Tips:
### Attractive Headlines
- Use emojis sparingly but effectively
- Include power words: "Advanced", "Professional", "Complete"
- Mention key benefits upfront
### Structure Best Practices
1. **Hook** (2-3 lines): What problem does it solve?
2. **Features** (bullet points): What can users get?
3. **Benefits** (practical use): Why should they care?
4. **Technical** (brief): How reliable is it?
5. **CTA** (call to action): What should users do next?
### Keywords to Include
- "Day trading", "Intraday", "Support/Resistance"
- "Fair Value Gap", "FVG", "Smart Money Concepts"
- "Previous Day High/Low", "PDH/PDL"
- "Alert system", "Automated", "Real-time"
- "Professional", "Advanced", "Comprehensive"
### Formatting Tips
- Use **bold** for important points
- Use bullet points for easy scanning
- Include emojis for visual appeal (but don't overuse)
- Keep paragraphs short and readable
- Use line breaks for better spacing
### Common Mistakes to Avoid
❌ Too technical without explaining benefits
❌ No clear structure or sections
❌ Missing use cases or applications
❌ No screenshots or visual examples mentioned
❌ Overpromising returns or "holy grail" claims
❌ Poor grammar or spelling errors
T-Step LSMAIntroduction
The trend step indicator family has produced much interest in the community, those indicators showed in certain cases robustness and reactivity. Their ease of use/interpretation is also a major advantage. Although those indicators have a relatively good fit with the input price, they can still be improved by introducing least-squares fitting on their calculations. This is why i propose a new indicator (T-Step LSMA) which aim to gather all the components of the trend-step indicator family (including the auto-line family).
The indicator will use as a threshold the mean absolute error between the input and the output (T-Channel) scaled with the efficiency ratio (Efficient Trend Step) while using least squares in order to provide a better fit with the price (Auto-Filter).
The Indicator
The interpretation of the indicator is easy, the indicator estimate an up-trending market when in blue, down-trending when in orange, the signal only depend on the trend-step part ( b in the code).
length control the period of the efficiency ratio as well as any components in the lsma calculation. The efficiency ratio allow to provide adaptivity, therefore the threshold will be lower when market is trending and higher when market is ranging.
Sc control the amount of feedback of the indicator, a value of 1 will use only the closing price as input, a value of 0.5 will use 50% of the closing price/indicator output as input, this allow to get smoother results.
It is possible to get the non-smooth version of the indicator by checking "No Smoothing".
This allow the indicator to filter more information.
Least Squares Smoothing - Benefits
One could ask why introducing least squares smoothing, there are several reasons to this choice, we have seen that trend-step indicators are boxy, they filter most of the variational information in the price, introducing least squares smoothing allow to gain back some of this variational information while providing a better fit with the price, the indicator is more noisy but also more practical in certain situations.
For example the indicator in its boxy form can't really be useful as input for other indicators, which is not the case with this version.
Relative strength index of period 14 using the proposed indicator as input.
Down-Sides
The indicator is dependent on the time frame used, larger time frames resulting in an indicator overfitting, sticking with lower time frames might be ideal. The indicator behavior might also change depending on the market in which it is applied.
Setting Up Alerts For The Indicator
Alerts conditions are already set, in order to create an alert based on the indicator follow these steps :
Go to the alert section (the alarm clock) -> create new alert -> select T-Step LSMA in condition -> Below select Up or Dn (Up for a up-trending alert and Dn for a down-trending alert)
In option select "once per bar close", change the message if you want a personalized message.
Conclusion
I don't think i'll post other indicators related to the trend-step framework for the time to comes, nonetheless the ones posted proven to have interesting results as well as many upsides. Although i don't think they would generate positive long-terms returns they could still be of use when using smarter volatility metrics as threshold. The proposed indicator conserve more information than its relatives and might find some use as input for other indicators.
Recommended Use Of The Code
Although i don't put restrictions on the code usage, i still recommend creative and pertinent changes to be made, graphical changes or any minor changes are not necessary, remember that such practice is disrespectful toward the author, you don't want to load up the tradingview servers for nothing right ?
Support Me
Making indicators sure is hard, it takes time and it can be quite lonely to, so i would love talking with you guys while making them :) There isn't better support than the one provided by your friends so drop me a message.
Linear Regression BotHello Fellow Traders!
-------------------------------------------
This is the newest addition to Gnome Alerts PRO!
This is a new trading method designed to take advantage of Linear Regression methods along with using price blocks to make smarter trades.
PineScript v4 allows us to get more creative from an indicator perspective and really make some neat stuff.
This Bot Script works on all Crypto, Leverage, Forex, & Traditional Exchanges.
FEATURES
------------------------
*Goat Alerts & Autoview Ready*
- Easy to Use
- DCA
- Avg Position Tracking
-Take Profit
- Stop Loss
You can get access to any of my scripts by visiting my Website, all links are down below....
Kaufman Adaptive Least Squares Moving AverageIntroduction
It is possible to use a wide variety of filters for the estimation of a least squares moving average, one of the them being the Kaufman adaptive moving average (KAMA) which adapt to the market trend strength, by using KAMA in an lsma we therefore allow for an adaptive low lag filter which might provide a smarter way to remove noise while preserving reactivity.
The Indicator
The lsma aim to minimize the sum of the squared residuals, paired with KAMA we obtain a great adaptive solution for smoothing while conserving reactivity. Length control the period of the efficiency ratio used in KAMA, higher values of length allow for overall smoother results. The pre-filtering option allow for even smoother results by using KAMA as input instead of the raw price.
The proposed indicator without pre-filtering in green, a simple moving average in orange, and a lsma with all of them length = 200. The proposed filter allow for fast and precise crosses with the moving average while eliminating major whipsaws.
Same setup with the pre-filtering option, the result are overall smoother.
Conclusion
The provided code allow for the implementation of any filter instead of KAMA, try using your own filters. Thanks for reading :)
Volume CandlesHello traders!
Well, I was trying to implement EquiVolume Charts that were developed by Richard W. Arms, but unfortunately I got a poor result.
Instead, I used my groundwork on EquiVolumes to create Volume Candles indicator to help you make better, smarter trades.
What are the cool features?
Excellently filters the instrument's movements
Gives a better view of the accumulation/distribution phases
Completely removes price gaps
Works on ANY instrument that has available volume data.
Personally, I am a big fan of the volume-based indicators and to clarify my position I cite the following words of Buff Pelz Dormeier from his book "Investing with Volume Analysis: Identify, Follow, and Profit from Trends" :
A trade produces only two pieces of information: the price and price's neglected sibling, volume. Perhaps the least appreciated piece of the puzzle, volume represents fertile ground for technical analysis. Proficiency in volume analysis is a rare skill. Properly understood, though, volume analysis can provide its practitioner with the power to peer deeply into market mechanics.
Benjamin Graham, the father of value investing and a mentor of Warren Buffett, often called the market a 'voting machine'. If so, then volume is the ballot box. Volume is a literal illustration of the power behind the forces of supply and demand.
Volume is understood as the validation of price, the source of liquidity, the substantiation of information, the fulfillment of convictions, the revelation of divergent opinions, the fuel of the market, the proponent of truth, and the energy behind the velocity of money. If you believe any of this information might be important in making an investment decision, volume analysis is important to you.
I attached some screenshots to show you how it works with other instruments.
Happy Trading!
Kaufman Adaptive Moving AverageKaufman Adaptive Moving Average script.
This indicator was originally developed by Perry J. Kaufman (`Smarter Trading: Improving Performance in Changing Markets`, 1995).
zibi fib1So lets make thing smarter:)
ZIBI is volume indicator that i created which calculate prive volume per candle
it set buy point when it cross low fib =green
sell point when it cross down high fib
have fun
alerts inside
Kaufman Efficiency RateKaufman Efficiency Rate
The Efficiency Ratio (ER) was first presented by Perry Kaufman in his 1995 book ‘Smarter Trading‘.
It is calculated by dividing the price change over a period by the absolute sum of the price movements that occurred to achieve that change.
The resulting ratio ranges between 0 and 1 with higher values representing a more efficient or trending market.
The ER is actually very similar to the Chande Momentum Oscillator (CMO) presented by Tushar S. Chande in ‘The New Technical Trader‘ (1994).
The difference is that the CMO takes into account for market direction but if you take the absolute CMO and divide by 100 you you get the Efficiency Ratio.
A measure of a trends strength can be very useful as some strategies work best on a trending market and some in a range bound market.
Likewise different moving average lengths will perform better depending on the market type at that time.
donQ - Good God
Godmode + TTM -4.50% Squeeze + Shorts and Longs (thin red and blue lines).
coming soon - distance to VWAP
- smarter buy sell logic with connection to shorts / longs / vwap / ttm -4.50%
have fun
donQ
donQ - Good GodGodmode + TTM Squeeze + Shorts and Longs (thin red and blue lines).
coming soon - distance to VWAP
- smarter buy sell logic with connection to shorts / longs / vwap / ttm
have fun
donQ
Gambit Trading Suite v3.0Gambit Trading Suite v3.0
New features:
* Better trading algorithms
* Every feature and candle color can now be fully customized
* Better RSI Divergence logic
* Built in trading alerts
* Cleaner code
& more!
The Gambit Trading Suite was designed to combine all of the best signals into one single indicator. This suite should tell you everything you need to know about price.
Try this indicator for FREE! Leave a comment below and we will give you access to the trading suite generally within 72 hours.
Quick Setup (after you have been granted access):
1. Navigate to any chart and right click on the background. Click on "Insert Indicator."
2. Click on "Invite-Only Scripts" and you will see the Gambit Trading Suite as an option. Click it to add it to your chart.
3. By default, the majority of the indicators are disabled. Click the gear icon to the right of the indicator name at the top left of your chart. It should be the second button after "Gambit Trading Suite v3.0."
4. After opening the config menu, you can enable whichever indicators you want.
(For the complete step-by-step setup guide & full indicator documentation, please send me a message)
Confirmed Reversals
These offer the best locations to buy/long with the least risk. The majority of the time they turn out to be the reversals from bearish price action. If the trade does not turn profitable immediately, the algorithm is designed to fail as soon as possible so you can close at breakeven or a very small loss. The profitable trades can be left to run. Over time and when stacked with other indicators, these entries can increase the profitability of your trades and reduce your losing ones. Confirmed Reversals on the chart show up as the letter C with an arrow upwards. They are blue in the example above.
Colored Candles
Helps you to see the strength of the trend in real-time, and helps you to make smarter trade entries and exits.
Bullish Breakout = Blue
Bullish Unconfirmed Reversal = Yellow
Bullish Trend (Weak) = Pistachio Green
Bullish Trend (Strong) = Lime Green
Bearish Breakdown = Dark Purple
Bearish Pivot (1 to 3 candles bearish bias) = Orange, shown with a downward arrow and the letter B on the chart. The signal fails if a future candle closes above the orange one.
Bearish Trend = Red
Stalled After Price Breakout = Olive Green
Neutral Pivot , Minor Bullish Bias = Bright Purple
Neutral / No Trend = Gray
Gambit Daily & Weekly Levels
These provide dynamically-updated daily and weekly support and resistance levels. It is very common to see price retest these levels, so it offers a decent place to set alarms or bids.
RSI Divergences
The Gambit Trading Suite posts green flags for bullish RSI divs, and red flags for bearish RSI divs. Both hidden and regular divergences are marked.
Gambit StochRSI Grid (This indicator is listed separately. Please visit my profile page to get it)
This indicator highlights StochRSI overbought/oversold values for 1D, 2H, 1H, & 30m timeframes (From top to bottom. Timeframes can be changed in settings).
If the lower three timeframes are all overbought/oversold, a direction arrow will show, suggesting the direction of the trend. By default, there are four available timeframes tracked, three of which are low timeframe and one is for a quick-glance at the 1D. Only the lower three are utilized for printing arrow signals.
Public indicators:
For your convenience, we have bundled the most commonly requested indicators inside the suite. They include:
Ichimoku Cloud (Optimized for the cryptocurrency markets by default but it can be optimized to any settings)
EMA #1 (Shown as purple and pink crosses in the example above)
EMA #2 (Shown as pink crosses)
Bollinger Bands
Pivot Points
For a detailed step-by-step setup guide & full documentation on the indicators, feel free to message me.
Candle CountingI was talking with one of the biggest hedge fund traders in the world the other day. He goes to me, "Brian, why don't you come and work for us, since you're a better trader than anyone at our firm?" Well I said I would, but there's no one there with an iq as high as mine, so I'd have no one to talk to when I'm eatin my sammiches. Man I'm a savant mate, I'm a f***ing CANDLE COUNTER. I tell people all the time, know your market. And that's your tip of the day really, I mean nobody out there knows Yen better than me. I mean the other day I was 70,000 in the hole, but I didn't get out, I was balls deep making a cheese sammich on the George Forman. Now I mean you can try and do what I'm doing, but understand something, I am 100% smarter than you, and your machines. In the industry, they call me Mr. Yen, I touch the sun, and my d*ck, regularly.
Gambit Trading Suite v2.49Gambit Trading Suite v2.49
The Gambit Trading Suite was designed to combine all of the best signals into one single indicator. This suite should tell you everything you need to know about price.
Try this indicator for FREE! Leave a comment below and we will give you access to the trading suite generally within 24 hours.
Quick Setup (after you have been granted access):
1. Navigate to any chart and right click on the background. Click on "Insert Indicator."
2. Click on "Invite-Only Scripts" and you will see the Gambit Trading Suite as an option. Click it to add it to your chart.
3. By default, the majority of the indicators are disabled. Click the gear icon to the right of the indicator name at the top left of your chart. It should be the second button after "Gambit Trading Suite v2.49."
4. After opening the config menu, you can enable whichever indicators you want.
(For the complete step-by-step setup guide & full indicator documentation, please send me a message)
Private indicators:
Confirmed Reversals
These offer the best locations to buy/long with the least risk. The majority of the time they turn out to be the reversals from bearish price action. If the trade does not turn profitable immediately, the algorithm is designed to fail as soon as possible so you can close at breakeven or a very small loss. The profitable trades can be left to run. Over time and when stacked with other indicators, these entries can increase the profitability of your trades and reduce your losing ones.
Colored Candles
Helps you to see the strength of the trend in real-time, and helps you to make smarter trade entries and exits.
Bullish Breakout = Blue
Bullish Unconfirmed Reversal = Yellow
Bullish Trend (Weak) = Pistachio Green
Bullish Trend (Strong) = Lime Green
Bearish Breakdown = Dark Purple
Bearish Pivot (1 to 3 candles bearish bias) = Orange
Bearish Trend = Red
Stalled After Price Breakout = Olive Green
Neutral Pivot, Minor Bullish Bias = Bright Purple
Neutral / No Trend = Gray
Daily & Weekly S&R Levels
These provide dynamically-updated daily and weekly support and resistance levels. It is very common to see price retest these levels, so it offers a decent place to set alarms or bids.
Candle Structure Labeling
For newer traders, we offer the ability to have every candle automatically labeled by its structure, whether it is a bullish harami, bearish engulfing, etc. We also offer a small bar at the bottom for price hints so you can see a quick summary of whether the current candle is bullish or bearish.
RSI Divergences
The Gambit Trading Suite posts green flags for bullish RSI divs, and red flags for bearish RSI divs. Both hidden and regular divergences are marked.
Gambit StochRSI Grid (This indicator is listed separately. Please visit my profile page to get it)
This indicator highlights StochRSI overbought/oversold values for 1D, 2H, 1H, & 30m timeframes (From top to bottom. Timeframes can be changed in settings).
If the lower three timeframes are all overbought/oversold, a direction arrow will show, suggesting the direction of the trend. By default, there are four available timeframes tracked, three of which are low timeframe and one is for a quick-glance at the 1D. Only the lower three are utilized for printing arrow signals.
Public indicators:
For your convenience, we have bundled the most commonly requested indicators inside the Gambit suite in order to allow you to get up to 10 indicators enabled at once. The public included indicators are:
Ichimoku Cloud
EMA #1
EMA #2
Bollinger Bands
Pivot Points
For a detailed step-by-step setup guide and complete documentation on the indicators (as well as best practices on how to use the Gambit Trading Suite), feel free message me.
Leave a comment below to try the Gambit Trading Suite for FREE.
Binary 15 V1 w/ AlertsSo this is my first time coding Pinescript. I used bits and pieces of idea from smarter people like JustUncle, uscgears and Chris Moody.
I then combined bits and pieces and came with my own criteria for Binary Options.
Please use and provide feedback.
Rules:
Fuschia Bar: Sell for next available 15 min expiry
Yellow Bar: Buy for next available 15 min expiry
Notes:
When Stoch is OB/OS avoid trade
Alert Capable
Avoid trading in low volume times or during new releases
Supply & Demand & Backtest (M5-H4)// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © RoseZero
//@version=6
indicator('Vung Cung va Cau (M5-H4)', overlay = true)
//===Input===
length1 = input.int(5, 'Swing Loockback', minval = 1)
lengthM5 = input.int(10, title = 'Lookback (M5-M30)')
LengthH1 = input.int(20, title = 'Lookback (H1-H4)')
volMultiplier = input.float(1.5, title = 'Volume Threshold')
zoneHeight = input.float(0.4, title = 'Zone Height (%)')
rsiPeriod = input.int(14, title = 'RSI Period')
rsiOB = input.int(70, title = 'RSI Overbought')
rsiOS = input.int(30, title = 'RSI Oversold')
zoneDuration = input.int(20, title = 'ZOne Duration (bars)')
showEngulfing = input.bool(true, 'Highlight Engulfing Candles')
//boxLookback = input.int(10, title = 'Khoang cach toi da giua 2 liquidity Grab')
//===Auto-adjust by timeframe===
isLowerTF = timeframe.isminutes and timeframe.multiplier <= 30
length = isLowerTF ? lengthM5 : LengthH1
//===Calculation==
avgVol = ta.sma(volume, length)
rsi = ta.rsi(close, rsiPeriod)
highVol = volume > avgVol * volMultiplier
//===Supply Zone Conditions===
isSwingHigh = high == ta.highest(high, length)
bearish = close < open
supplyCond = highVol and isSwingHigh and bearish and rsi > rsiOB
//===Demand Zone Condition===
isSwingLow = low == ta.lowest(low, length)
bullish = close > open
demandCond = highVol and isSwingLow and bullish and rsi < rsiOS
//===Strength Classification===
zoneStrength = volume / avgVol
supplyColor = zoneStrength > 2 ? color.red : color.new(color.red, 60)
demandColor = zoneStrength > 2 ? color.green : color.new(color.green, 60)
supplyLabel = zoneStrength > 2 ? 'Supply(Strong)' : 'Supply(Week)'
demandLabel = zoneStrength > 2 ? 'Demand(Strong)' : 'Demand(Week)'
//===Draw Zone===
if supplyCond
box.new(left = bar_index, right = bar_index + zoneDuration, top = high, bottom = high * (1 - zoneHeight / 100), bgcolor = color.new(supplyColor, 80), border_color = supplyColor, text = supplyLabel, text_color = color.white)
alert('Vung cung moi xuat hien', alert.freq_once_per_bar_close)
if demandCond
box.new(left = bar_index, right = bar_index + zoneDuration, top = low * (1 + zoneHeight / 100), bottom = low, bgcolor = color.new(demandColor, 80), border_color = demandColor, text = demandLabel, text_color = color.white)
alert('Vung cau moi xuat hien', alert.freq_once_per_bar_close)
//===Alert=== alertc
alertcondition(supplyCond, title = 'New Supply Zone', message = 'Vung Cung moi xuat hien!')
alertcondition(demandCond, title = 'New Demand Zone', message = 'Vung Cau moi xuat hien!')
//============================================================================================
//===Khung thoi gian su ly===
timeframe = input.timeframe('30', 'Khung phan tich(vd:\'30\', \'60\')')
//===So nen truoc de do vung OB===
lookback = input.int(10, 'so nen truoc de do oder block')
//===Lay du lieu tu khung thoi gian lon hon===
= request.security(syminfo.tickerid, timeframe, [high , low , open , close ])
src = input.source(close, 'Nguon gia')
//===Logic phat hien OB ===
isBearishOB = closeHTF < openHTF
isBullishOB = closeHTF > openHTF
//===Vung OB===
obHigh = isBearishOB ? highHTF : na
obLow = isBullishOB ? lowHTF : na
//===Canh bao===
touchOB = close >= obLow and close <= obHigh
alertcondition(touchOB, title = 'Cham vung OB', message = 'Gia dang cham vung Smart Money Order Block!')
plotshape(touchOB, location = location.belowbar, color = color.orange, style = shape.triangleup, size = size.small)
if touchOB
alert('Cham vung OB: Gia dang cham vung Smart Money Order Block!', alert.freq_once_per_bar_close)
//===Vung thanh khoan===(Liquidity Sweep Zones)
swingHigh = ta.highest(high, length1)
swingLow = ta.lowest(low, length1)
liquidityHigh = high > swingHigh
liquidityLow = low < swingLow
//==========================================================================================
//===Volume filter===
avgVol2 = ta.sma(volume, 20)
highVol2 = volume > avgVol2 * volMultiplier
//===Candle Pattern===
bullishEngulfing = close > open and close < open and close > open and open < close
bearishEngulfing = close < open and close > open and close < open and open > close
isPinBarBull = close > open and (open - low) > 2 * (close - open)
isPinBarBear = close < open and (high - open) > 2 * (open - close)
isHammer = (high - low) > 3 * (open - close) and (close - low) / (high - low) > 0.6
isHangingMan = (high - low) > 3 * (open - close) and (high - open) / (high - low) > 0.6
isBullMarubozu = close > open and (high - close) < 0.1 * (high -low) and (open -low) < 0.1 * (high - low)
isBearMarubozu = close < open and (high - open) < 0.1 * (high - low) and (close -low) < 0.1 * (high -low)
//===Bien luu vung Cung / Cau da bi pha===
var float lastSupplyTop = na
var float lastSupplyBottom = na
var bool supplyBroken = false
var float lastDemandTop = na
var float lastDemandBottom = na
var bool demandBroken = false
//===Cap nhat vung moi khi co Cung/Cau moi ===
if supplyCond
lastSupplyTop := high
lastSupplyBottom := high * (1 - zoneHeight / 100)
supplyBroken := false
if demandCond
lastDemandBottom := low
lastDemandTop := low * (1 + zoneHeight / 100)
//===Kiem tra pha vo vung Cung/Cau===
if not supplyBroken and close > lastSupplyTop
supplyBroken := true
if not demandBroken and close < lastDemandBottom
demandBroken := true
//===Kiem tra backtest vung da bi pha===
backtestSupply = supplyBroken and close <= lastSupplyTop and close >= lastSupplyBottom
backtestDemand = demandBroken and close >= lastDemandBottom and close <= lastDemandTop
//===Kiem tra thung vung backtest (gia vuot qua vung luon)===
failBacktestSupply = supplyBroken and close < lastSupplyBottom
failBacktestDemand = demandBroken and close > lastDemandTop
//Hien thi canh bao tren bieu do===
plotshape(backtestSupply, title = 'Backtest Supply', location = location.abovebar, color = color.new(color.red, 50), style = shape.circle, size = size.small)
plotshape(backtestDemand, title = 'Backtest Demand', location = location.belowbar, color = color.new(color.green, 60), style = shape.circle, size = size.small)
volStrong = volume > ta.sma(volume, 20) * volMultiplier
validBull = bullishEngulfing and isPinBarBull and isHammer and isBullMarubozu and volStrong and demandCond
validBear = bearishEngulfing and isPinBarBear and isHangingMan and isBearMarubozu and volStrong and supplyCond
if validBull
alert("Tin hieu Buy: Mo hinh nen dao chieu tang + RSI + Volume lon", alert.freq_once_per_bar_close)
if validBear
alert("Tin hieu Sell: Mo hinh nen dao chieu giam + RSI + Volume lon", alert.freq_once_per_bar_close)
//plot(close)
//===============================================================================================
VHX EMA 135/315📈 EMA 135/315 Cross Strategy – Your Trend Compass with Smart Confirmations
🔍 Core Idea
The EMA 135/315 Cross strategy is a trend-following system.
It tracks two moving averages:
EMA 135 → the “fast” line that reacts to short-term price moves
EMA 315 → the “slow” line that reacts to the bigger trend
When the fast EMA crosses above the slow EMA → market momentum is turning up → BUY signal 🟢
When the fast EMA crosses below the slow EMA → momentum is turning down → SELL signal 🔴
This gives you a clear entry trigger — no guessing, no overcomplication.
✨ On Your Chart
BUY/SELL Arrows
🟢 Green arrow = bullish cross → trend turning up
🔴 Red arrow = bearish cross → trend turning down
Trend Info Panel (Top Left)
Current Trend: BUY / SELL / Neutral
Last Cross: how many bars ago it happened
EMA Gap in %: measures the strength of the trend
Status: “Approaching” if EMAs are getting close → possible cross soon
Automatic TP/SL Levels
📈 TP line (+2% from entry)
📉 SL line (–0.5% from entry)
Saves time — you instantly see your target and protection
EMA Distance Meter
Big % gap = strong trend momentum 🚀
Small % gap = weak or sideways market ⚠️
Real-Time Alerts
You get notified when a cross happens, even if you’re away from the screen
🧠 The Logic Behind It
The EMA 135 reacts faster → it reflects short-term momentum
The EMA 315 moves slower → it reflects the main trend
When the fast EMA overtakes the slow EMA: short-term strength now aligns with the long-term trend → higher probability of a sustained move
The gap % tells you how strong the alignment is — large gap = cleaner moves, small gap = market in transition
“Approaching” status warns that the EMAs are converging, which often happens before a reversal
📊 Boosting the Strategy with Volume Analysis
The EMA cross is a strong trigger, but volume confirms the quality of the move:
High Volume + Cross → more reliable signal, as strong market participation is pushing the trend
Low Volume + Cross → caution, the move might be weak or a false breakout
💡 Tip:
Check the volume histogram or a volume-based indicator (e.g., Volume Profile, OBV).
On a BUY signal: volume should spike above the recent average.
On a SELL signal: watch for strong selling volume bars.
📍 Adding Support & Resistance for Precision
Support and resistance levels help filter out bad trades and optimize entries:
Best BUY setups:
EMA 135 crosses above EMA 315 near a known support zone
Bonus if volume confirms the move
Avoid buying directly into a strong resistance
Best SELL setups:
EMA 135 crosses below EMA 315 near a known resistance zone
Bonus if selling volume is strong
Avoid selling directly into a major support
💡 Use tools like horizontal lines, previous highs/lows, and Volume Profile nodes to spot these zones.
📈 Best Usage Practices
Timeframes
Lower timeframes (1m–5m) → more signals, but more noise → best for scalping with extra filters
Always Combine With Confirmation
EMA Cross = Trigger
Volume spike = Confirmation
S/R zone in your favor = High-probability setup
Manage Risk
Start with the built-in TP/SL
Adjust SL if volatility is higher than usual
Consider trailing stop once price moves in your favor
Avoid Sideways Markets
If EMA gap % is very small and crosses happen often → stand aside until a clear direction forms
Use Alerts
Set alerts for BUY & SELL crosses so you never miss a setup
In short:
This isn’t just an EMA cross indicator — it’s a trend system with built-in risk management, strength measurement, and pre-trade preparation. Combine it with volume confirmation and smart use of support/resistance, and you turn a simple signal into a high-probability trading edge.
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.
Universal Futures Signals Pro – Next-Gen Day Trading IndicatorThe Universal Futures Signals Pro is a powerful, all-in-one day trading toolkit designed for futures traders seeking precision, confidence, and consistency. Whether you're trading ES, MES, NQ, MNQ, or other popular futures contracts, this indicator delivers real-time signals and advanced analytics tailored for high-performance intraday trading.
🔍 Key Features:
Smart Buy/Sell Signals based on multi-factor confluence (trend, momentum, volume, volatility).
EMA, VWAP, RSI, MACD & Order Block integration for accurate signal generation.
Signal Clustering Detector to identify high-probability trade zones.
Dynamic Risk Management: Helps define stop loss and target areas for funded evaluations.
Session Filters (RTH, ETH) and Smart Money Concepts for cleaner setups.
Professional Dashboard showing trend state, trade status, and signal count.
Alerts for trade entries, exits, signal clusters, and trend shifts.
Customizable Settings: Tailor everything from sensitivity to color schemes.
Who is it for?
Prop firm traders looking to pass evaluation accounts.
Futures scalpers and intraday traders who value precision.
Traders seeking a structured edge in volatile markets.
Works Best On:
Instruments: ES, MES, NQ, MNQ, RTY, YM, CL, GC, etc.
Timeframes: 1m to 15m (optimized for intraday precision)
Liquidity Hunter Pro iDea TradeAutomatically detects and visualizes key liquidity levels across multiple timeframes.
Features include:
Multi-timeframe high/low liquidity mapping
Automatic and manual timeframe options
Real-time “sweep” and “touch” detection
Customizable colors and labels
Alerts for liquidity touches and sweeps
Option to display mitigated (swept) liquidity as dashed lines
How to use:
Enable the desired timeframes and alerts, adjust colors or labels to fit your style, and monitor the chart for liquidity sweeps and reactions. Use as a technical tool to spot potential support/resistance or sweep zones.
Note:
This script does not provide trading signals or financial advice. For technical analysis and educational purposes only. Always manage your risk.
Protected script. Source code is hidden but free for all TradingView users.
Gold Killzone Bias Suite🟡 Gold Killzone Bias Suite
The Gold Killzone Bias Suite is an advanced institutional-grade tool designed to generate high-confidence directional bias for XAU/USD (Gold) during the London and New York killzones.
Built for traders using a structured, confluence-driven approach, this tool blends price action, smart money principles, momentum, and volume into a real-time bias engine with a clean, easy-to-read dashboard.
🔧 Key Features
🕰️ Session-Based Bias (London / New York)
Independent bias calculation per session
Killzone times customizable with timezone support
Background highlighting (blue/red) for each session
📊 VWAP Engine
Reclaim & rejection detection
VWAP deviation alerts
Daily HTF VWAP integration
Score impact based on VWAP behaviour
📉 Market Structure (CHoCH / BOS)
Detects swing highs/lows
Labels bullish/bearish CHoCHs
Structure score contributes to session bias
💧 Liquidity Grabs
Detects stop hunts above highs / below lows
Confirms with candle rejection (body % filter)
Plots labels and adds to bias scoring
⚡ Momentum Filters
RSI: Bullish >55, Bearish <45
MACD: Histogram + Signal Line crossovers
Combined momentum score used in bias
🧠 Smart Money Proximity
Optional FVG/OB score toggle (placeholder for custom logic)
Adds static confluence for proximity-based setups
⏫ Higher Time Frame Context
Daily VWAP comparison
4H high/low structure breaks
Adds trend score to current session bias
🧠 How Bias Works
The suite uses a scoring model. Each confluence adds or subtracts points:
VWAP reclaim/reject: ±30
CHoCH/BOS: ±30
Liquidity grab: ±20
RSI/MACD: ±10
FVG/OB Proximity: +10
Daily VWAP trend: ±10
H4 Trend Break: ±10
Final Bias:
Bullish if score ≥ +20
Bearish if score ≤ -20
Neutral if between -19 and +19
A confidence % (capped at 100) is also shown, along with the contributing confluences (VWAP, Structure, Liquidity, etc.).
📋 Dashboard
A real-time dashboard shows for each session:
Session name and time
Bias (Bullish / Bearish / Neutral)
Confidence (%)
Confluences used
Position can be moved (Top Left, Top Right, etc.). Designed to be unobtrusive yet informative.
🧪 Best Practices
Use on 15m / 5m charts for intraday setups
Confirm with D1 or H4 structure for directional context
Combine with OB/FVG zones or SMT for entries
Use Trading View alerts for bias flips or liquidity grabs (custom logic can be added)
Bar Replay compatible for back testing and journaling bias shifts
🔐 Notes
Does not generate trade signals or alerts by default
Focused on bias generation and confluence stacking
Compatible with funded account trading models
📈 Built for traders who want a systematic, score-based approach to identifying directional edge in high-volume gold sessions.