TS - Trading Algorithm Strategy - Crypto, Forex & StocksWhat does the TS - Algorithm do?
-- Plots trend following, high probability signals.
-- These signals do not repaint and can be used confidently to enter or exit a trade.
What markets can this indicator be used on?
-- Forex
-- Stocks
-- Commodities
-- Cryptocurrencies
What time-frames can this indicator be used on?
-- This indicator can be used on 1m, 3m , 5m, 10m, 15m, 30m, 1hr, 2hr, 3hr, 4hr, 6hr, 8hr, 12hr, Daily, Weekly, Bi-Weekly and Monthly time-frames.
-- This is a trend following algorithm, so low as there is good volume , volatility and price history of an asset, the model can perform.
Does this indicator repaint?
-- No
Premium Tradespot Script - Trial access and Information
-- Trial access offered
-- PM me directly to request trial access to the scripts or for more information.
Bot
TS - Long Term Trading Algorithm - StrategyStrategy to the bespoke TS - Trading Algorithm. Highly profitable cryptocurrency trading model.
This script is long only profitable strategy- there is a script coming in the next few days for shorter timeframe long & short trading.
- Backtesting is from 2017.
- 0.05% commission
- 100% capital allocation per trade.
Access to both the backtesting strategy & indicator is paid - PM me for details.
TS - Trading Algorithm - StrategyStrategy to the bespoke TS - Trading Algorithm . Highly profitable cryptocurrency trading model.
Access to both the backtesting strategy & indicator is paid - PM me for details.
Indicator does not repaint and has no discretionary approach - you can follow blindly and take advantage of the performance.
TS - Trading AlgorithmWhat is it?
The Tradespot MA Algo is an all in one, profitable moving average based trading strategy that presents long and short opportunities.
This indicator does not repaint. Once a bar has closed, the signal will remain permanently printed onto the chart.
What can I do with it?
Use on the following markets:
COINBASE:BTCUSD
COINBASE:ETHUSD
COINBASE:ETHBTC
Timeframe: 1D
What does each signal mean?
Long label is a strong buy signal
Short label is a strong sell signal
X's indicate a warning telling you that you should possibly exit your position. You should review these signals alongside other indicators such as volatility.
Review X signals?
Yes, there are concrete buys and sells but the X's indicate possible exits that might also be fakeouts, we can created the perfect indicator set up to review these with our TS - Trend Confirmation indicator and our TS - Volatility Screener indicator
How do I get access?
Please contact me on TradingView for details.
TS - Trend ConfirmationWhat is it?
A simple ATR based indicator to be used in conjunction with your existing strategy. Allows you to play the trends with confidence whilst trading on smaller timeframes.
How do I get access?
Please contact me on TradingView for details.
Gekko DEMA StrategyThis script is based upon the Gekko trading strategy.
This strategy uses Exponential Moving Average crossovers to determine the current trend the market is in. Using this information it will suggest to ride the trend. Note that this is not MACD because it just checks whether the longEMA and shortEMA are % removed from each other.
* short is the short EMA that moves closer to the real market (including noise)
* long is the long EMA that lags behind the market more but is also more resistant to noise.
* the down threshold and the up threshold tell Gekko how big the difference in the lines needs to be for it to be considered a trend. If you set these to 0 each line cross would trigger new advice.
The base strategy has had money management logic added and has been tested for best results. Once you have access, you can modify these settings to find what works best for you.
Access to this strategy is FREE! Message me for more information on how to get access.
Gridbot visualizor and advisor V1.0This scripts visualizes the buy and sell levels as used by gridbots.
It also gives you some recommended settings if you want to use manual mode instead of AI mode, based on timeframe, target grid size etc.
The inputs should be pretty much self explanatory, if you have any questions feel free to drop me a message below.
Have fun, be healthy and profitable!
Jurgenvv ( aka CryptoJur)
This script uses some code or ideas from:
ck-3commas-GRID-bot-Visualisation by ChrisKaye.
How to make the status box to the right was learned from Daveatt his scripts.
Pump AlertsMy very first indicator in Pine Script with two alert conditions for trading bots.
It's based on " Pump Catcher " by @ joepegler
I modified some parts, hopefully improved the usability and enabled alerts, so you can use it to trigger bots like 3commas via webhooks.
Pump Alerts 🚀 attempts to "detect moments of abnormal and accelerating increase in volume" AKA "pumps". Small and big pumps.
I recommend using it on small timeframes like 1 to 15 min and tinkering with the lookback period as well as threshold values.
Other than that it's pretty self-explanatory and beginner-friendly.
Free and Open Source. Let me know how you use it!
[BT] - Manual TSSL [ALERTS] v1Manual TSSL - V1
Enter the market on your own, and use this script to alert you when to sell. I found myself many times in position but wanted a script to help automatically exit the market when I stepped away.
Directions
You must provide the timestamp and price in the settings. Adjust the TSSL settings, make sure you leave enough room so the market can breath. Once the price goes below the bottom TSSL red line, is when the alert will trigger. Added some labels to keep track of the buy/sell and when the bottom TSSL price moves up.
If you like this idea, but would like another indicator instead of TSSL, please feel free to message me directly.
Thanks for looking!
Ichimoku+P&F+Stoch+NoRange+HL+crossupThis is a highly advance trading strategy for high frequency trading on Bitmex, Binance Futures, ByBit and others. I'm using variations of this script to manage $500K institutional account! Forward tested results available for 1.5 years. This script uses combination of Ichimoku cloud on multi-timeframe. Uses Stochastic RSI indicator on multi-timeframe. Uses Point and Figure analysis. Used EMA crossup for longs
Currently looking for Beta Testers.
Instructions:
1. Each coin is unique so needs a lot of time to fine tune the parameters.
2. This parameters tuned only for Longs (inquire for Shorts)
3. This is only tuned for BTC but I have tuned parameters for all coins (inquire for help)
Settings:
1. Chart timeframe: 3
2. P&F timeframe: 1
3. Ichimoku timeframe: 15
5. Stochastic timeframe: 15
Current exchange integration: Bitmex, Binance Futures, Bybit... More will be added soon.
Easy Loot Trailing Stop Bot - (PSAR) StrategyHello World,
Today I am bringing you a Parabolic Stop and Reverse Strategy that uses a 5% trailing stop loss.
Tested the strategy on the 1D timeframe of Bitcoin from the time period starting from 2018 onwards.
As you may know the price in the start of 2018 for Bitcoin was around $11,000 meaning if you bought and HODL'd since then you'd be down a good %, as current price is $8650.
Below is the strategy testing results, up 844% profits in the last two years.
Easy Loot Members Only, contact me if you'd like access to the strategy.
Parabolic Stop and Reverse (PSAR) Strategy
Parabolic SAR is a time and price technical analysis tool primarily used to identify points of potential stops and reverses. In fact, the SAR in Parabolic SAR stands for "Stop and Reverse". The indicator's calculations create a parabola which is located below price during a Bullish Trend and above Price during a Bearish Trend.
Trailing Stop Loss
A trailing stop-loss order is a special type of trade order where the stop-loss price is not set at a single, absolute dollar amount, but instead is set at a certain percentage or a certain dollar amount below the market price.
[BT] - ScalpMaster [ALERTS] v1Go easy on this script as it's my first, hopefully more to come!
ScalpMaster - V1
It's main feature is catch a bull run for volatile markets. Two main selling triggers (CCI and TSSL) with an option to only sell after fees are met (for profit).
Built in Statistics and Back-testing
I've introduced my own version of backtesting built into the main script. You can disable it if it's too much, just makes it easier to dial the settings in and compare with alert triggering. I've included this on all of my scripts.
***You will get a warning that this script repaints, however you can easily compare alerts against the labels. I'm not entirely sure, but I believe the repainting is due to the Global Stats Label at the end gets repainted to keep in the front. ***
Directions
Buy: When dialing in the script, watch the purple line above the source, when the current price crosses above this purple line then the buying trigger sets.
Sell: TSSL - Trailing Stop / Stop Limit, use available settings to manipulate behavior. It's meant to trail the bull run and sell once the price crosses the bottom tssl bar
Sell: CCI - Modify the FastMA and SlowMA settings
Sell: P+ - Above won't trigger until you are in the positive after the fees x2 are met. Great to keep your losses minimal. Combine this with a high Stop Loss for great results but might be waiting awhile for a profit.
[astropark] ALGO Trading V3 [alarms]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on many timeframes (from 1h and above is suggested), just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V1" or "ALGO Trading V2" , but a twin sister of them.
For your reference, here it is the "ALGO Trading V1" indicator
and here the "ALGO Trading V2"
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option , which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
This script will let you set all notifications you may need in order to be alerted on each triggered signals.
The one for backtesting purpose can be found by searching for the astropark's "ALGO Trading V3" and then choosing the indicator with "strategy" suffix in the name, or you can find here below
Strategy results are calculated on the time window from 1995 to now, so on more than 15 years, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart and timeframe you may like to test and/or trade. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] ALGO Trading V3 [strategy]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on many timeframes (from 1h and above is suggested), just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V1" or "ALGO Trading V2" , but a twin sister of them.
For your reference, here it is the "ALGO Trading V1" indicator
and here the "ALGO Trading V2"
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option , which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator (just search for astropark's "ALGO Trading V3" indicator and choose the one with "alarms" suffix).
Strategy results are calculated on the time window from 1995 to now, so on more than 15 years, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart and timeframe you may like to test and/or trade. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] ALGO Trading V2 [alarms]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on many timeframes (ones between 1h and 1D are suggested, but just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V1" or "ALGO Trading V3" , but a twin sister of them. Search them on TradingView to know them better.
Here you can find ALGO Trading V1
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option , which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
This script will let you set all notifications you may need in order to be alerted on each triggered signals.
The one for backtesting purpose can be found by searching for the astropark's "ALGO Trading V2" and then choosing the indicator with "strategy" suffix in the name, or you can find here below
Strategy results are calculated on the time window from January 2018 to now, so on more than 2 years, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] ALGO Trading V2 [strategy]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on many timeframes (ones between 1h and 1D are suggested, but just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V1" or "ALGO Trading V3" , but a twin sister of them. Search them on TradingView to know them better.
Here you can find ALGO Trading V1
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option , which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator (just search for astropark's "ALGO Trading V2" indicator and choose the one with "alarms" suffix).
Strategy results are calculated on the time window from January 2019 to now, so on more than 1 year, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart and timeframe you may like to test and/or trade. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] ALGO Trading V1 [alarms]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on Low Timeframes (1h is suggested) but also on even lower ones (till 15m) and on higher ones (no further than 1D), just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V2" or "ALGO Trading V3" , but a twin sister of them. Search them on TradingView to know them better.
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option , which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
This script will let you set all notifications you may need in order to be alerted on each triggered signals.
The one for backtesting purpose can be found by searching for the astropark's "ALGO Trading V1" and then choosing the indicator with "strategy" suffix in the name, or you can find here below
Strategy results are calculated on the time window from January 2019 to now, so on more than 1 year, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] ALGO Trading V1 [strategy]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on Low Timeframes (1h is suggested) but also on even lower ones (till 15m) and on higher ones (no further than 1D), just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V2" or "ALGO Trading V3" , but a twin sister of them. Search them on TradingView to know them better.
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option, which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator (just search for astropark's "ALGO Trading V1" indicator and choose the one with "alarms" suffix).
Strategy results are calculated on the time window from January 2019 to now, so on more than 1 year, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart and timeframe you may like to test and/or trade. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
This is a premium indicator , so send me a private message in order to get access to this script.
hamster-bot CCI_PSARTrending strategy using indicators:
Commodity Channel Index (CCI) www.tradingview.com(CCI)
Parabolic SAR (SAR) www.tradingview.com(SAR)
The trend is determined by PSAR indicator on the higher timeframe.
Signals of buy/sell by CCI indicator
NiLUX Trend Scalper TSSL (Alerts)Trend Following Scalping Bot
Great results on pretty much any pair and timeframe
Features:
Dynamic Trend Detection
Long / Short Scalp Alerts
Take Profit (Trailing Stop) & Stop Loss Alerts
TP/SL Plots for Profitview included
This is Donationware 🍺
Leave me a tip, you decide the amount, then send me a DM to get access.
The link to my tip jar is below in the signature
HatiKO EnvelopesPublished source code is subject to the terms of the GNU Affero General Public License v3.0
This script describes and provides backtesting functionality to internal strategy of algorithmic crypto trading software "HatiKO bot".
Suitable for backtesting any Cryptocurrency Pair on any Exchange/Platform, any Timeframe.
Core Mechanics of this strategy are based on theory of price always returning to Moving Average + Envelopes indicator (Moving_average_envelope from Wiki)
Developement of this script and trading software is inspired by:
"Essential Technical Analysis: Tools and Techniques to Spot Market Trends" by Leigh Stevens (published on 12th of April 2002)
"Moving Average Envelopes" by ChartSchool, StockCharts platform (published on 13th of April 2015 or earlier)
"Коля Колеснік" from Crypto Times channel ("Метод сетка", published on 19th of August 2018)
"3 ways to use Moving Average Envelopes" by Rich Fitton, published on Trader's Nest (published on 28st of November 2018 or earlier)
noro's "Robot WhiteBox ShiftMA" strategy v1 script, published on TradingView platform (published on 29th of August 2018)
"Moving Average Envelopes: A Popular Trading Tool" Investopedia article (published 25th of June 2019)
and KROOL1980's blogpost on Argolabs ("Гридерство или Сетка как источник прибыли на форекс", published on 27th of February 2015)
Core Features:
1) Up to 4 Envelopes in each direction (Long/Short)
2) Use any of 6 different basis MAs, optionally use different MAs for Opening and Closure
3) Use different Timeframes for MA calculation, without any repainting and lookahead bias.
4) Fixed order size, not Martingale strategy
5) Close open position earlier by using Deviation parameter
6) PineScript v4 code
Options description:
Lot - % from your initial balance to use for order size calculation
Timeframe Short - Timeframe to use for Short Opening MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Short - Type of MA to use for Short Opening MA calculation, can be chosen from dropdown list, default is SMA
Data Short - Source of Price for Short Opening MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Short - Period used for Short Opening MA calculation, should be >=1, default is 3
MA offset Short - Offset for MA value used for Short Envelopes calculation, should be >= 0, default is 0
Timeframe Long - Timeframe to use for Long Opening MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Long - Type of MA to use for Long Opening MA calculation, can be chosen from dropdown list, default is SMA
Data Long - Source of Price for Long Opening MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Long - Period used for Long Opening MA calculation, should be >=1, default is 3
MA offset Long - Offset for MA value used for Long Envelopes calculation, should be >= 0, default is 0
Mode close MA Short - Enable different MA for Short position Closure, default is "false". If false, Closure MA = Opening MA
Timeframe Short Close - Timeframe to use for Short Position Closure MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Close Short - Type of MA to use for Short Position Closure MA calculation, can be chosen from dropdown list, default is SMA
Data Short Close - Source of Price for Short Closure MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Short Close - Period used for Short Opening MA calculation, should be >=1, default is 3
Short Deviation - % to move from MA value, used to close position above or beyond MA, can be negative, default is 0
MA offset Short Close - Offset for MA value used for Short Position Closure calculation, should be >= 0, default is 0
Mode close MA Long - Enable different MA for Long position Closure, default is "false". If false, Closure MA = Opening MA
Timeframe Long Close - Timeframe to use for Long Position Closure MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Close Long - Type of MA to use for Long Position Closure MA calculation, can be chosen from dropdown list, default is SMA
Data Long Close - Source of Price for Long Closure MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Long Close - Period used for Long Opening MA calculation, should be >=1, default is 3
Long Deviation - % to move from MA value, used to close position above or beyond MA, can be negative, default is 0
MA offset Long Close - Offset for MA value used for Long Position Closure calculation, should be >= 0, default is 0
Short Shift 1..4 - % from MA value to put Envelopes at, for Shorts numbers should be positive, the higher is number, the higher should be Shift position, example: "Shift 1 = 1, shift 2 = 2, etc."
Long Shift 1..4 - % from MA value to put Envelopes at, for Longs numbers should be negative, the lower is number, the lower should be Shift position, example: "Shift 1 = -1, shift 2 = -2, etc."
From Year 20XX - Backtesting Starting Year number, only 20xx supported as script is cryptocurrency-oriented.
To Year 20XX - Backtesting Final Year number, only 20xx supported as script is cryptocurrency-oriented.
From Month - Years starting Month, optional tweaking, changing not recommended
To Month - Years ending Month, optional tweaking, changing not recommended
From day - Months starting day, optional tweaking, changing not recommended
To day - Months ending day, optional tweaking, changing not recommended
Graph notes:
Green lines - Long Envelopes.
Red lines - Short Envelopes.
Orange line - MA for closing of Short positions.
Lime line - MA for closing of Long positions.
**************************************************************************************************************************************************************************************************************
Опубликованный исходный код регулируется Условиями Стандартной Общественной Лицензии GNU Affero v3.0
Этот скрипт описывает и предоставляет функции бектеста для внутренней стратегии алгоритмического программного обеспечения "HatiKO bot".
Подходит для тестирования любой криптовалютной пары на любой бирже/платформе, на любом таймфрейме.
Кор-механика этой стратегии основана на теории всегда возвращающейся к значению МА цены с использованием индикатора Envelopes (Moving_average_envelope from Wiki)
Разработка этого скрипта и программного обеспечения для торговли вдохновлена следующими источниками:
Книга "Essential Technical Analysis: Tools and Techniques to Spot Market Trends" Ли Стивенса (опубликовано 12 апреля 2002 года)
«Moving Average Envelopes» от ChartSchool, платформа StockCharts (опубликовано 13 апреля 2015 года или раньше)
«Коля Колеснік» с канала Crypto Times («Метод сетка», опубликовано 19 августа 2018 года)
«3 ways to use Moving Average Envelopes» Рича Фиттона, опубликованные в «Trader's Nest» (опубликовано 28 ноября 2018 года или раньше)
Скрипт стратегии noro "Robot WhiteBox ShiftMA" v1, опубликованный на платформе TradingView(опубликовано 29 августа 2018 года)
«Moving Average Envelopes: A Popular Trading Tool», статья Investopedia (опубликовано 25 июня 2019 года)
Блог KROOL1980 из Argolabs («Гридерство или Сетка как источник прибыли на форекс», опубликовано 27 февраля 2015 года)
Основные особенности:
1) До 4-х Ордеров в каждом из направлении (Лонг / Шорт)
2) Выбор из 6-ти разных базовых МА, опционально используйте разные МА для открытия и закрытия.
3) Используйте разные таймфреймы для расчета MA, без перерисовки и "эффекта стеклянного шара".
4) Фиксированный размер ордера, а не стратегия Мартингейла
5) Возможность закрытия открытой позиции заблаговременно, используя параметр Deviation
6) Код реализован на PineScript v4
Описание параметров:
Lot - % от вашего первоначального баланса, используется при расчете размера Ордера
Timeframe Short - таймфрейм, используемый для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Short - тип MA, используемый для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию SMA
Data Short - источник цены для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Short - период, используемый для расчета МА Открытия Шорт позиций, должен быть >= 1, по умолчанию 3
MA Offset Short - смещение значения MA, используемого для расчета Шорт Ордеров, должно быть >= 0, по умолчанию 0
Timeframe Long - таймфрейм, используемый для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Long - тип MA, используемый для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию SMA
Data Long - источник цены для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Long - период, используемый для расчета МА Открытия Лонг позиций, должен быть >= 1, по умолчанию 3
MA Offset Long - смещение значения MA, используемого для расчета Лонг Ордеров, должно быть >= 0, по умолчанию 0
Mode close MA Short - Включает отдельное MA для закрытия Шорт позиции, по умолчанию «false». Если false, MA Закрытия = MA Открытия
Timeframe Short Close - таймфрейм, используемый для расчета МА Закрытия Шорт позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Close Short - тип MA, используемый при расчете МА Закрытия Шорт позиции. Mожно выбрать из списка, по умолчанию SMA
Data Short Close - источник цены для расчета МА Закрытия Шорт позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Short Close - период, используемый для расчета МА Закрытия Шорт позиции, должен быть >= 1, по умолчанию 3
Short Deviation - % отклонения от значения MA, используется для закрытия позиции выше или ниже рассчитанного значения MA, может быть отрицательным, по умолчанию 0
MA Offset Short Close - смещение значения MA, используемого для расчета закрытия Шорт позиции, должно быть >= 0, по умолчанию 0
Mode close MA Long - Включает разные MA для закрытия Лонг позиции, по умолчанию «false». Если false, MA Закрытия = MA Открытия
Timeframe Long Close - таймфрейм, используемый для расчета МА Закрытия Лонг позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Close Long - тип MA, используемый при расчете МА Закрытия Лонг позиции. Mожно выбрать из списка, по умолчанию SMA
Data Long Close - источник цены для расчета МА Закрытия Лонг позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Long Close - период, используемый для расчета МА Закрытия Лонг позиции, должен быть >= 1, по умолчанию 3
Long Deviation -% для перехода от значения MA, используется для закрытия позиции выше или ниже рассчитанного значения MA, может быть отрицательным, по умолчанию 0
MA Offset Long Close - смещение значения MA, используемого для расчета закрытия Лонг позиции, должно быть >= 0, по умолчанию 0
Short Shift 1..4 - % от значения MA для размещения Ордеров, для Шорт Ордеров должен быть положительным, чем выше номер, тем выше должна располагаться позиция Shift, например: «Shift 1 = 1, Shift 2 = 2 и т.д. "
Long Shift 1..4 - % от значения MA для размещения Ордеров, для Лонг Ордеров должно быть отрицательным, чем ниже число, тем ниже должна располагаться позиция Shift, например: «Shift 1 = -1, Shift 2 = -2, и т.д."
From Year 20XX - Год начала тестирования, из-за ориентированности на криптовалюты поддерживаются только значения формата 20хх.
To Year 20XX - Год окончания тестирования, из-за ориентированности на криптовалюты поддерживаются только значения формата 20хх.
From Month - Начальный месяц, опционально, менять не рекомендуется
To Month - Конечный месяц, опционально, менять не рекомендуется
From day - Начальный день месяца, опционально, менять не рекомендуется
To day - Конечный день месяца, опционально, менять не рекомендуется
Пояснения к графику:
Зеленые линии - Лонг Ордера.
Красные линии - Шорт Ордера.
Оранжевая линия - MA Закрытия Шорт позиций.
Лаймовая линия - MA Закрытия Лонг позиций.
Madmex Trading Suite + FiltersA goodie for my trading groups and friends. A suite of different MAs with Filters with multiple Long/Short Alerts, works as well for pyramiding.
Using fixed TP/SL is advised. I might add TP/SL Alerts later on...
Good luck!
Feedback is appreciated!
[B] hamster-bot ZZ Breakout reversal strategyAttention! This is a beta version of the strategy script >> <<
A backtest should only be done if you understand how the options work. Otherwise, do a test in the release version