OKX Perpetual Swap Position Sizer by RainbowLabsI created this tool to simplify the process of setting up trading bots on OKX perpetual swap pairs via Alertatron.
Instead of manually searching for each pair on www.okx.com and calculating the position size from dollar to contract, I developed a Python bot to scrape the necessary data and built an indicator to convert that data into TradingView.
Simply input the desired order amount in USDT, and the indicator will calculate the maximum number of contracts that can be traded without exceeding the user-defined risk amount.
Please note that this indicator only works with OKX perpetual swap pairs and is intended for educational and informational purposes only.
It should not be construed as financial advice, and traders should always perform their own analysis and make their own decisions regarding whether or not to enter a trade.
This indicator requires human updates. As a result, the most recent coins may not be available until a new update is released.
"bot"に関するスクリプトを検索
Сoncentrated Market Maker Strategy by oxowlConcentrated Market Maker Strategy by oxowl. This script plots an upper and lower bound for liquidity provision, and checks for rebalancing conditions. It also includes alert conditions for when the price crosses the upper or lower bounds.
Here's an overview of the script:
It defines the input parameters: liquidity range percentage, rebalance frequency in minutes, and minimum trade size in assets.
It calculates the upper and lower bounds for liquidity provision based on the liquidity range percentage.
It initializes variables for the last rebalance time and price.
It defines a rebalance condition based on the frequency and current price within the specified range.
If the rebalance condition is met, it updates the last rebalance time and price.
It plots the upper and lower bounds on the chart as lines and adds price labels for both bounds.
It defines alert conditions for when the price crosses the upper or lower bounds.
Finally, it creates alert conditions with appropriate messages for when the price crosses the upper or lower bounds.
Concentrated liquidity is a concept often used in decentralized finance (DeFi) market-making strategies. It allows liquidity providers (LPs) to focus their liquidity within a specific price range, rather than across the entire price curve. Using an indicator with concentrated liquidity can offer several advantages:
Increased capital efficiency: Concentrated liquidity allows LPs to allocate their capital within a narrower price range. This means that the same amount of capital can generate more significant price impact and potentially higher returns compared to providing liquidity across a broader range.
Customized risk exposure: LPs can choose the price range they feel most comfortable with, allowing them to better manage their risk exposure. By selecting a range based on their market outlook, they can optimize their positions to maximize potential returns.
Adaptive strategies: Indicators that support concentrated liquidity can help traders adapt their strategies based on market conditions. For example, they can choose to provide liquidity around a stable price range during low-volatility periods or adjust their range when market conditions change.
To continue integrating this script into your trading strategy, follow these steps:
Import the script into your TradingView account. Navigate to the Pine editor, paste the code, and save it as a new script.
Apply the indicator to a trading pair chart. You can customize the input parameters (liquidity range percentage, rebalance frequency, and minimum trade size) based on your preferences and risk tolerance.
Set alerts for when the price crosses the upper or lower bounds. This will notify you when it's time to take action, such as adding or removing liquidity, or rebalancing your position.
Monitor the performance of your strategy over time. Adjust the input parameters as needed to optimize your returns and manage risk effectively.
(Optional) Integrate the script with a trading bot or automation platform. If you're using an API-based trading solution, you can incorporate the logic and conditions from the script into your bot's algorithm to automate the process of providing concentrated liquidity and rebalancing your positions.
Remember that no strategy is foolproof, and past performance is not indicative of future results. Always exercise caution when trading and carefully consider your risk tolerance.
Futures/Spot Ratiowhat is Futures /Spot Ratio?
Although futures and spot markets are separate markets, they are correlated. arbitrage bots allow this gap to be closed. But arbitrage bots also have their limits. so there are always slight differences between futures and spot markets. By analyzing these differences, the movements of the players in the market can be interpreted and important information about the price can be obtained. Futures /Spot Ratio is a tool that facilitates this analysis.
what it does?
it compresses the ratio between two selected spot and futures trading pairs between 0 and 100. its purpose is to facilitate use and interpretation. it also passes a regression (Colorful Regression) through the middle of the data for the same purpose.
about Colorful Regression:
how it does it?
it uses this formula:
how to use it?
use it to understand whether the market is priced with spot trades or leveraged positions. A value of 50 is the breakeven point where the ratio of the spot and leveraged markets are equal. Values above 50 indicate excess of long positions in the market, values below 50 indicate excess of short positions. I have explained how to interpret these ratios with examples below.
Simple_RSI+PA+DCA StrategyThis strategy is a result of a study to understand better the workings of functions, for loops and the use of lines to visualize price levels. The strategy is a complete rewrite of the older RSI+PA+DCA Strategy with the goal to make it dynamic and to simplify the strategy settings to the bare minimum.
In case you are not familiar with the older RSI+PA+DCA Strategy, here is a short explanation of the idea behind the strategy:
The idea behind the strategy based on an RSI strategy of buying low. A position is entered when the RSI and moving average conditions are met. The position is closed when it reaches a specified take profit percentage. As soon as the first the position is opened multiple PA (price average) layers are setup based on a specified percentage of price drop. When the price hits the layer another position with the same position size is is opened. This causes the average cost price (the white line) to decrease. If the price drops more, another position is opened with another price average decrease as result. When the price starts rising again the different positions are separately closed when each reaches the specified take profit. The positions can be re-opened when the price drops again. And so on. When the price rises more and crosses over the average price and reached the specified Stop level (the red line) on top of it, it closes all the positions at once and cancels all orders. From that moment on it waits for another price dip before it opens a new position.
This is the old RSI+PA+DCA Strategy:
The reason to completely rewrite the code for this strategy is to create a more automated, adaptable and dynamic system. The old version is static and because of the linear use of code the amount of DCA levels were fixed to max 6 layers. If you want to add more DCA layers you manually need to change the script and add extra code. The big difference in the new version is that you can specify the amount of DCA layers in the strategy settings. The use of 'for loops' in the code gives the possibility to make this very dynamic and adaptable.
The RSI code is adapted, just like the old version, from the RSI Strategy - Buy The Dips by Coinrule and is used for study purpose. Any other low/dip finding indicator can be used as well
The distance between the DCA layers are calculated exponentially in a function. In the settings you can define the exponential scale to create the distance between the layers. The bigger the scale the bigger the distance. This calculation is not working perfectly yet and needs way more experimentation. Feel free to leave a comment if you have a better idea about this.
The idea behind generating DCA layers with a 'for loop' is inspired by the Backtesting 3commas DCA Bot v2 by rouxam .
The ideas for creating a dynamic position count and for opening and closing different positions separately based on a specified take profit are taken from the Simple_Pyramiding strategy I wrote previously.
This code is a result of a study and not intended for use as a full functioning strategy. To make the code understandable for users that are not so much introduced into pine script (like myself), every step in the code is commented to explain what it does. Hopefully it helps.
Enjoy!
libKageMiscLibrary "libKageMisc"
Kage's Miscelaneous library
print(_value)
Print a numerical value in a label at last historical bar.
Parameters:
_value : (float) The value to be printed.
Returns: Nothing.
barsBackToDate(_year, _month, _day)
Get the number of bars we have to go back to get data from a specific date.
Parameters:
_year : (int) Year of the specific date.
_month : (int) Month of the specific date. Optional. Default = 1.
_day : (int) Day of the specific date. Optional. Default = 1.
Returns: (int) Number of bars to go back until reach the specific date.
bodySize(_index)
Calculates the size of the bar's body.
Parameters:
_index : (simple int) The historical index of the bar. Optional. Default = 0.
Returns: (float) The size of the bar's body in price units.
shadowSize(_direction)
Size of the current bar shadow. Either "top" or "bottom".
Parameters:
_direction : (string) Direction of the desired shadow.
Returns: (float) The size of the chosen bar's shadow in price units.
shadowBodyRatio(_direction)
Proportion of current bar shadow to the bar size
Parameters:
_direction : (string) Direction of the desired shadow.
Returns: (float) Ratio of the shadow size per body size.
bodyCloseRatio(_index)
Proportion of chosen bar body size to the close price
Parameters:
_index : (simple int) The historical index of the bar. Optional. Default = 0.()
Returns: (float) Ratio of the body size per close price.
lastDayOfMonth(_month)
Returns the last day of a month.
Parameters:
_month : (int) Month number.
Returns: (int) The number (28, 30 or 31) of the last day of a given month.
nameOfMonth(_month)
Return the short name of a month.
Parameters:
_month : (int) Month number.
Returns: (string) The short name ("Jan", "Feb"...) of a given month.
pl(_initialValue, _finalValue)
Calculate Profit/Loss between two values.
Parameters:
_initialValue : (float) Initial value.
_finalValue : (float) Final value = Initial value + delta.
Returns: (float) Profit/Loss as a percentual change.
gma(_Type, _Source, _Length)
Generalist Moving Average (GMA).
Parameters:
_Type : (string) Type of average to be used. Either "EMA", "HMA", "RMA", "SMA", "SWMA", "WMA" or "VWMA".
_Source : (series float) Series of values to process.
_Length : (simple int) Number of bars (length).
Returns: (float) The value of the chosen moving average.
xFormat(_percentValue, _minXFactor)
Transform a percentual value in a X Factor value.
Parameters:
_percentValue : (float) Percentual value to be transformed.
_minXFactor : (float) Minimum X Factor to that the conversion occurs. Optional. Default = 10.
Returns: (string) A formated string.
isLong()
Check if the open trade direction is long.
Returns: (bool) True if the open position is long.
isShort()
Check if the open trade direction is short.
Returns: (bool) True if the open position is short.
lastPrice()
Returns the entry price of the last openned trade.
Returns: (float) The last entry price.
barsSinceLastEntry()
Returns the number of bars since last trade was oppened.
Returns: (series int)
getBotNameFrosty()
Return the name of the FrostyBot Bot.
Returns: (string) A string containing the name.
getBotNameZig()
Return the name of the FrostyBot Bot.
Returns: (string) A string containing the name.
getTicksValue(_currencyValue)
Converts currency value to ticks
Parameters:
_currencyValue : (float) Value to be converted.
Returns: (float) Value converted to minticks.
getSymbol(_botName, _botCustomSymbol)
Formats the symbol string to be used with a bot
Parameters:
_botName : (string) Bot name constant. Either BOT_NAME_FROSTY or BOT_NAME_ZIG. Optional. Default is empty string.
_botCustomSymbol : (string) Custom string. Optional. Default is empy string.
Returns: (string) A string containing the symbol for the bot. If all arguments are empty, the current symbol is returned in Binance format.
showProfitLossBoard()
Calculates and shows a board of Profit/Loss through the years.
Returns: Nothing.
CryptoGraph Entry BuilderA complete system to generate buy & sell signals, based on multiple indicators, timeframes and assets
═════════════════════════════════════════════════════════════════════════
🟣 How it works
This indicator allows you to create buy & sell signals, based on multiple trigger conditions, placed in one easy to use TradingView indicator to produce alerts, backtest, reduce risk and increase profitability. This script is especially designed to be used with the CryptoGraph Strategizer indicator. Signals produced by this indicator, can be used as external input with the CryptoGraph Strategizer, by adding both indicators to your chart and selecting "External Input" as entry source in the inputs of the Strategizer indicator. From that point on, buy & sell signals generated by the Entry Builder, will be used for backtesting.
Each trigger or filtering condition is selectable and able to be combined using the selection boxes.
Trigger or filter conditions can be used on a different timeframes, and with different assets or coin pairs. Make sure to set higher timeframe filters, to a higher timeframe than your chart timeframe.
🟣 How to use
• Add the indicator to your chart
• Select an indicator you woud like to use for entry analysis. Combine more indicators for more entry filtering
• Configure entry conditions per indicator. It is recommended to add and configure one indicator at a time
• Analyse your buy/sell entries
• Connect to CryptoGraph Strategizer as external input source for backtesting purposes
🟣 Indicator Filters
• ATR :
Average True Range (ATR) is a tool used in technical analysis to measure volatility .
Possible options for ATR entry filtering are an ATR value greater/smaller than your input variable for trade entries, or the ATR crossing your input variable for trade entries.
This enables the possibility to only enter positions when the market has a certain degree of volatility .
• ADX :
The Average Directional Index ( ADX ) helps traders determine the strength of a trend, not its actual direction. It can be used to find out whether the
market is ranging or starting a new trend.
Possible options for ADX entry filtering are an ADX value greater/smaller than your input variable for trade entries, or the ADX crossing your input variable for trade entries.
• OBV :
The On Balance Volume indicator (OBV) is used in technical analysis to measure buying and selling pressure. It is a cumulative indicator meaning that on days where price went up, that day's volume is added to the cumulative OBV total.
Possible options for OBV entry filtering are Regular, Hidden or Regular&Hidden divergences. Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
• Moving Average :
Moving Average (MA) is a price based, lagging (or reactive) indicator that displays the average price of a security over a set period of time. A Moving Average is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance .
Possible options for MA entry filtering are price being above/below Moving Average 1, price crossing up/down Moving Average 1, Moving Average 1 being above/below Moving Average 2 and Moving Average 1 crossing up/down Moving Average 2.
• Supertrend :
Supertrend (ST) is a trend-following indicator based on Average True Range (ATR). The calculation of its single line combines trend detection and volatility . It can be used to detect changes in trend direction and to position stops.
Possible options for ST entry filtering are Supertrend being in upward/downward direction, or Supertrend changing direction.
• RSI :
The Relative Strength Index ( RSI ) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements.
Possible options for RSI entry filtering are RSI being smaller/greater than your input value, or RSI crossing up/down your input value.
• Stochastic RSI :
The Stochastic RSI indicator ( Stoch RSI ) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time.
Possible options for Stoch RSI entry filtering are Stoch RSI crossing below or above your input value.
• VWAP Bands :
Volume Weighted Average Price ( VWAP ) is a technical analysis tool used to measure the average price weighted by volume . VWAP is typically used with intraday charts as a way to determine the general direction of intraday prices.
We use standard deviations, determined by user input, to create VWAP bands.
Possible options for VWAP long entry filtering are: price being below the lower VWAP band, price crossing back up the lower VWAP band or price crossing down the lower VWAP band.
Possible options for VWAP short entry filtering are: price being above the upper VWAP band, price crossing back down the upper VWAP band, or price crossing up the upper VWAP band.
• Bollinger Bands :
Bollinger Bands (BB) are a widely popular technical analysis instrument created by John Bollinger in the early 1980’s. Bollinger Bands consist of a band of three lines which are plotted in relation to security prices. The line in the middle is usually a Simple Moving Average ( SMA ) set to a period of 20 days (the type of trend line and period can be changed by the trader; however a 20 day moving average is by far the most popular).
Possible options for BB long entry filtering are: price being below the lower Bollinger band , price crossing back up the lower Bollinger band or price crossing down the lower Bollinger band .
Possible options for BB short entry filtering are: price being above the upper Bollinger band , price crossing back down the upper Bollinger band , or price crossing up the upper Bollinger band .
• WaveTrend :
WaveTrend (WT) is a smoothed momentum oscillator which enables it to detect true reversals in an accurate manner.
Possible options for WT entry filtering are: Green/red dots below or above a certain WaveTrend value, Regular Divergence, Hidden Divergence and Regular&Hidden Divergence.
GRIDBOT Scalper by nnamWhat is this Indicator used for?
Made specifically for GRID Bots
note: before continuing... this indicator works on any timeframe, but it WORKS BEST ON THE 15 MINUTE TIMEFRAME
Straters and Forex Master Pattern Value Line Traders use this to help determine when the price could reverse.
This indicator is a scalping indicator that produces signals when a "potential" reversal in price is indicated. When the price moves UP and a Potential Bearish Reversal Signal occurs, traders can use this signal as a potential SHORT entry signal for their Short Grid Bot. The process is the same in reverse. After a sustained move down, a Potential Bullish Signal can be used by the trader as a potential LONG entry signal for their GridBot.
As shown in the screenshot below, lines develop on the chart (either RED or GREEN) indicating that a sustained move in one direction is currently occurring; however, there is no potential reversal signal plotted (this means that price action is currently moving in one direction only).
As shown in the screenshot below, lines can be used as a stop-loss after entering the GRIDbot. (usually, by this time, the Grid Bot is in Profit as it usually moves in the opposite direction first)
What this Indicator Does
The GRIDBOT Scalper provides information regarding potential reversals in the market after a sustained movement in one direction (either Bullish or Bearish).
The indicator is based on PRICE-ACTION ONLY and does not take into account the current state of the market (Bullish or Bearish).
Once the price moves in a particular direction for at least 14 bars , a line appears as shown in a previous screenshot. Once the price stops moving in that direction and begins moving in the opposite direction - and after a sustained run - a "signal" appears alerting the trader that a "potential" reversal could be on the horizon soon.
If price moves in one direction and plots both a line and a signal and then begins moving back in the other direction in a sustained manner, the original signal will remain even when a NEW line begins forming (the original line will disappear). (see below) This line will continue to move as the price continues to move. Not until a signal plots on the chart is the potential reversal forming. THE LINE DOES NOT SIGNAL A REVERSAL . Some traders, however, use this information to "ride the wave UP or DOWN" and exit their positions once the signal prints.
As shown below, optional input settings allow the trader to set the line at CLOSE or HIGH/LOW of the candle preceding the potential reversal.
It is suggested to use Close instead of High or Low but the setting allows one to use either.
As shown in the screenshot below, it is typical on LOWER TIME FRAMES to see the price pass the signal line. The Indicator works best on the 15 minute timeframe, as it gives the trader time to make the decisions required as the volatility is less on the 15 minute chart vs the 1 minute or 5 minute charts.
If you have any questions or suggestions for this indicator, please join our Discord. We offer free training on this Indicator on our Discord Server.
[E5 Trading] Setups & TrendsE5 Trading Setups & Trends helps traders identify buy and sell opportunities through established trading techniques, including proven trade setups, bullish and bearish trend reversal signals, price strength, stop-loss and take-profit guardrails, a real-time divergences confluence system, local support and resistance levels, and anchored volume-weighted average price features.
These powerful capabilities help traders of all experience levels build confluence to improve the probability of success for each trade.
Trade Setups
Select from one (1) of three (3) trade setups for LONG and SHORT signals: 1. Transition; 2. Momentum; 3. Phase Shift. All trade setups work on all timeframes.
Several factors impact the consistent accuracy of algorithm-based setups over a long duration.
Examples include volatile global markets, liquidity, and an evolving mix of retail and institutional participants in a specific asset.
Therefore, traders must have various trade setup options and signals available to help them identify confluence.
Traders should evaluate the accuracy of each trade setup under existing market conditions and select the best one.
Trade setup signals are just one feature to consider as part of a discretionary trading system and should not be considered as stand-alone buy and sell signals.
They can be used as an effective market screener to help the trader quickly narrow the playing field of tradeable assets based on current market conditions.
Traders should seek confluence among several indicator suite features before entering or exiting a trade.
Use the color selector boxes to change LONG and SHORT label colors.
Color Candles per Setup
Toggle (Color Candles per Setup) to change candle coloring based on LONG and SHORT signals generated by Trade Setups.
All candles after a LONG signal plot with Bull candle coloring until a SHORT signal generates.
All candles after a SHORT signal plot with Bear candle coloring until a LONG Signal generates.
Enabling this feature allows the trader to observe and interpret the price trends of the asset more easily.
Squeeze Filter
The Squeeze Filter eliminates all trade setups inside a low-volatility squeeze where trade setup signals are typically less reliable and where the future trend can be more challenging to determine.
This feature helps traders avoid potentially noisy signals, and instead focus on Squeeze Early Entry and Squeeze Breakout signals generated by the E5 Trading Squeezes and Breakouts indicator.
Disciplined traders who play squeeze breakout price action can perform well with this strategy as long as good risk management is practiced (i.e., responsible position-sizing and use of a stop-loss on every trade).
Toggle Squeeze Filter (On) to eliminate all trade setups inside a low-volatility squeeze.
Trend Reversal Signals
Trend Reversal Signals (R) identify the potential end of a local trend and the beginning of a new one. Default (On). Default drop-down (Potential Reversal).
All reversal signals are deemed POTENTIAL reversals until price action of the next one or two candles after the reversal signal confirms the reversal.
Reversal signals may be CONFIRMED MANUALLY by a simple method described below or CONFIRMED AUTOMATICALLY using the Trend Reversal Signals drop-down menu.
To manually confirm a potential bullish reversal, the close of the 1st or 2nd candle following the reversal candle must be greater than the high (wick) of the reversal candle.
To manually confirm a potential bearish reversal, the close of the 1st or 2nd candle following the reversal candle must be less than the low (wick) of the reversal candle.
To use automated confirmation capabilities, select either "1-Candle Confirmed" or "2-Candle Confirmed" from the drop-down menu.
Selecting "1-Candle Confirmed" will result in any potential reversal signal (R) updating to a faded/transparent reversal signal (R) if not confirmed by the next candle only.
Sometimes there is market indecision (i.e., sideways price action) after a potential reversal signal, requiring the use of a 2nd candle to confirm the reversal.
Selecting "2-Candle Confirmed" will result in any potential reversal signal (R) updating to a faded/transparent reversal signal (R) if not confirmed by the next one or two candles.
"Reversals Sensitivity" drop-down to provide three (3) sensitivity levels for reversal signals.
The available drop-down options are: "Less Signals", "Default", and "More Signals".
"Less Signals" decreases the number of Potential Reversals compared to Default, and "More Signals" increases the number of Potential Reversals compared to Default.
This feature provides more opportunities to play reversals while still helping to eliminate all non-actionable reversal signals using the auto-confirmation capability.
Play the probabilities and avoid fake-outs: IGNORE any reversal signal not confirmed by the above method.
Use the color selector boxes to change the bullish and bearish reversal signal colors.
Price Strength
Price Strength Signals were designed to flag the onset of potentially explosive price moves based on market conditions and price action. Default (Off).
Bull price strength default (large triangles with bull candle coloring).
Bear price strength default (large triangles with bear candle coloring).
Dynamic Stop-Loss (SL) | Take-Profit (TP) Guardrails
This feature helps traders to effectively time trade entries/exits, automate the calculation of stop-loss | take-profit levels, and stay in trades while price action remains inside its calculated normal volatility range.
Due to its dynamic real-time update capability and utility as a trailing stop-loss | take-profit automation tool, this feature can be a powerful addition to both manual and algorithm (i.e., bot-based) trading systems.
Toggle (SL | TP Guardrails) to view dynamic stop-loss | take-profit levels based on user-defined Length and Multiple settings.
Define the Length (default: 14) and Multiple (default: 1.5) to establish the desired dynamic stop-loss | take-profit parameters.
Use the color selector boxes to change the Stop-Loss and Take-Profit guardrail colors.
A simple example trading technique using this feature is to go long when the guardrail transitions from being above price action (i.e., resistance) to below price action (i.e., support). Vice versa for short trades.
Traders monitoring a manual trade can move their stop-loss | take-profit level based on the calculated bull or bear guardrail.
Traders using a 3rd-party bot-trading platform can set up a webhook within a TradingView alert to automate their trade based on price action crossing the dynamic stop-loss | take-profit threshold.
Real-Time Divergences Confluence
Divergences occur when a technical indicator, like an oscillator, moves in the opposite direction of price.
They often serve as an early warning of a trend reversal (via regular divergence signals) or trend continuation (via hidden divergence signals).
Divergences flag in real-time directly on the price chart and provide a strength rating (1 to 6) based on the number of oscillators that simultaneously detect a divergence.
Bullish divergences flag below price action and bearish divergences flag above price action to help traders detect potential trend reversals (regular divergences) or trend continuations (hidden divergences).
This indicator evaluates a total of six (6) oscillators simultaneously to identify divergences compared to price action.
Each divergence is assigned a strength rating (1 to 6) based on the number of oscillators that simultaneously detect a divergence.
The real-time nature of the divergences will cause the divergence line to re-plot with each successive candle until the divergence confirms at the end of the trend.
The divergence strength rating will also continuously update with each successive candle based on the number of divergences detected at that time.
When the divergence confirms, the divergence line and label on the chart will update from a lighter/transparent shade to a darker/opaque shade.
Use the color selector to change label and line colors.
Use line selector to change the line style. Default (solid line).
Toggle (Regular Divergence (Bull)) to display regular bullish divergences. Default (Off).
Toggle (Regular Divergence (Bear)) to display regular bearish divergences. Default (Off).
Toggle (Hidden Divergence (Bull)) to display hidden bullish divergences. Default (Off).
Toggle (Hidden Divergence (Bear)) to display hidden bearish divergences. Default (Off).
Local Support | Resistance
Local Support and Resistance levels are calculated automatically based on price action and represent supply and demand zones to help traders establish buy and sell targets, stop-loss, and take-profit levels.
Awareness of key support and resistance levels is critical for developing a trading plan, trading level-by-level, and avoiding unnecessary risk (e.g., longing into resistance or shorting into support).
Local Support and Resistance levels are especially useful when combined with other indicator suite features to identify confluence.
Toggle (Local Support | Resistance) to display key support and resistance levels. Default (Off).
Anchored Volume-Weighted Average Price (AVWAP)
Anchored Volume-Weighted Average Price (AVWAP) helps traders determine the fair market value of an asset based on the volume-weighted average price over a user-specified period.
This fair market value can establish areas of support and resistance on the chart with the idea that price is attracted back to the fair market value over time. Default (Off).
The AVWAP line then serves as a critical support | resistance level that price action will eventually test.
Select the AVWAP source from the drop-down box. Default (hlc3) which means (High + Low + Close) / 3. Use the color selector box to change the color of the AVWAP line.
AVWAP Start (Option 1): Use the date and time selectors to select the Start position of the AVWAP line.
AVWAP Start (Option 2): Change the AVWAP Start position directly on the chart by moving the vertical line that appears to a specific candle (e.g., pivot high, pivot low, day/week start).
First, click on the AVWAP line, then drag the vertical AVWAP position line on the chart to the desired candle.
Toggle (AVWAP Support | Resistance) to display a horizontal support | resistance zone based on the current Anchored Volume-Weighted Average Price.
When price action is above the AVWAP, the horizontal AVWAP support | resistance zone acts as support with bullish zone coloring.
When price action is below the AVWAP, the horizontal AVWAP support | resistance zone acts as resistance with bearish zone coloring.
Channels Strategy [Dimkud]Channels trading Strategy. Based on "Channels Strategy" by JoseMetal.
To the original strategy added additional options and filters : Static SL/TP in percents (%), time delay between orders, ATR Filter, second Keltner Channel (Multi TimeFrame).
Interface translated to English.
Were good backtest results on many crypto tokens on 15m - 45m - 1h periods.
Mostly with configuration: Keltner Channel (optimise parameters for every token) + Static SL/TP (optimise values for every token) + "Enter Condition" = "Wick out of band".
The better is to optimise paramaters separately for Short and Long trading. And run two separate bots (in settings enable only Long or only Short.)
Tested on real automated trading on few online bot platforms. (3comm, revenuebot, veles).
Later I will make tutorial how to connect strategy to these platforms or contact me if you need help.
Bender Stochastic MTF With Buy & Sell SignalsA stochastic indicator is a technical analysis tool that uses random data points to forecast price changes in a financial security. It compares the closing price of a security to its price range over a set period of time. The indicator is designed to indicate when a security is overbought or oversold by comparing the closing price to the price range over a certain number of periods. A stochastic indicator can be used to identify potential buying or selling opportunities. It is often used in conjunction with other technical analysis tools to provide a more comprehensive analysis of market conditions.
Configurable Indicator Signals
Signal on k & d Stochastic Line Crosses
Invalidate Signal if not in a overbought or oversold pressure zone
Invalidate signal on neutral zone breach
Invalidate signal on reverse cross
Invalidate signal after a user set number of bars
Delay signal until the cross is considered strong by calculating the distance between the stochastic lines the a user set threshold
Please Note:
This indicator is also embedded in the Bender Bot strategy script. Signals and confluence identified by this indicator can be used to autonomously mange strategies. The below settings will not have any effect on this indicator's functionality when used as a stand alone indicator.
Bender Bot Strategy Confluence
Close any open trade on reverse k & d Stochastic line crosses
Require any signal and Stochastic directional confluence before opening any trade
Require any signal and Stochastic pressure to be in confluence before opening any trade
Require any signal to be in directional confluence with the Stochastic signal
Bender Filtered MA Cloud with Buy Sell SignalsBender MA Cloud is a powerful indicator that uses two moving averages filtered by standard deviation to create a "cloud" on the chart. The upper and lower bounds of the cloud could be key levels of support and resistance, and the indicator plots lines on the chart that reflects the average price of the stock over a specified period of time. The standard deviation is used to filter out noise and identify significant trends. Bender MA Cloud also generates signals based on the direction changes of the fast moving average, crosses of the cloud, and breaches of the cloud boundaries. This indicator is a useful tool for traders who want to make informed decisions based on reliable market trends and anticipate potential trade opportunities. (Video Demo Coming Soon)
Configurable Indicator Signals
Signal on :
Pullbacks
A pullback begins when the fast MA1 line changes direction and moves opposite to the cloud. The pullback is confirmed when the fast MA1 line returns to the direction of the cloud on the close of the bar. These signals can be fine-tuned using the invalidation settings below.
Breaches
A breach is signaled when the price closes beyond the slow MA2 line in the opposite direction of the cloud. These signals can be optimized using the invalidation settings.
Crosses
A cross is signaled by a change in the direction of the cloud. The strength of the cross can be evaluated using the settings below..
Signal Filters
Confirmed pullbacks allowed after a cross
The number of confirmed pullbacks allowed after a cross can be set using this option. If the number of confirmed pullbacks since the last cross exceeds the specified value, the pullback signal will be invalidated.
Allowed Number of bars in Pullback
The pullback signal is considered invalid if the specified number of bars form within the pullback without a reversal occurring. This limits the number of bars allowed in the pullback.
Invalidate Pullback if price breaches the slow MA2
The pullback signal is considered invalid if the price crosses the slow MA2 during the pullback. This indicates that the trend may be reversing and the signal is no longer reliable.
Require Strong Cloud During Pullback
This option allows you to invalidate the pullback signal if the cloud is not considered strong using the ATR strength threshold. This can help to ensure that the signal is reliable and accurate..
Require Strong Cross. _ look-back bars.
This option allows you to invalidate the cross signal if the cloud is not considered strong over a specified number of look-back bars. The strength of the cloud is measured using the ATR strength threshold, and the signal will be invalidated if the cloud is not considered strong. This can help to ensure that the signal is reliable and accurate..
Strength Threshold ATR Length
This option allows you to specify the ATR length that should be used to gauge the strength of the cloud. Keep in mind that the ATR is a dynamic measure, so if there is a spike in the ATR, the cloud strength calculations will also change. This can affect the reliability and accuracy of the signals generated by the indicator.
Cloud Size Must Be _ times the size of the Threshold ATR to be considered strong
This option allows you to specify the minimum size that the cloud must be relative to the Threshold ATR in order to be considered strong. If the distance between the fast MA1 and the slow MA2 is less than the specified value multiplied by the Threshold ATR, the cloud is considered weak. For example, if the cloud size is not at least 2 times the ATR, it will be considered weak.
This indicator is also incorporated into the Bender Bot strategy script and can be used to autonomously manage strategies based on signals and confluences identified by the indicator. When used as a standalone indicator, the features below will not affect the indicators functionality.
Bender Bot Strategy Confluence
Require Signal Confluence before opening any position
This option requires that all of the signal conditions are met before opening any position. If all conditions are satisfied, the signal will remain "Long" or "Short" until it is invalidated.
Require MA Cloud Directional Confluence before opening any position
This option requires that the direction of the cloud (either "Long" or "Short") is in agreement before opening any position. The direction of the cloud changes on crosses.
Close Position if Pullback is started
This option closes the position if a pullback is started and causes the fast MA1 line to change direction and oppose the open position.
Please feel free to contact me if there are any questions
Bender Money Flow Index MTF with Buy & Sell SignalsMFI = Money Flow Index
MTF = Multi Timeframe
The Money Flow Index (MFI) is a technical indicator that can generate sentiment insight or pressure using both price and volume data.
Configurable Indicator Signals
Signal on MFI line directional changes
Invalidate Signal if not in a overbought or oversold pressure zone
Invalidate signal if MFI line is not in confluence with the moving average
Invalidate signal after a defined number of bars in the opposing direction
Please Note:
This indicator is also embedded in the Bender Bot strategy script. Signals and confluence identified by this indicator can be used to autonomously mange strategies. The below features will not have any effect on this indicator's functionality when used as a stand alone indicator.
Bender Bot Strategy Confluence
Require any signal and MFI directional confluence before opening any trade
Require any signal and MFI and Moving average to be in confluence before opening any trade
Require any signal to be in directional confluence with the full MFI signal
Please feel free to contact me with any questions or concerns.
[ADOL_]EasyTradingENG) EasyTrading Indicator(ET)
Introduce)
This is the result of long research and trial and error. This indicator is an indicator that marks the signal on the chart.
Short-term, mid-term, and long-term points are analyzed, and signals leading to long-term trends are marked with a background color.
Indicates oversold and overbought, and modified Ichimoku equilibrium. Indicates the criteria for the new TD.
It is the latest version of the signal indicator that complements the limitations of existing indicators.
Noise cancellation is the key to overcoming limitations.
Alerts are included in the signal notation, allowing integration with bots that utilize alerts.
So that even beginners can use it easily, we exclude miscellaneous functions and focus only on whether it is long or short.
principle)
Principle of Moving Average: Various moving averages (SMA, EMA, WMA, HMA, RMA, SWMA, VWMA) can be used. Simply using only moving averages cannot overcome the existing problems.
The problems that arise from existing signal indicators include structural problems in which entry and exit do not appear properly due to lagging and delay of indicators, and frequent overuse of RBIs.
In order to compensate for these limitations, BNF's disparate rate trading method was referred to. I did not use the existing moving average as it is, but I optimized the formula by reflecting my experience, so the existing moving average
It is characterized by the fact that it cannot be implemented according to the signal of the indicator.
The principle of oversold and overbought: implemented using RSI.
Short-term signal: The principle of the TD indicator has been utilized and modified. The setup principle of the TD indicator,
which compares the current candlestick and the four previous candlesticks and indicates numbers from 1 to 9, was modified by applying it to the moving average.
Intermediate Signal: Moving averages and Ichimoku balance have been modified. We applied the breakthrough of clouds (positive and negative) created in Ichimok balance.
Long-term signal: The principle of moving averages was used.
comparison with existing indicators)
Compared to Supertrends:
The top is the ET indicator, and the bottom is the supertrend indicator. Supertrend is set to 14,3, which is commonly used.
Looking at the background color representing the long-term signal of ET while the super trend repeatedly displays buy and sell and sees loss of intervals
ET does not see section loss as no signal appears in the middle after one entry.
The same goes for other sports.
Compared to the moving average (sma):
Even when compared to the golden cross and dead cross conditions that break through the moving average line, the moving average line accumulates losses due to frequent entries and exits in the section that moves sideways.
ET, which compensates for the limitations, continues the trend without noise.
Comparison with Ichimoku:
ET has less noise than entering a trade using Ichimoku's red cloud and green cloud.
Necessity)
In order to work with the bot, the key is to accurately implement the hitting point and remove noise. It is a basic approach to trading even if it is not linked to a bot.
In the setting of most indicators, if you increase the period, you can see the long-term trend, but the entry point is delayed, and if you decrease the period, the entry point becomes frequent and enters a place where you shouldn't enter.
ET catches the entry point and noise removal, and helps you approach the entry point correctly even if you don't trade often.
Catching the two rabbits was the most difficult. how many years...
chart)
Notation of background color:
Long-term signals are displayed in the background color so that trends can be grasped at a glance.
Long term signal:
It is indicated by an arrow on the chart.
Mid term signal:
The decline is indicated by a black gradient on the candle and a red circle above the candle.
The rise is indicated by a white gradient on the candle and a green circle below the candle.
short-term signal:
On the chart, the candlesticks are numbered from 1 to 9.
Oversold/Overbought:
Oversold conditions are indicated by yellow diamonds (◆).
Overbought is indicated by a blue diamond (◆).
Determine the TP on the first oversold or overbought bar. Split profit start.
timeframes and alerts)
It can be applied to all time frames, and the standard time at the center is 1h.
You can adjust the dot while viewing the 15-minute bar and the 1-hour bar together.
multi time frame. It is recommended to observe multiple times at the same time using the split screen.
Note)
This indicator is not a guarantee of absolute returns, and you are solely responsible for any trading decisions you make.
How to use)
It is set to be used by invited users only.
If you receive an invitation, tap Add indicator to favorites at the bottom of the indicator.
If you go to the chart screen and press the indicator at the top, there is a Favorites tab on the left tab.
Add an indicator by clicking on the indicator name in the Favorites tab (or Invite Only).
If a study error occurs when adding an indicator even though permission has been granted
You may be able to fix the problem by turning off all charts and restarting.
KOR) EasyTrading 지표(ET)
소개)
이것은 오랜 연구와 시행착오의 결과물입니다. 해당 지표는 차트에 시그널을 표기해주는 지표입니다.
단기, 중기, 장기 타점을 분석하며, 장기트렌드를 이끄는 시그널은 배경색으로 표기됩니다.
과매도와 과매수를 표시하며, 변형된 일목균형을 표시합니다. 새로운 TD의 기준을 표시합니다.
기존의 지표들이 가지는 한계를 보완한 시그널 지표의 가장 최신 버전입니다.
한계를 극복하는데는 노이즈 제거가 핵심이라고 볼 수 있습니다.
시그널 표기에는 얼러트가 포함되어, 얼러트를 활용하는 봇과 연동이 가능합니다.
초보자도 쉽게 활용할 수 있도록 잡다한 기능은 빼고, 롱이냐 숏이냐에만 집중합니다.
원리)
이동평균선의 원리 : 여러가지 이동평균선(SMA, EMA, WMA, HMA, RMA, SWMA, VWMA) 을 활용할 수 있습니다. 단순히 이동평균선만 활용하는 것으로는 기존의 문제점을 뛰어넘을 수 없습니다.
기존의 시그널 지표에서 발생하는 문제점은, 기본적으로 지표가 가지는 후행성과 지연으로 인해, 진입과 청산의 자리가 제대로 나오지 않는 구조적인 문제, 잦은 타점 남발 등이 있습니다.
이러한 한계를 보완하기 위해서 BNF의 괴리율 매매법을 참고하였습니다. 기존의 이평선을 그대로 쓰는 것이 아니라 저의 경험을 반영해 수식을 최적화하였기 때문에 기존의 이평선으로는
해당 지표의 시그널을 따라 구현할 수 없다는 것이 특징입니다.
과매도, 과매수의 원리 : RSI를 활용하여 구현하였습니다.
단기시그널 : TD 지표의 원리를 활용 및 변형하였습니다. 현재 캔들과 4개이전의 캔들을 비교해 1~9까지 숫자로 표기하는 TD 지표의 setup 원리를 이평선에 적용하여 변형하였습니다.
중기시그널 : 이평선 및 일목균형을 변형하였습니다. 일목균형에서 만들어지는 구름(양운과 음운)의 돌파를 응용하였습니다.
장기시그널 : 이평선의 원리를 활용하였습니다.
기존의 지표들과 비교)
슈퍼트렌드와 비교 :
상단은 ET지표, 하단은 슈퍼트렌드 지표입니다. 슈퍼트렌드는 일반적으로 많이 쓰는 14,3 으로 세팅하였습니다.
슈퍼트렌드가 buy와 sell을 반복적으로 띄우며 구간손실을 보는동안, ET의 장기시그널을 나타내는 배경색을 보면
ET는 한번의 진입후 중간에 시그널이 출현하지 않으면서 구간손실을 보지 않고 있습니다.
다른 종목에서도 마찬가지입니다.
이동평균선(sma)과 비교 :
이동평균선을 돌파하는 골든크로스와 데드크로스 조건과 비교해도 횡보하는 구간에서 이동평균선은 잦은 진입과 청산으로 손실을 누적하지만
한계를 보완한 ET는 노이즈 없이 추세를 이어나갑니다.
일목균형과 비교 :
일목균형의 양운과 음운을 활용하여 타점을 진입하는 것보다 노이즈가 적습니다.
필요성)
봇과 연동하기 위해서는 타점을 정확하게 구현하는 것과 노이즈의 제거가 핵심입니다. 봇과 연동하지 않더라도 매매의 기본적인 접근입니다.
대부분의 지표의 설정에서 기간을 늘리면 장기추세를 볼 수 있으나 진입점이 늦어지고, 기간을 줄이면 진입점이 잦아 들어가지 말아야 할 곳에 들어가게 됩니다.
ET는 진입점과 노이즈 제거 두마리 토끼를 잡아, 자주 매매하지 않더라도 바르게 진입점에 접근할 수 있도록 도와줍니다.
두마리 토끼를 잡는 것이 가장 어려웠습니다. 몇년의 시간..
차트로 설명)
배경색의 표기 :
장기시그널을 배경색으로 표기하여 트렌드를 한눈에 파악할 수 있도록 하였습니다.
장기시그널 :
차트상에서 화살표로 표기됩니다.
중기 시그널 :
하락은 캔들의 검정색 그라데이션과 캔들 위 빨간색 원으로 표시됩니다.
상승은 캔들의 하얀색 그라데이션과 캔들 아래 초록색 원으로 표시됩니다.
단기시그널 :
차트상에서 캔들에 1~9까지 숫자로 표시됩니다.
과매도/과매수 :
과매도는 노란색 다이아몬드(◆)로 표시됩니다.
과매수는 파란색 다이아몬드(◆)로 표시됩니다.
과매도, 과매수가 처음 발생하는 봉에서 TP를 결정합니다. 분할익절 시작.
타임프레임 및 얼러트)
모든 시간프레임에 적용 가능하며, 중심이 되는 기준시간은 1h 입니다.
15분봉과 1시간봉을 같이 보면서 타점을 조절할 수 있습니다.
멀티타임프레임. 화면분할을 활용하여 여러 시간을 동시에 관찰하는 것을 추천합니다.
참고사항)
해당지표는 절대수익을 보장하는 지표가 아니며, 귀하가 내리는 모든 거래 결정은 전적으로 귀하의 책임입니다.
사용방법 )
초대된 사용자만 사용할 수 있도록 설정이 되어있습니다.
초대를 받을 경우, 지표 하단의 즐겨찾기에 인디케이터 넣기를 누릅니다.
차트화면으로가서 상단에 지표를 눌러 왼쪽탭에 보면 즐겨찾기 탭이 있습니다.
즐겨찾기 탭 (또는, 인바이트 온리) 에서 지표이름을 눌러서 지표를 추가합니다.
권한이 부여됐음에도 지표추가시 study error가 발생할 경우
차트를 모두 끄고 재시작함으로써 문제점을 해결할 수 있습니다.
Grid Strategy Back Tester (Long/Short/Neutral)Preface
I'd like to send a thank you to @xxattaxx-DisDev.
The 'Line' Code, which was the most difficult to plan the Grid Indicator, was solved through the 'Grid Bot Simulator' script of @xxattaxx-DisDev.
A brief description of the indicators
These indicators are designed for backtesting of grid trading that can be opened on various exchanges.
Grid trading is a method of selling at particular intervals as prices rise and fall for gird interval price range.
This indicator is actually designed to see what the Long / Short / Neutral grid has achieved and how much it has achieved over a given period of time.
How to use
1. Lower Limit and Upper Limit are required when putting indicators on the chart.
After that, choose the 'Time' when to open the grid.
Also, select Long / Short / Neutral direction if necessary.
2. Statistics Table
Matched Grid shows how many grid pairs were engaged during the backtesting period.
The Daily Average Matching Profit is calculated based on the number of these closed grids.
Total Matching Profit is calculated as Matching Grid * Per Matching Profit.
Position Profit/Loss shows the benefits and losses from your current position.
Total Profit/Loss is sum of Total Matching Profit and Position Profit/Loss.
The Expanded APY shows the benefits of running the strategy on these terms for a year.
Max Loss of Upper is the maximum loss assumed to be directly at the top of the grid range.
BEP days (Upper) show how many days of maintenance relative to Average Matching Profit can result in greater profit than maximum loss if the grid continues to move within range.
(In the case of Long Strategy, it appears to be 'Min Profit', which shows minimal benefit if it reaches the top.)
Max Loss of Lower and BEP days (Lower) shows the opposite.
(In the case of Short Strategy, it is also referred to as 'Min Profit', which shows minimal benefit if it reaches the bottom.)
3. Grid Info
Total Grid Number, Upper Limit, and Lower Limit show the values you set in INPUT.
Grid Open Price shows the price for the period you decide to open.
Starting Position shows the number of positions that were initially held in the case of a Long / Short Strategy.
(0 for Neutral Strategy)
Per Grid qty shows how many positions are allocated to one grid
Grid Interval shows the spacing of each grid.
Per Matched Profit shows how much profit is generated when a single grid is matched.
Caution
Backtesting results for these indicators may vary depending on the time frame.
Therefore, I recommend that you use it only to compare Profit/Loss over time.
*In addition, there is a problem that all lines in the grid are not implemented, but it is independent of the backtest results.
--------------------------------------
서문
지표를 기획함에 있어서 가장 어려웠던 line 코드를 @xxattaxx-DisDev의 'Grid Bot Simulator' 스크립트를 통해 해결할 수 있었습니다.
이에 감사의 말씀을 드립니다.
해당 지표에 대한 간단한 설명
해당 지표는 다양한 거래소에서 오픈할 수 있는 그리드 매매에 대한 백테스팅을 위해 만들어졌습니다.
그리드매매는, 특정 가격 구간에 대해 가격이 오르고 내림에 따라 일정 간격에 맞춰 매매를 하는 방식입니다.
이 지표는 실질적으로 롱/숏/중립 그리드가 어떠한 성과를, 특정 기간동안 얼마나 냈는지를 확인하고자 만들어졌습니다.
사용방법
1. 인풋
지표를 차트위에 넣을 때, Lower Limit과 Upper Limit이 필요합니다.
그 후 그리드를 언제부터 오픈할 것인지를 선택하세요.
또, 필요하다면 Long / Short / Neutral의 방향을 선택하세요.
2. 그리드 통계
Matched Grid는, 백테스팅 기간동안 체결된 그리드 쌍이 몇개인지를 보여줍니다.
이 체결된 그리드의 갯수를 바탕으로 Daily Average Matched Profit이 계산됩니다.
Total Matched Profit은, Matched Grid * Per Matched Profit으로 계산됩니다.
Position Profit/Loss는, 현재 갖고 있는 포지션으로 인한 이익과 손실을 보여줍니다.
Total Matched Profit과 Position Profit/Loss를 합친 금액이 Total Profit/Loss가 됩니다.
Expcted APY는, 이러한 조건으로 전략을 1년동안 운영했을 때의 이익을 보여줍니다.
Max Loss of Upper는, 그리드 범위의 최상단에 바로 도달했을 경우를 가정한 최대 손실입니다.
BEP days(Upper)는, 그리드가 범위 내에서 계속 움직일 경우, Average Matched Profit을 기준으로 며칠동안 유지되어야 최대손실보다 더 큰 이익이 발생할 수 있는지를 보여줍니다.
(Long Strategy의 경우, ‘Min Profit’이라고 나타나는데, 최상단에 도달했을 경우 최소한의 이익을 보여줍니다)
Max Loss of Lower는 그 반대의 경우를 보여줍니다.
(Short Strategy의 경우, 역시 ‘Min Profit’이라고 나타나는데, 최하단에 도착했을 경우 최소한의 이익을 보여줍니다)
3. 그리드 정보
그리드 갯수, Upper Limt, Lower Limt은 자신이 설정한 값을 보여줍니다.
Grid Open Price는, 자신이 오픈하기로 정했던 기간의 가격을 보여줍니다.
Starting Position은, 롱/숏 그리드의 경우에 처음에 들고 시작했던 포지션의 갯수를 보여줍니다.
Neutral Strategy의 경우 0입니다.
Per Grid qty는, 하나의 그리드에 얼마만큼의 포지션이 배분되었는지를 보여주며
Grid Interval은 각 그리드의 간격을 보여줍니다.
또, Per Matched Profit은 하나의 그리드가 체결될 때 얼마만큼의 이익이 발생하는 지를 보여줍니다.
이러한 지표에 대한 역테스트 결과는 시간 프레임에 따라 달라질 수 있습니다.
따라서 시간 경과에 따른 손익을 비교할 때만 사용하는 것이 좋습니다.
*추가로, 그리드의 라인이 모두 구현되지 않는 문제가 있지만, 백테스팅 결과와는 무관합니다.
ATR Trend Run - Signals Alerts SL and TP by Tech Store OnThe script uses several ATR formulas for entering/exiting trades, support/resistance lines to take TP1 (take profit 1) and another ATR formula for TP2 (take profit 2). Everything is fully configurable to your preference, and you can back-test it via TradingView. You can also configure the indicator for signals during US trading sessions (with or without power hour), as well as taking profits/stop-loss session time(s), as well as to close a position at the end of the trading session no matter what. Also, you can turn all of that off, so there are no trading session/end of day limits and each trade will run until it either hits SL, TP1, TP1 > back to entry, TP2. Note: indicator is set to skip consecutive/opposite signals, while you currently have a trade open > if you hit a trend – ride it to the end!
For example: If you will be day trading SPY and you wish to close your positions no matter what right before the market closes (3:45PM ET > 15min before closes): Make sure to checkbox “Intraday – Close Position Before Market Closes” in the strategy/indicator Settings, so that you are alerted soon before the market closes, if you wish to continue holding the position – leave this checkbox unchecked.
SL: SL is set to be slightly above/below the signal candle, which is best suited for this strategy.
Strategy Take Profit Approach
While the initial position open and SL hit is always based on a closed candle bar (can’t do otherwise, as otherwise you will have 10s of fake signal alerts), there are 2 ways on trading this strategy in terms of TP1 and TP1 taken > back to Entry, which is based off Alert type.
You can switch this as you like within the indicator settings, “Checked: TP1 taken > back to Entry per Price Touch | Unchecked: per Candle Close”.
Candle Close vs Price Touch: with the Default method - Candle Close for an alert for TP1 or if price comes back to Entry after TP1 is taken will only be triggered once candle bar fully closes crossing the area, while Price Touch will alert when price touches the area before candle bar closes.
For example: your trade is running well, you grab TP1 and the price reverses and hits your trade Entry area. With Price Touch – you are immediately alerted to close your trade with no loss and with TP1 profit. With Candle Close - you will receive an alert only once candle bar fully closes on top of the Entry crossing it backwards, meaning it may lower your TP1 profit or even completely reverse the trade into loss in case it will be a huge candle bar for any reason. However, it may touch the Entry area, looking like the price is reversing, but then continue per initial trade direction, sometimes becoming a trend. So, while Price Touch seem like a more conservative approach, Candle Close can give you much bigger profits if you catch a trend, but you can always change it via the Settings.
Note: TradingView back-testing engine does not have a feature to open/close orders IMMEDIATELY via Price Touch trigger, but only when the candle closes after price touches the scripted area/line/etc., so you for the most accurate results, test your strategy out via Candle Close setting. Otherwise, decide yourself. I personally like more Candle Close since I can test it out via back-testing with the most accurate results.
TP2 is set per Candle Close as often the ATR trailing stop line will be hit and bounced off, so it’s best to wait until candle actually breaks it/closes through it.
Note: If you will be observing the strategy LIVE, during LIVE candle bar movement – it will look weird, like it’s placing an order after order during any trigger – this seem like a TradingView bug, but is only observational, once the candle bar is closed and you refresh TradingView it will all look correct.
Back-Testing
If you wish to do some back-testing, just modify the strategy/indicator Settings:
-----1) STRATEGY: This is for back-testing/experimenting with the script inputs.
----------a. You can setup a start date (date, month, year) from which it will start opening back-test trades, select a position size and select TP1 size, the idea here is to close half (or whatever you choose) portion of the trade once you hit your TP1, then to either close at small profit or to catch a trend and close the second portion of the position long way ahead from Entry, otherwise it will alert you to close the position at TP2, if price comes back to Entry, at reversal signal or at the end of US trading session if the option for it is checked. If you wish to close the whole position at TP1, just enter the same amount for TP1 to match backtest position size. Otherwise you can experiment with TP1 sizing – try it out!
-----2) Feel free to experiment with ATR settings and with S&R Left/Right bars, you may be amazed how results will differ and find some really cool combinations!
-----3) Make sure you select/de-select “Intraday – Close Position Before Market Closes” setting depending on what you are back-testing and on which conditions
-----4) Note: If you wish to do some deep back-testing (1+ years), use the “Deep Backtesting” feature within Strategy Tester on the TradingView as otherwise it may show wrong results or even fail to compute the results
Add the alerts
-----Right-click anywhere on the TradingView chart
-----Click on Add alert
-----Condition: ATR Trend Run - Signals Alerts SL and TP, by Tech Store On
----------o Right underneath the condition click on the drop-down menu and select “alert() function calls only”
-----Expiration time: Whatever you wish
-----Alert actions: Whatever notifications you wish
-----Alert name: DO NOT TOUCH THIS
-----Hit “Create”
-----Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
- Note: If you add the alert while the script is currently “In Position” it will not know that. So either wait when there will be no position open at all or close your position partially if the bot opens it twice bigger or so in case per script the bot will think it is already in position.
Note: Because of the slippage and the order processing time between TradingView, AutoView and the Broker (it’s usually about a second or so), it is suggested to not use a timeframe lower than 1min. The script is working really well with 1M/3M/5M/H1/H4 timeframes per my back-testing, but feel free to explore via Strategy Back-testing what’s best for the instrument you wish to trade.
If you wish to try this out for a week or so – please reach out and I will give you access.
MACD with Support and Resistance - Signals, Alerts, TP and SLMACD with Support and Resistance - Signals Alerts SL and TP by Tech Store On
The script uses MACD for entering/exiting trades and support/resistance lines to take TP1 (take profit 1). Both MACD and support/resistance lines are fully configurable to your preference, and you can back-test it via TradingView. Once TP1 is taken, you can either set the indicator to close the trade at the end of the US trading session day (4PM ET) or you can continue taking partial profits where you wish or just wait until reversal signal alert.
For example: If you will be day trading SPY and you wish to close your positions no matter what right before the market closes (3:45PM ET > 15min before closes): Make sure to checkbox “Intraday – Close Position Before Market Closes” in the strategy/indicator Settings, so that you are alerted soon before the market closes, if you wish to continue holding the position – leave this checkbox unchecked.
SL: SL is set to be slightly above/below the MACD signal candle, which is best suited for this strategy from manual backtesting.
Strategy Take Profit Approach
While the initial position open and SL hit is always based on a closed candle bar (can’t do otherwise, as otherwise you will have 10s of fake signal alerts), there are 2 ways on trading this strategy in terms of TP1 / TP1 taken > back to Entry, which is based off Alert type.
You can switch this as you like within the indicator settings, “Checked: TP1/TP1 taken > back to Entry per Price Touch | Unchecked: per Candle Close”.
Candle Close vs Price Touch: with the Default method - Candle Close for an alert for TP1 or if price comes back to Entry after TP1 is taken will only be triggered once candle bar fully closes crossing the area, while Price Touch will alert when price touches the area before candle bar closes.
For example: your trade is running well, you grab TP1 and the price reverses and hits your trade Entry area. With Price Touch – you are immediately alerted to close your trade with no loss and with TP1 profit. With Candle Close - you will receive an alert only once candle bar fully closes on top of the Entry crossing it backwards, meaning it may lower your TP1 profit or even completely reverse the trade into loss in case it will be a huge candle bar for any reason. However, it may touch the Entry area, looking like the price is reversing, but then continue per initial trade direction, sometimes becoming a trend. So, while Price Touch seem like a more conservative approach, Candle Close can give you much bigger profits if you catch a trend, but you can always change it via the Settings.
Note: TradingView back-testing engine does not have a feature to open/close orders IMMEDIATELY via Price Touch trigger, but only when the candle closes after price touches the scripted area/line/etc., so you for the most accurate results, test your strategy out via Candle Close setting. Otherwise, decide yourself. I personally like more Candle Close since I can test it out via back-testing with the most accurate results.
Note: If you will be observing the strategy LIVE, during LIVE candle bar movement – it will look weird, like it’s placing an order after order during any trigger – this seem like a TradingView bug, but is only observational, once the candle bar is closed and you refresh TradingView it will all look correct.
Back-Testing
If you wish to do some back-testing, just modify the strategy/indicator Settings:
-----1) STRATEGY: This is for back-testing/experimenting with the script inputs.
----------a. You can setup a start date (date, month, year) from which it will start opening back-test trades, select a position size and select TP1 size, the idea here is to close half (or whatever you choose) portion of the trade once you hit your TP1, then to either close at small profit or to catch a trend and close the second portion of the position long way ahead from Entry, otherwise it will alert you to close the position if price comes back to Entry, at reversal signal or at the end of US trading session if the option for it is checked. If you wish to close the whole position at TP1, just enter the same amount for TP1 to match backtest position size. Otherwise you can experiment with TP1 sizing – try it out!
-----2) Feel free to experiment with MACD settings and with S&R Left/Right bars, you may be amazed how results will differ and find some really cool combinations!
-----3) Make sure you select/de-select “Intraday – Close Position Before Market Closes” setting depending on what you are back-testing and on which conditions
-----4) Note: If you wish to do some deep back-testing (1+ years), use the “Deep Backtesting” feature within Strategy Tester on the TradingView as otherwise it may show wrong results or even fail to compute the results
Add the alerts
-----Right-click anywhere on the TradingView chart
-----Click on Add alert
-----Condition: MACD with Support and Resistance - Signals
----------o Right underneath the condition click on the drop-down menu and select “alert() function calls only”
-----Expiration time: Whatever you wish
-----Alert actions: Whatever notifications you wish
-----Alert name: DO NOT TOUCH THIS
-----Hit “Create”
-----Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
- Note: If you add the alert while the script is currently “In Position” it will not know that. So either wait when there will be no position open at all or close your position partially if the bot opens it twice bigger or so in case per script the bot will think it is already in position.
Note: Because of the slippage and the order processing time between TradingView, AutoView and the Broker (it’s usually about a second or so), it is suggested to not use a timeframe lower than 1min. The script is working really well with 15M/H1 timeframes per my back-testing, but feel free to explore via Strategy Back-testing what’s best for the instrument you wish to trade.
PineHelperLibrary "PineHelper"
This library provides various functions to reduce your time.
recent_opentrade_entry_bar_index()
get a recent opentrade entry bar_index
Returns: (int) bar_index
recent_closedtrade_entry_bar_index()
get a recent closedtrade entry bar_index
Returns: (int) bar_index
recent_closedtrade_exit_bar_index()
get a recent closedtrade exit bar_index
Returns: (int) bar_index
all_opnetrades_roi()
get all aopentrades roi
Returns: (float) roi
bars_since_recent_opentrade_entry()
get bars since recent opentrade entry
Returns: (int) number of bars
bars_since_recent_closedtrade_entry()
get bars since recent closedtrade entry
Returns: (int) number of bars
bars_since_recent_closedtrade_exit()
get bars since recent closedtrade exit
Returns: (int) number of bars
recent_opentrade_entry_id()
get recent opentrade entry ID
Returns: (string) entry ID
recent_closedtrade_entry_id()
get recent closedtrade entry ID
Returns: (string) entry ID
recent_closedtrade_exit_id()
get recent closedtrade exit ID
Returns: (string) exit ID
recent_opentrade_entry_price()
get recent opentrade entry price
Returns: (float) price
recent_closedtrade_entry_price()
get recent closedtrade entry price
Returns: (float) price
recent_closedtrade_exit_price()
get recent closedtrade exit price
Returns: (float) price
recent_opentrade_entry_time()
get recent opentrade entry time
Returns: (int) time
recent_closedtrade_entry_time()
get recent closedtrade entry time
Returns: (int) time
recent_closedtrade_exit_time()
get recent closedtrade exit time
Returns: (int) time
time_since_recent_opentrade_entry()
get time since recent opentrade entry
Returns: (int) time
time_since_recent_closedtrade_entry()
get time since recent closedtrade entry
Returns: (int) time
time_since_recent_closedtrade_exit()
get time since recent closedtrade exit
Returns: (int) time
recent_opentrade_size()
get recent opentrade size
Returns: (float) size
recent_closedtrade_size()
get recent closedtrade size
Returns: (float) size
all_opentrades_size()
get all opentrades size
Returns: (float) size
recent_opentrade_profit()
get recent opentrade profit
Returns: (float) profit
all_opentrades_profit()
get all opentrades profit
Returns: (float) profit
recent_closedtrade_profit()
get recent closedtrade profit
Returns: (float) profit
recent_opentrade_max_runup()
get recent opentrade max runup
Returns: (float) runup
recent_closedtrade_max_runup()
get recent closedtrade max runup
Returns: (float) runup
recent_opentrade_max_drawdown()
get recent opentrade maxdrawdown
Returns: (float) mdd
recent_closedtrade_max_drawdown()
get recent closedtrade maxdrawdown
Returns: (float) mdd
max_open_trades_drawdown()
get max open trades drawdown
Returns: (float) mdd
recent_opentrade_commission()
get recent opentrade commission
Returns: (float) commission
recent_closedtrade_commission()
get recent closedtrade commission
Returns: (float) commission
qty_by_percent_of_equity(percent)
get qty by percent of equtiy
Parameters:
percent : (series float) percent that you want to set
Returns: (float) quantity
qty_by_percent_of_position_size(percent)
get size by percent of position size
Parameters:
percent : (series float) percent that you want to set
Returns: (float) size
is_day_change()
get bool change of day
Returns: (bool) day is change or not
is_in_trade()
get bool using number of bars
Returns: (bool) allowedToTrade
discord_message(name, message)
get json format discord message
Parameters:
name : (string) name of bot
message : (string) message that you want to send
Returns: (string) json format string
telegram_message(chat_id, message)
get json format telegram message
Parameters:
chat_id : (string) chatId of bot
message : (string) message that you want to send
Returns: (string) json format string
BT-Bollinger Bands - Trend FollowingEsse script foi criado para estudo de Backtest.
O script usa as Bandas de Bollinger para indicar o início de uma tendência, a entrada é configurada quando o preço abre abaixo e fecha acima da banda superior ou para venda quando o preço abre acima e fecha abaixo da banda inferior.
Não há um stop fixo e nem alvo fixo a saída se dá quando o preço toca a média da banda.
Você pode usar uma média móvel como filtro combinado com a estratégia.
O Script também pode ser usado com algum serviço de bot como 3commas.io , basta colocar as mensagens de entrada e saída para o bot.
Autor : Credsonb - Nick: M4TR1X_BR
Neste gráfico estou usando as seguintes configurações:
Bandas Bollinger: 7
Desvio Padrão: 1.5
Time Frame: 12hs
Ticker: ETH
This script was created for Backtest study.
script uses Bollinger Bands to indicate the start of a trend, entry is set when price opens below and closes above the upper band or for short when price opens above and closes below the lower band.
There is no fixed stop and no fixed target, the exit occurs when the price touches the average of the band.
You can use a moving average as a filter combined with the strategy.
The Script can also be used with some bot service like 3commas. io , just put the input and output messages to the bot.
Author : Credsonb - Nick: M4TR1X_BR
Full Volatility Statistics and Forecast
This is a tool designed to translate the data from the expected volatility of different assets, such as for example VIX, which measures the volatility of SP500 index.
Once get the data from the volatility asset we want to measure(for this test I have used VIX), we are going to translate it the required timeframe expected move by dividing the initial value into :
252 = if we want to use the daily timeframe, since there are ~252 aproximative daily trading days
52 = if we want to use the weekly timeframe, since there 52 trading weeks in a year
12 = if we want to use the monthly timeframe, since there are 12 months in a year
For this example I have used 252 with the daily timeframe.
In this scenario, we can see that we had 5711 total cnadles which we analysed, and in this case, we had 942 crosses, where the daily movement ended up either above or below the channel made from the opening daily candle value + expected movement from the volatility, giving as a total of 16.5% of occurances that volatility was higher than expected, and in 83.5% of the times, we can see that the price stayed within our channel.
At the same time, we can see that we had 6 max losses in a row ( OUT) AND 95 max wins in a row (IN), and at the same time in those moments when the volatility crosses happen we had a 0.51% avg movements when the top crossed happened, and 0.67% avg movements when the bot happened.
Lastly on the second part of the panel, we had E which means the expected movement of today, for example it has 61.056$ , so lets say price opened on 4083, our top is 4083 + 61 and our bot is 4083 - 61 ( giving us the daily channel). At continuation we can see that overall the avg bull candle os 0.714% and avg bear candle was 0.805% .
I hope this tool will help you with your future analysis and trades !
If you have any questions please let me know !
BT-SAR Ema, Squeeze, Volatility
Esse script foi criado para estudo de Backtest.
Ele usa o SAR PARABÓLICO como indicador de sinal de entrada, você também pode combinar 3 indicadores para filtrar as entradas: Média Móvel, Squeeze Momentum e Volatility Oscilator .
Existe duas entradas, quando o SAR Parabólico vira ou pelo Breakout (usando o último preço) do SAR Parabólico antes dele virar.
As Os filtros podem ser usados de forma combinada ou individual.
O Script também pode ser usado com algum serviço de bot como 3commas.io, basta colocar as mensagens de entrada e saída para o bot.
This script was created for Backtest study.
It uses PARABOLIC SAR as input signal indicator, you can also combine 3 indicators to filter inputs: Moving Average, Squeeze Momentum and Volatility Oscillator .
There are two entries, when the Parabolic SAR turns or by Breakout (using the last price) of the Parabolic SAR before it turns.
The Filters can be used in combination or individually.
The Script can also be used with some bot service like 3commas.io, just put the input and output messages to the bot.
Protervus Trading ToolkitHi Traders! Welcome to Protervus Trading Toolkit (PTT) , a comprehensive set of tools to help you building, backtesting, and even automating your strategy.
Important : the data and screenshots I publish are solely for presentation and explanation purposes and must not be intended as recommendations or guarantees. Please consider eventual backtesting results seen here as almost-random. My goal is not to provide ready-made strategies, signals, or infallible methods, but rather indicators and tools to help you focus on your own research and build a reliable trading plan based on discipline.
BUILD, BACKTEST, AUTOMATE
The first step is to link a chained indicator which will send Entry signals and, optionally, Exit signals: to integrate your own triggers with this toolkit, check out my tutorial and use this code as a template.
Then, in the Trading Settings you can set the Trading Mode (Full - Long and Short, Long only, or Short only) as well as Starting Capital, Drawdown Limit, Risk per Trade, Fees, and the date range in which trading will be enabled and backtested.
Go further by tweaking your strategy with built-in Take Profit and Stop Loss conditions, and keep it under control thanks to the Statistics Panel.
Trades will be shown on the chart, including TP\SL levels (according to the ones you enable) and per-trade statistics:
Tip: point the cursor over TP or SL icon to open the tooltip, showing additional details about the trade.
BUILT-IN CONDITIONS
Note: all conditions already account for fees.
Take Profit \ Stop Loss percentage
Take Profit or Stop at Loss when a fixed percentage is reached.
Limit \ Hard Stop: the trade will be considered closed when that specific price is reached - otherwise, the candle closing price will be used.
Trailing Take Profit
Trail the price and close the trade in profit when it reverses for the chosen percentage.
Engage and Disengage: activate trailing when the price is above the entry price for the chosen percentage, and de-activate it if price goes past the disengage percentage.
Safety TP: close the trade at Break-Even if the price sharply reverses from engaged area to BE level. A specific Alert is available in order to create a separate trigger with immediate effect.
Note: using TP Safety with an Engage % of zero might result in many early exits, so it is recommended to add some margin to Engage % to avoid that.
Exit \ Stop on Opposite Signal
Close the trade when another, contrary signal is received (e.g. close a Long position when a signal to go Short is received).
Exit \ Stop after X candles
Close the trade after X candles, as soon as the condition is met (e.g. for Take Profit condition, it will close the trade after X candles as soon as the trade is in profit).
Bind to TP \ SL: only validate the condition if the current PnL is above (TakeProfit cond.) or below (Stop Loss cond.) the specified percentage.
ATR Stop
Classic ATR Stop Loss.
Trailing ATR
Chase the price by the defined ratio and close the position when the candle closes past the ATR line.
Bind to TP \ SL: only validate the condition if the current PnL is above (TakeProfit cond.) or below (Stop Loss cond.) the specified percentage.
External Signal (sent from your indicator)
Close the position basing on your own triggers, defined in the chained indicator.
- Bind to TP \ SL: only validate the condition if the current PnL is above (TakeProfit cond.) or below (Stop Loss cond.) the specified percentage.
PANEL CUSTOMIZATION AND ADDITIONAL OPTIONS
A strategy name can be assigned in the settings and will show it at the top of the Statistics Panel, so you can better identify and label your tests and live instances.
The panel can be customized in terms of colors, text size and height. It can be also "split" in modular panels that will appear at the bottom of the chart.
It is also possible to show \ hide prices and live data labels as well as position and Break-Even levels. In some cases you will need to limit the display of those plots in order to avoid PineScript calculation issues.
If you limited the plots but you are checking very old trades, you can enable the Legacy position tracker to see basic markers for positions (position is active, and profit \ loss marker).
In the case you will be sending webhook alerts to a trading bot , "Position Alert Failover" will come in aid to prevent situations where the initial trade closing alert is either not sent or missed: it will keep sending the position closing signal for X candles.
PLUGINS
Thanks to the modular nature of PTT, plugins will eventually be available to provide additional features and extend functionalities even further. Make sure to keep an eye on updates.
CREATING ALERTS
To create alerts you must first select the PTT indicator from the "Condition" drop-down menu, then the whole list of available alerts will appear. When creating alerts, please make sure to set "Once Per Bar Close" for the normal conditions, and "Once Per Bar" for safety conditions (Limit and Hard Stop simulation, Trailing TP Safety Trigger).
Besides positions opening and closing alerts, you also have the option to add extra alerts for when a position is open or not open (e.g. Active Long position, No Long Position) - that might come handy when dealing with trading bots and automation tools. Also, as mentioned earlier, you have the chance to create a special alert as failover in order to repeat the closing alert.
TIPS AND RECOMMENDATIONS
Set Visual Order > Bring to front for PTT to avoid other indicators or candles covering up labels.
If you receive errors like "Referencing too many candles" or "Too many drawings", use the " Limit to last candles " function in the Settings panel to lower the number of candles.
If the Statistics Panel or labels are not appearing, and no errors are shown (red circled exclamation mark next to indicator's name), try changing any value in the settings to trigger a new calculation.
The Lowest Point in Trades refers to the maximum movement against your position. However, if the price never goes negative against the Entry level, it will be calculated from the Break-Even level.
Differently from TradingView's Strategy Tester, PTT calculates DrawDown from the Equity line (the starting balance).
Remember that Backtests only show past results, and although very useful to understand if your strategy makes sense, the market can completely change at any moment and ruin your dreams: make sure to avoid over-fitting (using very specific values) in your settings and to prefer more generic values in order to factor broader market situations.
After many successful backtests of your newly created strategy, let it run live without actually trading it for some time (paper trading), and see if it remains valid.
You can use multiple Conditions as safeguard. For example, main Stop condition can be Trailing ATR and secondary Stop condition can be Stop Loss % with Hard Stop, so you will be protected in case of sudden big price moves.
Smart Money BusterAfter daytrading for a while i came into conclusion that price action trading is the most successful way to trade for me and this project was for me to simplify my way of trading at the beginning. Eventually it got big and turned into a very useful helper indicator for me to setup on different pairs for alerts and only look at the charts to decide for entry when the alerts come from 120 different pairs that i set it up. Since i always looked at indicators for a way to make my job simpler and give me more time to do more important things for me rather than drawing lines on different pairs eveyday i think it got to a point where it works to my liking and making me gain time, thus more money.
This indicator uses smart money concepts like Market Structure, Order Blocks, Quassimodo Levels, Structure Breaks, Pumps and Dumps, Imbalances(In the works will be added in first update) to help trader catch what the whales are thinking and how to enter in the right time for swing trading, catching bottoms and tops.
Here are some of the features as of release:
Detects Market Structure and draws zig-zag lines and keeps note of pivot points.
Detects Order blocks and draws boxes when the conditions met
Detects the quassimodo levels and changes the color of the box to signal double confluence meaning stronger signal
Draws structure break lines
Setting to set structure break percentage before drawing boxes to get the boxes drawn if you want to be more 'sure' about the Order Block Levels.
Setting to change depth and backstep values for zigzags to be able to let you fit the system for different time frames.
Setting to set MSB trigger point between High and Low, Close and Open or hl2 values.
Setting to set Signal Triggering Range between Start, Middle and End meaning eg. if you set it to Middle it will wait for MSB trigger point to hit the middle of the box before giving you a signal.
Setting for changing HH-LL pivot points lookback count, 5 as default. Increasing this value will make you compare your pivot points with more data, really useful in lower time frames where will be a lot of zig-zags and highs and lows giving you a method to avoid false signals. Recommended to keep it lower values on 30 min and higher and increase it in lower Timeframes according to market volatility.
Setting to add a Box limit where the box of order block will be set invalid after certain candles and it still didn't trigger. Default value of 0 means it's disabled.
Setting to set Candle volatility percentage value to avoid big candles getting opposite signals on fast pump or dump schemes and bust those market makers schemes. Gotta say this came out really handy in crypto markets :)
As an end you can set alerts for 'Buy' , ' Sell ', ' Buy and Sell' together or if you wish you can connect it to bots via webhook as an entry. Although haven't connected to any bots myself as i think the best method of trading is human and machine working together. Since we have the creativity and out of the box thinking and machines have the ability to brute force calculation and huge bandwith that we don't currently have. At least until Elon Musk turns is into a cyborg, which i am not very eager about.
Planned Features:
- Add ability to detect imbalances(fair value gaps) to add third confluence to detect dragon fruit entries. This will make the system work with triple confluence.
- Add more settings so humans can command the ai better.
- Maybe a strategy version after i write my own dynamic take profit algorithm to give system ability make quantitative decisions based on current position profit levels.
- Although i think i fixed almost all the important bugs if there ever comes up one bugs will take priority for updates.
- And some things i may decide to add later. I will keep working on this project since it works well for me.
And like always, happy trading.
KISS BOT (Keep It Simple BOT)A very simple script that can be used for Futures and Options Trading - for stocks, crypto, forex etc.
The script includes usage of following public scripts:
1. Super Trend
2. Linear Regression
3. Exponential Moving Average
Concept, we are using three EMA, with source High, Low, and Close. We want to buy or sell when there is a crossover of third EMA (fastest) over first and second respectively.
E.g. the default values are EMA 13 High, EMA 13 Low and EMA 5 Close, we will get Buy signal when EMA 5 crosses over EMA 13 High and we will get Sell signal when EMA 5 crosses under EMA 13 Low.
Super Trend settings are made for Looking for Buy or Looking Sell, so that we focus on the trend. Trend is your friend.
Buy Trigger Line and Sell Trigger Line are just indication of using Trigger Line, buy is when EMA 5 crosses EMA 13 Low and Sell When EMA 5 Crosses EMA 13 High
The Tunnel or Band highlighted is the no trade zone for us and we do not want to trade side ways market.
Inside Bars are shown in Yellow, these candles do not qualify for any trade decision.
Outside Bars are shown in Pink, these candles do not qualify for any trade decision