Flux Advanced Options Strategy - Short TermThis Pine Script is designed for traders looking for a comprehensive technical analysis tool that integrates multiple indicators to provide actionable trading signals. The “Flux Advanced Strategy” combines RSI, KST, VWAP, and MACD to form a composite score that triggers buy and sell signals based on the confluence of these indicators.
How It Works:
• Relative Strength Index (RSI): Measures the speed and change of price movements. A value above 50 suggests bullish momentum, while below 50 indicates bearish momentum.
• Know Sure Thing (KST): A momentum oscillator that combines multiple rate-of-change (ROC) indicators to gauge the overall trend. A KST above its signal line suggests bullish conditions.
• Volume Weighted Average Price (VWAP): Provides a snapshot of average price weighted by volume. Prices above the VWAP indicate bullish sentiment, and below suggest bearish sentiment.
• Moving Average Convergence Divergence (MACD): Shows the relationship between two moving averages of a security’s price. A MACD line above its signal line is bullish, and below is bearish.
Composite Scoring System:
Each indicator contributes to a score. If the RSI is above 50, the score increases by 1. If the KST is above its signal, the score increases by another 1. Similarly, if the price is above the VWAP and the MACD line is above the signal line, they each add 1 to the score. The script uses this score to decide on trading signals:
• Buy Signal: A score of 3 or higher triggers a buy signal, suggesting a strong bullish consensus among the indicators.
• Sell Signal: A score of 1 or lower triggers a sell signal, indicating strong bearish sentiment.
Usage:
• Inputs: Traders can adjust the lengths of RSI, KST, VWAP, and MACD directly in the script settings to customize the sensitivity and period based on their trading style and the asset’s characteristics.
• Visualization: Buy signals are marked with green labels below the price bars, while sell signals are marked with red labels above the price bars. The background color also changes to green for buy zones and red for sell zones to provide visual cues for market sentiment.
• Alerts: The script can trigger alerts when a buy or sell condition is met, allowing traders to act promptly on potential trading opportunities.
Recommended For:
This script is ideal for intermediate to advanced traders who understand the nuances of the indicators involved and seek a robust analytical tool for day trading or swing trading in volatile markets. It is particularly useful for stocks, forex, or cryptocurrencies where combining these indicators can provide a powerful insight into market dynamics.
Use this script on your TradingView charts to enhance your trading strategy by making informed decisions based on a sophisticated analysis of multiple technical indicators.
أعرف الأشياء المؤكدة
KST-Based MACDAs a follow-up to my previous script:
I am posting a stand-alone KST-based MACD.
Note that this indicator is highly laggy. Specific care must be taken when using it.
The MACD-Signal crossing is quite delayed but it is a definite confirmation.
For earlier signs, the Histogram must be analyzed. A shift from Green-White signals the 1st Bear Signal.
A MACD-Signal crossing signals the 2nd Bear SIgnal.
The same applies for bull-signs.
This indicator is useful for long-term charts on which one might want to pinpoint clear, longterm divergences.
Standard RSI, Stochastic RSI and MACD are notoriously problematic when trying to pinpoint long-term divergences.
Finally, this indicator is not meant for pinpointing entry-exit positions. I find it useful for macro analysis. In my experience, the decreased sensitivity of this indicator can show very strong signs, that can be quite laggy.
Inside the indicator there is a setting for "exotic calculations". This is an attempt to make this chart work in both linear/ negative charts (T10Y2Y) and log charts (SPX)
Tread lightly, for this is hallowed ground.
-Father Grigori
KST con HMA---------- ENGLISH DESCRIPTION ----------
The indicator created is called "KST with HMA" and is used to measure the impulse of an asset's price.
The code begins by defining four variables representing ROC (Rate of Change) period lengths for calculating the KST (Know Sure Thing) and a variable for the length of the HMA (Hull Moving Average).
Next, an HMA function is defined to calculate the Hull Moving Average, a type of weighted moving average that adjusts for price volatility.
ROC values are then calculated for the four periods defined above and KST values are calculated as a weighted sum of the ROC values. These values are then normalized with the HMA and the standard deviation of the HMA is calculated. The normalized value is finally plotted with three different color lines: black for values greater than 1, red for values less than -1, and green for values between -1 and 1.
Finally, a black dashed line is plotted to represent the zero line. The green line indicates a phase of market uncertainty or lateralization, while the indicator can be used to identify buy points above zero and sell points below zero.
---------- ITALIAN DESCRIPTION ----------
L'indicatore creato è chiamato "KST con HMA" e viene utilizzato per misurare l'impulso del prezzo di un asset.
Il codice inizia definendo quattro variabili che rappresentano le lunghezze dei periodi di ROC (Rate of Change) per il calcolo del KST (Know Sure Thing) e una variabile per la lunghezza dell'HMA (Hull Moving Average).
Successivamente viene definita una funzione HMA per il calcolo della Hull Moving Average, un tipo di media mobile ponderata che si adatta alla volatilità del prezzo.
Vengono poi calcolati i valori ROC per i quattro periodi definiti in precedenza e calcolati i valori KST come somma ponderata dei valori ROC. Questi valori vengono poi normalizzati con l'HMA e viene calcolata la deviazione standard dell'HMA. Il valore normalizzato viene infine plottato con tre diverse linee di colore: nero per valori superiori a 1, rosso per valori inferiori a -1 e verde per valori tra -1 e 1.
Infine, viene plottata una linea tratteggiata nera per rappresentare la linea zero. La linea verde indica una fase di incertezza o lateralizzazione del mercato, mentre l'indicatore può essere utilizzato per individuare punti di acquisto sopra lo zero e di vendita al di sotto dello zero.
Know Sure Thing + RibbonFrom now on this will be the main indicator I will be using.
The mathematical foundation of KST is elegant and trustworthy. I took the time to share this beautiful (in my opinion) indicator, because you will probably be seeing it in my future ideas.
I am not a trader, this indicator was made to analyze mainly long-term charts, and trend-continuation/change analysis.
The purpose of this indicator is not to give entry/exit points. However, the 9-period EMA (tightest EMA) can serve as an alternative to the classic "9-period MA signal line".
Tread lightly, for this is hallowed ground.
-Father Grigori
Know Sure Thing - Weekly Candle VersionKnow Sure Thing - Plotted on weekly candles (source from Martin Pring)
Developed by Martin Pring, Know Sure Thing (KST) is a momentum oscillator based on the smoothed rate-of-change for four different timeframes.
Modifications:
Arrows representing long/short signals based on the timeframe (S for short term, M for mid term, L for long term)
MACD, EMA, Know sure thing, Chopy Market StrategyHey there :)
This is the free version of the script. The following indicators / settings are missing:
- Support and resistance zones
- dynamic textboxes for alarms when using bots (3 Commas, Alertatron, etc.)
- a table showing the current position, indicators and other important information
With this script there is the possibility to completely customize the MACD . Starting with the MACD and signal line, the histogram and the color of the histogram.
Since the Pinecoders team has previously deleted the script, I will mention the fee settings in a bit more detail:
In this script a fee of 0.01% and a slipage of 15 was used. With each trade the total capital (100%) is used with a risk reward of 1 to 1.5.
The total capital, i.e. the risk, can be changed at any time under the "Settings" tab at "Equity".
I also added an EMA , the Know sure thing indicator and the Chopy Market indicator (by TradingRush) to the script to filter out bad trades.
The EMA:
Since the EMA is very reliable and shows whether there is an upward or downward trend, it should be used with the indicators in any case. It prevents long trades in downward movements and vice versa.
The KST Indicator:
The KST indicator has a similar movement as the MACD , but is by and large a bit more time delayed. It filters out false swings of the MACD and thus prevents bad trades.
The Chopy Market Indicator by Tradingrush:
The Chopy Market indicator, which was introduced by TradingRush in one of its videos, has the ability to detect sideways markets and block zones below this line for trades by means of a fixed value (the line).
To exit the trades, I added the following options:
ATR Exits. Exits based on past candles (lowest low, highest high).
Static exits based on set percentages.
In the next days I will create a tutorial for the script, just have a look on my profile.
If you have any questions about the script, let me know.
MACD, EMA, Know sure thing, Chopy Market - high adaptabilityHey there :)
This is the free version of the script. The following indicators / settings are missing:
- Support and resistance zones
- dynamic textboxes for alarms when using bots (3 Commas, Alertatron, etc.)
- a table showing the current position, indicators and other important information
With this script there is the possibility to completely customize the MACD . Starting with the MACD and signal line, the histogram and the color of the histogram.
Since the Pinecoders team has previously deleted the script, I will mention the fee settings in a bit more detail:
In this script a fee of 0.01% and a slipage of 15 was used. With each trade the total capital (100%) is used with a risk reward of 1 to 1.5.
The total capital, i.e. the risk, can be changed at any time under the "Settings" tab at "Equity".
I also added an EMA , the Know sure thing indicator and the Chopy Market indicator (by TradingRush) to the script to filter out bad trades.
The EMA:
Since the EMA is very reliable and shows whether there is an upward or downward trend, it should be used with the indicators in any case. It prevents long trades in downward movements and vice versa.
The KST Indicator:
The KST indicator has a similar movement as the MACD, but is by and large a bit more time delayed. It filters out false swings of the MACD and thus prevents bad trades.
The Chopy Market Indicator by Tradingrush:
The Chopy Market indicator, which was introduced by TradingRush in one of its videos, has the ability to detect sideways markets and block zones below this line for trades by means of a fixed value (the line).
To exit the trades, I added the following options:
ATR Exits. Exits based on past candles (lowest low, highest high).
Static exits based on set percentages.
In the next days I will create a tutorial for the script, just have a look on my profile.
If you have any questions about the script, let me know.
Dynamic Price SwingFinally, a price channel oscillator that works.
I programmed three flavors into this.
The first flavor uses the Fast and Slow EMA to check for the trend to ensure you don't trade in the wrong direction simply because the price crosses the previous highest high or lowest low (based on lookback bars).
The second flavor uses a seven point average of the Fibonacci bands to create an upper and lower central channel for quick trades (like DOGE).
The third flavor uses the golden Fibonacci ratio of 1.618 and trades when the price moves above or below this band.
Know Sure Thing and EMA Strategy by JLXThis is a simple strategy based in Know Sure Thing indicator and an Exponential moving average,
Rules are as follow:
- You can go long when the KST cross signal bellow 0 and price closes above the target EMA
- You can go short when the KST cross signal above 0 and price closes bellow the target EMA
I include a trailing stop loss, default its 0.5%
Hope you enjoy it
Coin Flipper Pro with strategy testerConverted the script "Coin Flipper Pro" into a Strategy. The same random "Coin Flip" trading fun with new features. Now users can run back test on the random trades and see how adjusting the risk to reward ratio affects the over all win rate and the profit of each trade. The Back test can be enabled or disabled in the settings along with the option to choose specific dates to run the test. Enjoy!
Coin Flipper ProHave you ever wondered how your win rate compares with flipping a coin? Well now you can check with Coin Flipper Pro!
This script produces a random position direction like flipping a coin and sets up a long or short trade based on you desired risk % and target ratio.
Have fun!
inwCoin Know Sure Thing Risk% Strategy=========================
English
=========================
Just Know Sure Thing strategy for BTC.
Seem like it working great with daily TF so far..
Buy = KST cross above zero
Sell = KST cross under zero
==========================
Thai
==========================
หลังจากนั่ง แก้ไปแก้มาอยู่นานว่าควรใช้กลยุทธ Know Sure Thing ท่าไหนดี
ก็พบว่า ... ใช้ท่าตอนมันตัดเส้น 0 น่ะแหละ เพราะ cross กันนี่ผลห่วยแตกมาก
ค่า KST ผมใช้ค่า default ในการใช้งาน
รอบนี้น่าสนใจ เพราะ BTC มีสัญญาณให้ออกแล้ว
แต่ก็มาดูกันว่า จะมีให้เข้าใหม่อีกหรือเปล่า เพราะถ้ามีก็ไปต่อจ้า
Function : Know Sure Thing ! (KST)Firstly : Know Sure Thing, or KST , is a momentum oscillator developed by Martin Pring to make rate-of-change readings easier for traders to interpret. In a 1992 Stocks and Commodities article, Mr. Pring referred to the indicator as "Summed Rate of Change ( KST )," but the KST term stuck with technical analysts. The indicator is relatively common among technical analysts preferring momentum oscillators to make decisions.
References : Investopedia (www.investopedia.com )
Let's start :
Simply :
KST : Above point 0 means long position (positive zone), below point 0 (negative zone) means short position.
I liked this indicator more than RSI because we can evaluate the breaking points of the channels we draw on the indicator according to the regions.
Plus area (positive area), breaking the channel upwards may indicate a very strong rise, and minus area (negative area) the channel downwards may indicate a very strong fall.
As a person who is very keen to identify major trends in advance, I like the KST indicator to approach the target quickly and simply. I also find it very successful in terms of divergences.
CAUTION : This indicator has been written before many times on TV. I have no effort on it. I saved loads only for variable periods. But I have enough experience to say that you are successful in trends with KST . Nevertheless, do not use it alone, as other promoters may benefit.
For example , I divided the standard periods into 4 as in the script. With a correct adaptive period, it has the potential to contribute greatly to accurate moves! You can use with mutable variable periods. Abundant trend lines can be drawn on the indicator and divergences between price and indicator can be sought. Best regards!
Vertical TimelinesYou can display different times of the day on the chart. For minutes use "." For example 20.30
DEMO BEETHello dear traders,
This is my first attempt to create an automatic trading strategy. This is 100% automatic, no need for any kind of human intervention.
The strategy is based on momentum and will buy when condition 1 and 2 are met, and sell when condition 3 and 4 are met.
This is very basic and i need to implement an exit strategy to bank the profits.
Enjoy.
inwCoin Know Sure Thing StrategyKnow Sure Thing Strategy
So far, as what I check, it can give some good entry point for each trend.
You might have to define trend yourself ( eg. downtrend = short only / uptrend = long only ) for maximized profit
Net XRP Margin PositionTotal XRP Longs minus XRP Shorts in order to give you the total outstanding XRP margin debt.
ie: If 500,000 XRP has been longed, and 400,000 XRP has been shorted, then 500,000 has been bought, and 400,000 sold, leaving us with 100,000 XRP (net) remaining to be sold to give us an overall neutral margin position.
That isn't to say that the net margin position must move towards zero, but it is a sensible reference point, and historical net values may provide useful insights into the current circumstances.
Net DASH Margin PositionTotal DASH Longs minus DASH Shorts in order to give you the total outstanding DASH margin debt.
ie: If 500,000 DASH has been longed, and 400,000 DASH has been shorted, then 500,000 has been bought, and 400,000 sold, leaving us with 100,000 DASH (net) remaining to be sold to give us an overall neutral margin position.
That isn't to say that the net margin position must move towards zero, but it is a sensible reference point, and historical net values may provide useful insights into the current circumstances.
(Anyone know what category this script should be in?)
Net EOS Margin PositionTotal EOS Longs minus EOS Shorts in order to give you the total outstanding EOS margin debt.
ie: If 5,000,000 EOS has been longed, and 4,000,000 EOS has been shorted, then 5,000,000 has been bought, and 4,000,000 sold, leaving us with 1,000,000 EOS (net) remaining to be sold to give us an overall neutral margin position.
That isn't to say that the net margin position must move towards zero, but it is a sensible reference point, and historical net values may provide useful insights into the current circumstances.
(Anyone know what category this script should be in?)
Net XMR Margin PositionTotal XMR Longs minus XMR Shorts in order to give you the total outstanding XMR margin debt.
ie: If 50,000 XMR has been longed, and 40,000 XMR has been shorted, then 50,000 has been bought, and 40,000 sold, leaving us with 10,000 XMR (net) remaining to be sold to give us an overall neutral margin position.
That isn't to say that the net margin position must move towards zero, but it is a sensible reference point, and historical net values may provide useful insights into the current circumstances.