INVITE-ONLY SCRIPT
更新済 Ocs Ai Trader

This script perform predictive analytics from a virtual trader perspective!
It acts as an AI Trade Assistant that helps you decide the optimal times to buy or sell securities, providing you with precise target prices and stop-loss level to optimise your gains and manage risk effectively.
System Components
The trading system is built on 4 fundamental layers :
Time series Processing layer
This is first component responsible for handling and processing real-time and historical time series data.
In this layer Signals are extracted from
averages such as : volume price mean, adaptive moving average
Estimates such as : relative strength stochastics estimates on supertrend
Signal Processing layer
This second layer processes signals from previous layer using sensitivity filter comprising of an Probability Distribution Confidence Filter
The main purpose here is to predict the trend of the underlying, by converging price, volume signals and deltas over a dominant cycle as dimensions and generate signals of action.
Key terms
It acts as an AI Trade Assistant that helps you decide the optimal times to buy or sell securities, providing you with precise target prices and stop-loss level to optimise your gains and manage risk effectively.
System Components
The trading system is built on 4 fundamental layers :
- Time series Processing layer
- Signal Processing layer
- Machine Learning
- Virtual Trade Emulator
Time series Processing layer
This is first component responsible for handling and processing real-time and historical time series data.
In this layer Signals are extracted from
averages such as : volume price mean, adaptive moving average
Estimates such as : relative strength stochastics estimates on supertrend
Signal Processing layer
This second layer processes signals from previous layer using sensitivity filter comprising of an Probability Distribution Confidence Filter
The main purpose here is to predict the trend of the underlying, by converging price, volume signals and deltas over a dominant cycle as dimensions and generate signals of action.
Key terms
- Dominant cycle is a time cycle that has a greater influence on the overall behaviour of a system than other cycles.
The system uses Ehlers method to calculate Dominant Cycle/ Period.
Dominant cycle is used to determine the influencing period for the underlying.
Once the dominant cycle/ period is identified, it is treated as a dynamic length for considering further calculations
Predictive Adaptive Filter to generate Signals and define Targets and Stops
An adaptive filter is a system with a linear filter that has a transfer function controlled by variable parameters and a means to adjust those parameters according to an optimisation algorithm. Because of the complexity of the optimisation algorithms, almost all adaptive filters are digital filters. Thus Helping us classify our intent either long side or short side
The indicator use Adaptive Least mean square algorithm, for convergence of the filtered signals into a category of intents, (either buy or sell)
Machine Learning
The third layer of the System performs classifications using KNN K-Nearest Neighbour is one of the simplest Machine Learning algorithms based on Supervised Learning technique.
K-NN algorithm assumes the similarity between the new case/data and available cases and put the new case into the category that is most similar to the available categories.
K-NN algorithm stores all the available data and classifies a new data point based on the similarity. This means when new data appears then it can be easily classified into a well suite category by using K- NN algorithm. K-NN algorithm can be used for Regression as well as for Classification but mostly it is used for the Classification problems.
Virtual Trade Emulator
In this last and fourth layer a trade assistant is coded using trade emulation techniques and the Lines and Labels for Buy / Sell Signals, Targets and Stop are forecasted!
How to use
The system generates Buy and Sell alerts and plots it on charts
Buy signal
Buy signal constitutes of three targets {namely T1, T2, T3} and one stop level
Sell signal
Sell signal constitutes of three targets {namely T1, T2, T3} and one stop level
What Securities will it work upon ?Volume Informations must be present for the applied security
The indicator works on every liquid security : stocks, future, forex, crypto, options, commodities
What TimeFrames To Use ?
You can use any Timeframe, The indicator is Adaptive in Nature,
I personally use timeframes such as : 1m, 5m 10m, 15m, ..... 1D, 1W
This Script Uses Tradingview Premium features for working on lower timeframesIn case if you are not a Tradingview premium subscriber you should tell the script that after applying on chart, this can be done by going to settings and unchecking "Is your Tradingview Subscription Premium or Above " OptionHow To Get Access ?
You will need to privately message me for access mentioning you want access to "Ocs Ai Trader" Use comment box only for constructive comments. Thanks !
リリースノート
Updates- Adds Regime Filter and Volatility Probability Scalper
- Adds Quadratic Regression Filters
- Adds Gaussian Lorentiz Normalisation and Daten Scaling
- Adds Volume Float based Support and Resistance
- Removes Dependencies from second based data unless necessarily forced by user!
リリースノート
some links updatedリリースノート
Adds Alert PasscodeAdds Marubozu Abnormality Detection
Adds Probability Average and Probability variable Filtering
Adds Historical Buy Sell Positions by Algo
リリースノート
Adds Trimean based Quantitative TestAdds Hyperbolic Trend Tests
Adds Obv based Learnings
Adds Marubozu extremes
Adds Dynamic Target 4 and Target 5
Adds Signal Improvements
リリースノート
Minor update for Stop Takingリリースノート
removes target text bugs adds triple impulse of balance volume
リリースノート
Adds Pivotal points and LinesFixes issues in target booking
リリースノート
Adds Fisher Transform to Result in a variable with an approximately normally distributed variance, stable across different values of the sample correlation coefficient.リリースノート
Does Minor Fixes in replay modeリリースノート
Adds Fine tuning surrounding false volume negativesリリースノート
Adds Tolerance to Fisher Transforms and * Minor Bug Fixesリリースノート
Adds cumulative vol delta Regime filtering !リリースノート
Adds Volatility Derivative Filters, inspired by elder's method!リリースノート
*minor bug fixes -in -<datum plane of volatility reference>リリースノート
Adds Filters based on Impulsive ATR's in order to Identify/Filter periods of increased market activityリリースノート
Adds TRIX Filter's Strength and Weakness Analyserリリースノート
Adds Smoothness and Marubozu Considerations in TRIX Regime Based Signalsリリースノート
Adds Work around over Exponential Probability Squeeze for managing random fuzzynessリリースノート
minor FLT plot bugs updatesリリースノート
Adds Refined Retrained Weights for machine learning modelsリリースノート
Update Description : Ocs Ai Trader ML pro.v3121. Gaussian Structure
We’ve introduced a Gaussian-based framework to enhance signal smoothness and reduce market noise. A Gaussian approach applies weights along a bell-curve distribution, helping the strategy respond more precisely to recent price data while still smoothing out erratic price movements. This leads to more reliable trend detection and fewer false signals—key for better entry and exit decisions.
2. Backtesting Compiler
To improve the accuracy of performance metrics and streamline your strategy development, a backtesting compiler has been added. This tool runs systematic tests on historical data, helping you evaluate how well your strategy would have performed in past market conditions. It also makes optimization faster and more reliable, so you can identify winning parameter sets and adapt to changing market dynamics with confidence.
3. TRIX-Based System
A TRIX (Triple Exponential) component has been incorporated to further reduce lag and highlight momentum shifts. TRIX is known for quickly detecting trend changes while filtering out minor price fluctuations. Including TRIX in the script provides an additional momentum perspective, helping confirm signals from other indicators and refine overall entry/exit timing.
4. Derivative Filters
Lastly, we’ve added derivative-based filters to help isolate significant price moves from market noise. By focusing on higher-order changes in the price action (the “derivative” aspect), these filters can detect early shifts in momentum and volatility. This leads to more accurate alerts and reduces the likelihood of chasing sudden, short-lived price spikes.
リリースノート
Adds CVD-Based Divergence Signal StructureCVD (Cumulative Volume Delta) tracks the net difference between buying and selling volume over time, providing insights into whether buyers or sellers are dominating the market. When price action and CVD diverge, it can signal an impending shift in momentum—often before traditional price-based indicators react. Including a CVD-based Divergence Signal Structure helps traders spot subtle imbalances in market participation, enabling earlier and more informed entry or exit decisions.
We have updated the script structure to lookout for these divergences
招待専用スクリプト
こちらのスクリプトにアクセスできるのは投稿者が承認したユーザーだけです。投稿者にリクエストして使用許可を得る必要があります。通常の場合、支払い後に許可されます。詳細については、以下、作者の指示をお読みになるか、Ankit_1618に直接ご連絡ください。
スクリプトの機能を理解し、その作者を全面的に信頼しているのでなければ、お金を支払ってまでそのスクリプトを利用することをTradingViewとしては「非推奨」としています。コミュニティスクリプトの中で、その代わりとなる無料かつオープンソースのスクリプトを見つけられる可能性もあります。
作者の指示
You will need to privately message me for access mentioning you want access to "Ocs Ai Trader"
You can connect us here !
https://ocstrader.com/
Use comment box only for constructive comments and criticism.
Get Ocs Ai Trader, Your personal Ai Trade Assistant here
→ ocstrader.com
About me
AlgoTrading Certification, ( University of Oxford, Säid Business School )
PGP Research Analysis, ( NISM, SEBI )
Electronics Engineer
→ ocstrader.com
About me
AlgoTrading Certification, ( University of Oxford, Säid Business School )
PGP Research Analysis, ( NISM, SEBI )
Electronics Engineer
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
招待専用スクリプト
こちらのスクリプトにアクセスできるのは投稿者が承認したユーザーだけです。投稿者にリクエストして使用許可を得る必要があります。通常の場合、支払い後に許可されます。詳細については、以下、作者の指示をお読みになるか、Ankit_1618に直接ご連絡ください。
スクリプトの機能を理解し、その作者を全面的に信頼しているのでなければ、お金を支払ってまでそのスクリプトを利用することをTradingViewとしては「非推奨」としています。コミュニティスクリプトの中で、その代わりとなる無料かつオープンソースのスクリプトを見つけられる可能性もあります。
作者の指示
You will need to privately message me for access mentioning you want access to "Ocs Ai Trader"
You can connect us here !
https://ocstrader.com/
Use comment box only for constructive comments and criticism.
Get Ocs Ai Trader, Your personal Ai Trade Assistant here
→ ocstrader.com
About me
AlgoTrading Certification, ( University of Oxford, Säid Business School )
PGP Research Analysis, ( NISM, SEBI )
Electronics Engineer
→ ocstrader.com
About me
AlgoTrading Certification, ( University of Oxford, Säid Business School )
PGP Research Analysis, ( NISM, SEBI )
Electronics Engineer
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。