Scot Signal IndicatorThe Scot Signal Indicator is intended as a Scalping Resource. It was designed to work best on the ❗❗ 5 MINUTE CHART with Bitcoin ❗❗ / USD & USDT pairs.
🟡🔼🔽 Yellow Triangles : these are pre-signals. If the triangle is Pointing Down, then look for a possible Short to come, and vice-versa for Upward facing triangles will go Long.
* Be careful, this is a Canary in the Coal Mine, but not the full signal. Going purely on the triangle as a signal could lead to fake-outs more frequently.
🟩 🟥 Green & Red Boxes : these are "Long" & "Short" signals where the indicator feels the time is safe to enter a trade.
❗ EXITING THE TRADE ❗ : this is a scalping indicator, specifically meant for entering trades, NOT EXITING them. An ideal scalp is $100 - $200 Bitcoin move. Though, we run bots using this indicator, taking scalps as little
as $60, performing up to 8 trades a day.
Bot
MZ HTF HFT ROCit Bot - Non Repainting Scalper v1.2 ADX RSI MOM This is a new iteration based on my Momentum trading bot.
This is an original script meant to be a high frequency trader that works on higher time frame calculations.
I came up with the idea that using calculus I can figure out the actual rate of change and momentum with different calculations than the momentum indicator that is provided by trading view. Once momentum is shifted on a small time frame, it will provide an entry signal. The script is meant to be used on an algorithmic trading system for scalping purposes. It should be run on a one minute time frame. Unfortunately due to various plotting constraints in Pinescript, you cannot plot the rate of change and momentum and price in the same pane. To counter this, I have a showdata toggle to give you values of the indicators at each entry.
This version has two main entry settings toggled with a checkbox. There is the ROC (rate of change) version and the MOM (momentum) entry signals.
The rate of change version is meant to take a look at your moving average and try to trigger when it hits a certain rate of change point. This can be helpful if you rather play it safer. I have noticed that you can get slightly better entry points but also does not give you as many entries. The momentum algorithm will give you faster entry points and might work best with a slight offset (use your back test to help you figure it out).
I have started to add tooltips to help you along. If you have suggestions please let me know.
How does it work?
Let's just assume that you are looking at a one minute chart. I recommend using the one minute for bots because it will give you the fastest execution for entries. Pinescript has an issue where the signal is not usually sent until the end of the bar/beginning of next bar. If the signal was triggered at the beginning of a 15 minute bar, it might not actually send the signal until the following 15 minute bar. If you are trading on small time frames, this can make all the difference. If you are using an algo platform that trailing stops, stop losse, take profits, etc. I would recommend you use that platform to close your trade. The close trade message will work, but pinescript does not know the exact entry price you received, so if you are trying to collect small profits, it is best that intermediary platform does that calculation for you. If you are dealing with larger moves, instead of small 1-3% scalps, you are probably fine to use the close message setting from pinescript.
Ok, so to take an example. I like to use the 3L and 3S tokens on Kucoin. This gives you a lot of volatility to work with compared to other tokens and coins. However, it can also meas that you are likely taking a higher risk. However, there are some things that can help with that (more on that later).
So we have a token we want to run, and have it on the 1m chart.
First, be sure that all of your filters are OFF when you start playing with the back test. This allows you to see how to best optimize the bot.
Use the show data to show you additional data when you are backtesting. This can allow you to try to filter out results or market conditions that do not work. I typically work with the RSI and use the 30 minute and 15 minute RSIs. I make sure that it is trading within a certain band - about 40-75. You can try the inverse and only buy during really low RSI's as well.
www.dropbox.com
Find the source of your data with the variant drop down. You can use any time frame, open, close. high, low, olc4. Open is pretty much guaranteed to not have any repainting issues - although all the other calcs use a custom isbarconfirmed security repaint calculation. I have been finding that Open and SMA work well, but feel free to explore. If you use a source like open, close, high, low, etc - the interval will not change anything further. If you use a variant such as an sma, you should try to find an interval that works well for that token. For instance, try an sma of 8-11 minutes and see which gives you the best backtest result without changing anything else. Offset ALMA/LSMA parameters are only used for those specific variants. These specific parameters will also affect the ALMA and LSMA if you use that variant in the trend filter. In other words, you can skip these if you are not using those types of moving averages.
www.dropbox.com
Configure the ROC and MOM intervals. If you are using a source such as open, close, etc- this is where you set the interval for your change. So consider using OHLC4 or a interval of 5 thru 15 and see what works best. The Momentum inverval usually works best in the 2-5 bars. There is a custom calculation I added in to try to filter out false entries as momentum is waning. This calculation works best in 2-5 bar interval.
Configure the trigger point and offset. If you are using rate of change, the best settings will likely be between -1 to 0.5. If you are using momentum, you will likely want -20 to 10. This is where you will notice the entries will shift a bit. Try to find a balance between your backtest settings and actually finding what you thin will be the best entries based on a slight delay from trading view, to algo, to your trading platform. This can likely be a minute (maybe even) or so- so be sure to not get too caught up between the backtest results and be sure to finesse the entries to actually fit nicely - maybe a bar earlier than you would likely think. If your entries are coming in too early, you can use the offset to delay your entry by a few bars. This is both science and an art form- don't get too caught up on the back test results as that is based on having all the data tha already transpired, it's not based on how it will actually perform during deployment.
Take profit and stop loss. This should be self explanatory. This script can toggle between static take profit and a trailing profit. For scalping, you will likely want to limit it below 2% to get a good win ratio. Stop loss should be at least 5-6% for these types of 3L/3S tokens to give the strategy some room to move (if the token goes down 2% before it shoots back up, the price will go down 6%). This does not yield the best R/R ratio from a traditional trader perspective, but the statistical probabilities are in your favor for these events will happen. If you have better ideas for how to set this all up, feel free to contribute your ideas in the comments as we can all learn from each other. You can definitely set a much tighter stop loss with a larger take profit to get a lower win rate but in turn might get much better returns. It's all up to you.
FILTERS www.dropbox.com
These filters require you to know a bit about each indicator and how you want to use them. I will only go over the general idea.
Variant Filter - this is especially useful if you want to trade above a moving average. Say for instance you only want to take trades when we are over the 100 Day moving average. Or above a 30 minute, 30 bar EMA, etc. Although originally ported over from my other scripts, this is not a filter that I use often in conjunction with this script.
RSI - perhaps you want to buy when we are below the 30 line on the 30 minute RSI, or we want only want to have the strategy work when we are above the 50 RSI, this can all be configured here. I typically like to try a few different rationales here.
Now with brand NEW ADX filter - this is a brand new idea that seems to work rather well. Based on your ADX settings you can also turn on the "only uptrend" which will try to calculate if you are in an uptrend based on your ADX config. Please keep in mind that uptrend is based relatively on the ADX settings.
- There is a sprinkle of RSI magic in the entry signal to make sure that rsi is not declining in the calculation, so this can affect how many entries you get.
Some other tips:
Forward test.
Set up your algo bot on a one minute interval.
Set up take profit and stop loss on your algo trading platform.
Don't use the exact settings as your backtest, maybe try a slightly more conservative approach from the algo trading platform to make sure you are within range of triggering your events with a slight delay from signal to execution. If you have a 1.6% take profit, perhaps try 1.5% on your platform first.
By using these scripts you agree that you are trading at your own risk. I make no guarantees of returns or results. I just provide tools to help you trade better. However, I hope this ROCit will take you to the moon. And if it does, be sure to give me a shout as well as some tips of your own.
Send me a message with any questions or suggestions.
MZ Momentum Non Repainting HTF HFT Scalper BotThis is an original script meant to be a high frequency trader that works on higher time frame calculations. I came up with the idea that using calculus I can figure out the actual rate of change and momentum with different calculations than the momentum indicator that is provided by trading view. Once momentum is shifted on a small time frame, it will provide an entry signal. The script is meant to be used on an algorithmic trading system for scalping purposes. It should be run on a one minute time frame.
Set it up on a one minute chart - setup your bot on a one minute interval.
Find the source of your data. You can use any time frame, open, close. high, low, olc4. Open is pretty much guaranteed to not have any repainting issues - although all the other calcs use a custom isbarconfirmed security repaint calculation.
Set your rate of change period - typically I use a one minute time frame for this as well - but set my length fairly long (30-40).
Then set your period for momentum calculation. This will sample the rate of change data to figure out your momentum. I typically try a setting of 6-8. If that doesn't work, try setting it about the same as the rate of change period and add or subtract a few from there.
Unfortunately due to various plotting constraints in Pinescript, you cannot plot the rate of change and momentum and price in the same.
Set your trigger point. I try values -30, -20, -10, 0, 1. Then finesse to get an earlier entry signal. You should account for a slight delay from the signal to the actual entry. Your backtest should test well, but please note that does not gaurantee results. In my findings, I have seen that there is a slight minimal delay between signal to entry and that can make the difference whether your trade is profitable or not.
Use the show data to show you additional data when you are backtesting. This can allow you to try to filter out results or market conditions that do not work. I typically work with the RSI and use the 30 minute and 15 minute RSIs. I make sure that it is trading within a certain band - about 40-75. You can try the inverse and only buy during really low RSI's as well.
Use the enter and close messages to setup your webhook messages. But I recommend to allow the algo trading platform to close the trade for you based on their calcs since that platform knows the actual price level and when it has become profitable.
Filters have been setup for
Moving Average Variants - any time frame, any length.
RSI - Any time frame, any length,
Future Plans: ATR Filter so you can filter out low volatility periods.
Send me a message with any suggestions.
WinR Bot LONG {rezamehrjoo}Hi, this technical indicator is the best indicator for connecting to interface platforms.
One of the advantages of this indicator is that with just one web hook, you can get a large number of signals and close all trades in profit with Martingle strategy without stop loss.
WinR Bot SHORT {rezamehrjoo}Hi, this technical indicator is the best indicator for connecting to interface platforms.
One of the advantages of this indicator is that with just one web hook, you can get a large number of signals and close all trades in profit with Martingle strategy without stop loss.
Bjorgum Double Tap█ OVERVIEW
Double Tap is a pattern recognition script aimed at detecting Double Tops and Double Bottoms. Double Tap can be applied to the broker emulator to observe historical results, run as a trading bot for live trade alerts in real time with entry signals, take profit, and stop orders, or to simply detect patterns.
█ CONCEPTS
How Is A Pattern Defined?
Doubles are technical formations that are both reversal patterns and breakout patterns. These formations typically have a distinctive “M” or a “W” shape with price action breaking beyond the neckline formed by the center of the pattern. They can be recognized when a pivot fails to break when tested for a second time and the retracement that follows breaks beyond the key level opposite. This can trap entrants that were playing in the direction of the prior trend. Entries are made on the breakout with a target projected beyond the neckline equal to the height of the pattern.
Pattern Recognition
Patterns are recognized through the use of zig-zag; a method of filtering price action by connecting swing highs and lows in an alternating fashion to establish trend, support and resistance, or derive shapes from price action. The script looks for the highest or lowest point in a given number of bars and updates a list with the values as they form. If the levels are exceeded, the values are updated. If the direction changes and a new significant point is made, a new point is added to the list and the process starts again. Meanwhile, we scan the list of values looking for the distinctive shape to form as previously described.
█ STRATEGY RESULTS
Back Testing
Historical back testing is the most common method to test a strategy due in part to the general ease of gathering quick results. The underlying theory is that any strategy that worked well in the past is likely to work well in the future, and conversely, any strategy that performed poorly in the past is likely to perform poorly in the future. It is easy to poke holes in this theory, however, as for one to accept it as gospel, one would have to assume that future results will match what has come to pass. The randomness of markets may see to it otherwise, so it is important to scrutinize results. Some commonly used methods are to compare to other markets or benchmarks, perform statistical analysis on the results over many iterations and on differing datasets, walk-forward testing, out-of-sample analysis, or a variety of other techniques. There are many ways to interpret the results, so it is important to do research and gain knowledge in the field prior to taking meaningful conclusions from them.
👉 In short, it would be naive to place trust in one good backtest and expect positive results to continue. For this reason, results have been omitted from this publication.
Repainting
Repainting is simply the difference in behaviour of a strategy in real time vs the results calculated on the historical dataset. The strategy, by default, will wait for confirmed signals and is thus designed to not repaint. Waiting for bar close for entires aligns results in the real time data feed to those calculated on historical bars, which contain far less data. By doing this we align the behaviour of the strategy on the 2 data types, which brings significance to the calculated results. To override this behaviour and introduce repainting one can select "Recalculate on every tick" from the properties tab. It is important to note that by doing this alerts may not align with results seen in the strategy tester when the chart is reloaded, and thus to do so is to forgo backtesting and restricts a strategy to forward testing only.
👉 It is possible to use this script as an indicator as opposed to a full strategy by disabling "Use Strategy" in the "Inputs" tab. Basic alerts for detection will be sent when patterns are detected as opposed to complex order syntax. For alerts mid-bar enable "Recalculate on every tick" , and for confirmed signals ensure it is disabled.
█ EXIT ORDERS
Limit and Stop Orders
By default, the strategy will place a stop loss at the invalidation point of the pattern. This point is beyond the pattern high in the case of Double Tops, or beneath the pattern low in the case of Double Bottoms. The target or take profit point is an equal-legs measurement, or 100% of the pattern height in the direction of the pattern bias. Both the stop and the limit level can be adjusted from the user menu as a percentage of the pattern height.
Trailing Stops
Optional from the menu is the implementation of an ATR based trailing stop. The trailing stop is designed to begin when the target projection is reached. From there, the script looks back a user-defined number of bars for the highest or lowest point +/- the ATR value. For tighter stops the user can look back a lesser number of bars, or decrease the ATR multiple. When using either Alertatron or Trading Connector, each change in the trail value will trigger an alert to update the stop order on the exchange to reflect the new trail price. This reduces latency and slippage that can occur when relying on alerts only as real exchange orders fill faster and remain in place in the event of a disruption in communication between your strategy and the exchange, which ensures a higher level of safety.
👉 It is important to note that in the case the trailing stop is enabled, limit orders are excluded from the exit criteria. Rather, the point in time that the limit value is exceeded is the point that the trail begins. As such, this method will exit by stop loss only.
█ ALERTS
Five Built-in 3rd Party Destinations
The following are five options for delivering alerts from Double Tap to live trade execution via third party API solutions or chat bots to share your trades on social media. These destinations can be selected from the input menu and alert syntax will automatically configure in alerts appropriately to manage trades.
Custom JSON
JSON, or JavaScript Object Notation, is a readable format for structuring data. It is used primarily to transmit data between a server and a web application. In regards to this script, this may be a custom intermediary web application designed to catch alerts and interface with an exchange API. The JSON message is a trade map for an application to read equipped with where its been, where its going, targets, stops, quantity; a full diagnostic of the current state and its previous state. A web application could be configured to follow the messages sent in this format and conduct trades in sync with alerts running on the TV server.
Below is an example of a rendered JSON alert:
{
"passphrase": "1234",
"time": "2022-05-01T17:50:05Z",
"ticker": "ETHUSDTPERP",
"plot": {
"stop_price": 2600.15,
"limit_price": 3100.45
},
"strategy": {
"position_size": 0.1,
"order_action": "buy",
"market_position": "long",
"market_position_size": 0,
"prev_market_position": "flat",
"prev_market_position_size": 0
}
}
Trading Connector
Trading Connector is a third party fully autonomous Chrome extension designed to catch alert webhooks from TradingView and interface with MT4/MT5 to execute live trades from your machine. Alerts to Trading Connector are simple; just select the destination from the input drop down menu, set your ticker in the "TC Ticker" box in the "Alert Strings" section and enter your URL in the alert window when configuring your alert.
Alertatron
Alertatron is an automated algo platform for cryptocurrency trading that is designed to automate your trading strategies. Although the platform is currently restricted to crypto, it offers a versatile interface with high flexibility syntax for complex market orders and conditions. To direct alerts to Alertatron, select the platform from the 3rd party drop down, configure your API key in the ”Alertatron Key” box and add your URL in the alert message box when making alerts.
3 Commas
3 Commas is an easy and quick to use click-and-go third party crypto API solution. Alerts are simple without overly complex syntax. Messages are simply pasted into alerts and executed as alerts are triggered. There are 4 boxes at the bottom of the "Inputs" tab where the appropriate messages to be placed. These messages can be copied from 3 Commas after the bots are set up and pasted directly into the settings menu. Remember to select 3 Commas as a destination from the third party drop down and place the appropriate URL in the alert message window.
Discord
Some may wish to share their trades with their friends in a Discord chat via webhook chat bot. Messages are configured to notify of the pattern type with targets and stop values. A bot can be configured through the integration menu in a Discord chat to which you have appropriate access. Select Discord from the 3rd party drop down menu and place your chat bot URL in the alert message window when configuring alerts.
👉 For further information regarding alert setup, refer to the platform specific instructions given by the chosen third party provider.
█ IMPORTANT NOTES
Setting Alerts
For alert messages to be properly delivered on order fills it is necessary to place the following placeholder in the alert message box when creating an alert.
{{strategy.order.alert_message}}
This placeholder will auto-populate the alert message with the appropriate syntax that is designated for the 3rd party selected in the user menu.
Order Sizing and Commissions
The values that are sent in alert messages are populated from live metrics calculated by the strategy. This means that the actual values in the "Properties" tab are used and must be set by the user. The initial capital, order size, commission, etc. are all used in the calculations, so it is important to set these prior to executing live trades. Be sure to set the commission to the values used by the exchange as well.
👉 It is important to understand that the calculations on the account size take place from the beginning of the price history of the strategy. This means that if historical results have inflated or depleted the account size from the beginning of trade history until now, the values sent in alerts will reflect the calculated size based on the inputs in the "Properties" tab. To start fresh, the user must set the date in the "Inputs" tab to the current date as to remove trades from the trade history. Failure to follow this instruction can result in an unexpected order size being sent in the alert.
█ FOR PINECODERS
• With the recent introduction of matrices in Pine, the script utilizes a matrix to track pivot points with the bars they occurred on, while tracking if that pivot has been traded against to prevent duplicate detections after a trade is exited.
• Alert messages are populated with placeholders ; capability that previously was only possible in alertcondition() , but has recently been extended to `strategy.*()` functions for use in the `alert_message` argument. This allows delivery of live trade values to populate in strategy alert messages.
• New arguments have been added to strategy.exit() , which allow differentiated messages to be sent based on whether the exit occurred at the stop or the limit. The new arguments used in this script are `alert_profit` and `alert_loss` to send messages to Discord
Sig30MALICEHello everyone
Bot is optimalized BINANCE:ALICEUSDTPERP BOT, which select leverage betwen 2x and 4x
TimeFrame : 30min
TP : 80 point
SL : 120 point
the bot works as follows:
the way he opens a position consists of two conditions
1) Moving average (crossovers)
2) RSI
Backtesting is set for counting as 13 contrat, this bot can get more with 50% of equity.
I think this is really solid 30min bot, which is already really important to make something solid on 30min
However keep in mind this is scalper and optimalization scalpers are really hard and have to be set from time to time
This bot is also great for other optimalizations .
.
.
.
.
.
.
Enjoy
Customizable Non-Repainting HTF MACD MFI Scalper Bot StrategyThis script was originally shared by Wunderbit as a free open source script for the community to work with.
WHAT THIS SCRIPT DOES:
It is intended for use on an algorithmic bot trading platform but can be used for scalping and manual trading.
This strategy is based on the trend-following momentum indicator . It includes the Money Flow index as an additional point for entry.
HOW IT DOES IT:
It uses a combination of MACD and MFI indicators to create entry signals. Parameters for each indicator have been surfaced for user configurability.
Take profits are fixed, but stop loss uses ATR configuration to minimize losses and close profitably.
HOW IS MY VERSION ORIGINAL:
I started trying to deploy this script myself in my algorithmic trading but ran into some issues which I have tried to address in this version.
Delayed Signals : The script has been refactored to use a time frame drop down. The higher time frame can be run on a faster chart (recommended on one minute chart for fastest signal confirmation and relay to algotrading platform.)
Repainting Issues : All indicators have been recoded to use the security function that checks to see if the current calculation is in realtime, if it is, then it uses the previous bar for calculation. If you are still experiencing repainting issues based on intended (or non intended use), please provide a report with screenshot and explanation so I can try to address.
Filtering : I have added to additional filters an ABOVE EMA Filter and a BELOW RSI Filter (both can be turned on and off)
Customizable Long and Close Messages : This allows someone to use the script for algorithmic trading without having to alter code. It also means you can use one indicator for all of your different alterts required for your bots.
HOW TO USE IT:
It is intended to be used in the 5-30 minute time frames, but you might be able to get a good configuration for higher time frames. I welcome feedback from other users on what they have found.
Find a pair with high volatility (example KUCOIN:ETH3LUSDT ) - I have found it works particularly well with 3L and 3S tokens for crypto. although it the limitation is that confrigurations I have found to work typically have low R/R ratio, but very high win rate and profit factor.
Ideally set one minute chart for bots, but you can use other charts for manual trading. The signal will be delayed by one bar but I have found configurations that still test well.
Select a time frame in configuration for your indicator calculations.
Select the strategy config for time frame. I like to use 5 and 15 minutes for scalping scenarios, but I am interested in hearing back from other community memebers.
Optimize your indicator without filters (trendFilter and RSI Filter)
Use the TrendFilter and RSI Filter to further refine your signals for entry. You will get less entries but you can increase your win ratio.
I will add screenshots and possibly a video provided that it passes community standards.
Limitations: this works rather well for short term, and does some good forward testing but back testing large data sets is a problem when switching from very small time frame to large time frame. For instance, finding a configuration that works on a one minute chart but then changing to a 1 hour chart means you lose some of your intra bar calclulations. There are some new features in pine script which might be able to address, this, but I have not had a chance to work on that issue.
AlphaTrend For ProfitViewThis strategy is based on the AlphaTrend indicator by KivancOzbilgic A full description of this algorithm functionality may be found by clicking the linked image above.
Changes and/or additions:
It is now a backtestable strategy
Updated alert trigger logic
Easy integration with ProfitView to use this algorithm for automated trading
When you create an alert, and you are using ProfitView, select " alert() function calls only " as the condition option. If you would rather set your own custom alert message, select " Order fills only " instead.
There is a selectable setting in the options to trigger alert() function calls immediately, that you may use to see what text it will send.
Bot fib/pivot Hello, friends!
This strategy is based on the fibonacci level you choose in the setup and possible pivot points under the control of Williams’ Percent Range.
Williams' Percent Range is a dynamic indicator that detects overbought/oversold conditions.
When the possible reversal points coincide with the fibonacci level, and the high or low points according to Williams also coincide, then an entry occurs.
One of the oldest and most reliable trading tools are widely used support and resistance levels.
In this strategy, we are trying to find these reversal levels based on fibonacci.
//LOGIC ENTRY SETTINGS
Deviation-deviation from the pivot point, the lower this figure, the more entries. The yellow lines on the chart are pivot points.
Fibonacci lvl-fibonacci level, from which the entry will occur, provided that other conditions match
Highest lookback-The setting, which refers to Williams' Percent Range , looks at how many candles ago, was high or low. The smaller the number, the larger, but less accurate inputs.
//AMOUNT(USDT) FIRST ORDER AND > % NEXT
-Martingale first order (the amount of the entrance to the usdt) / next order (Increase of each subsequent order as a percentage)
//EXIT SETTINGS (%, RSI)
-Use RSI for close position? (the position will not be closed if it is in the red, even if the RSI conditions worked)
-Use % for exit? Exit immediately upon reaching the specified percentage
-Use trailing? When the checkbox is checked, the position will be exited by trailing.
Activation trail,after?- When the specified percentage is reached, trailing is activated!
Stop_trail,%- if the last candle falls from the high (after the trailing is activated), the position will be exited.
For example:
We entered the purchase at 100 per asset, activation costs 10, and stop is 2.
the price reached 110, there was an activation, after that it went up to 120, and from the high of the last candle, a 2% drop occurs and the trade is exited.
PS:The default value is 1%, what does this give us? if there is a sharp increase, then we take away all the movement
Use only long?
Allow long?- Only long trades will be displayed
Allow short? Only short trades will be displayed
Allo reverse? Upon receipt of a return signal, the opposite position will be closed.
//MARTINGALE GRID
If there is a check mark in the line "Use martingale and grid?"
then the grid will be active
If there is a check mark in the "Limit each next entry,%?" then, even if the entry from the bot logic is triggered, and the price does not fall by the specified percentage, then there will be no entry!
If there is a check mark in the "Grid,%" column, then purchases with martingale support will be added with a decrease by the specified percentage!
PS: "Grid" always starts anew, as the input from logic triggered!
//FILTER SETTINGS
1) Use filter oscillator? (The filter uses 7 averaged oscillators)
Period-the period for which you will be billing
Upper line-Short entry border.
(if 40, then there will be no entry until it reaches)
Lower line-Long entry border.
(20 until below 20 no entry)
2)Use filter range?
Filter type-moving average selection
Bars back-offset speed based on number of last bars
Period-period to calculate
3)Use filter supertrend?
Supertrend filter with multitimeframe
// How do filters work 2 and 3?
Filters can work either one by one or together.
A trade is entered when conditions from the logic and filters in the red zone are triggered, when there are no entries in the green zone.
//DATA RANGE:
-Testing results for any period of time
//PIRAMIDING
-Also in the settings there is a pyramid of order, keep this in mind. Make a deal for a small part of the deposit, and not for all the money at once!
PS: to use martingale, you need to write in the hook messages:
"amount": "{{strategy.order.contracts}}" (purchases will be in the amount of coins equivalent to USDT)
The default settings for TF are 1 minute, 10 inputs.
You can choose your settings for any TF, but look at different coins to make sure you have good statistics
TradingHookLibrary "TradingHook"
This library is a client script for making a webhook signal formatted string to TradingHook webhook server.
buy_message(password, amount, order_name) Make a buy Message for TradingHook.
Parameters:
password : (string) password that you set in .env file.
amount : (float) amount. If not set, your strategy qty will be sent.
order_name : (string) order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
sell_message(password, percent, order_name) Make a sell message for TradingHook.
Parameters:
password : (string) password that you set in .env file.
percent : (string) what percentage of your quantity you want to sell.
order_name : (string) order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
You can use TradingHook WebServer open source code in github(github.com)
EMA Stoch Strategy For ProfitViewThis strategy will enter positions when the set stochastic conditions are met, and uses the moving average to filter the direction of the trades (long/short). The background is used to illustrate the strength of the stochastic values.
The following is a step by step guide in order to automate the trading of the strategy with ProfitView:
In the indicator settings, set the desired stochastic and ema values, and the stochastic condition you want to use to enter a trade.
In the indicator, set which exchange, symbol, and account to execute trades on.
In the indicator, set the PV Alert names you intend to use. If you want to use the same names as provided in the pastebin below, you may set the three names to Market Long, Market Short, TP SL Hit.
In PV, create two new PV Alerts in the PV Alert tab in accordance to these specifics pastebin.com .
On the Tradingview chart you want the indicator run on, create a new TV alert with this script as its condition, and specify the alert to "alert() function calls only".
3D GATOR %HLThis indicator tracks the 3 day trading bots and measures the high and the low (%).
Usually a trend can change or continue every 3 days.
When volatility decreases and both values are the same gator is going to open its jaws so it's a good time to open a position long. Avoid shorts during low volatility.
On the other hand when volatility increases, and gator has its jaws wide open is a good time to look for shorts.
That's pretty much it.
This indicator was designed by me and created by Marketwatcher.
[Fedra Algotrading Strategy 2tp+L&S] Futures Long or ShortStrategy for crypto market, designed for automatic algorithmic trading with bots.
Can place long and short orders
Calculates your entries based on the breakout of the simple deviation of the linear regression of the last X periods.
Configures TP (green line) and SL (red line) percentages, the TP is a trailing TP.
Optionally, you can set a first TP (white line) that sells half of the position.
Advanced trend filter to not open trades against the market. SMA (yellow line), WMA (blue line) and secret sauce
Includes an advanced system to control the backtest period (choose how many days to backtest).
Risk management by volume of capital or amount of losing trades (kill switches that will exit the trade and stop the script)
The script includes default commissions of 0.2% per trade (configurable).
- Dinamic table with Price positions to plan your limit orders if you are trading manually
- Highly customizable and optimizable.
If you want to trade longs and shorts, it is advisable to create 2 different alerts. In most cases, the optimal parameters for longs are not the same as for shorts. In a forthcoming update I will enable separate configurations.
For better performance the script uses real time price information, for this reason Tradingview may warn you that there is "repainting", as the backtest information does not contain the information of each tick but only the open, close, high and low values of each candle.
To avoid this, you can disable the "calculate on every tick" option from the strategy settings panel.
DCA Bot for ProfitViewThe base for this strategy is the "Backtesting 3commas DCA Bot v2" script by rouxam. I have made some additions, edits, and fixes, as well as tailored it for usage with ProfitView.
The strategy works in such a way that you select one or multiple rules together, in order to determine when a trade should be initiated.
The selectable rules are:
RSI-7: Initiate trading when the 7 period RSI goes below a specified threshold.
Technicals: This is essentially the TradingView screener strength. A multitude of technical indicators combined that range from Strong Sell - Sell - Buy - Strong Buy.
QFL: Find a support/resistance line on a specified timeframe, and initiate trading only when the price is below a certain point from this line.
Once the deal start rule is met, trading will initiate, and a series of additional orders will be placed and spaced out according to the order settings set in the indicator. These orders includes Take Profit, Stoploss, Trailing Take Profit, and specified additional entry orders to DCA your way into a position.
The indicator is set up so that by hooking this up to ProfitView, all of the signals should automatically be replicated to your assigned exchange, along with discord/telegram notifications for when the deals start and end, and the resulting pnl.
If you want to use it for spot markets, while technically possible, you will need to significantly edit the PV Alert syntax that i have supplied below.
Run this on your testnet of choice, it is likely that there are undiscovered issues at this point.
The strategy currently only works with 'Longs' at the time of publishing, but may be subject to change.
==ProfitView Setup==
!!Important!!
The assigned PV Alert name must contain the keyword 'Long', fex "DCA Long"
Uncheck the Once per Bar advanced filter option on the PV Alert you use for this.
Copy/Paste the text into the PV Alert: pastebin.com
[Fedra Algotrading 2TPs]This strategy uses the deviation of a simple linear regression to determine the entry point into a short-term trend. It also includes an intelligent trend filter (SMA, WMA, Super trend and MACD), to determine the dominant trend over a longer time frame and avoid opening trades against the market.
It manages capital by dividing the position into 2 take profits, the first one configurable in a fixed percentage, which will sell half of the position, and the second one that will trigger a trailing take profit once the desired percentage is reached, with the rest of the position.
Each parameter is optimizable to adapt it to the desired market, but this strategy benefits from the high volatility of mid and low capitalization cryptocurrencies due to their higher volatility.
It also includes tools to adjust the backtests, and command inputs so that the script can automatically work with bots.
DMT TEMPELTON PECKIntroduction
Bring your A-game to the market in A-Team style with DMT Templeton Peck – you’ll love it when this plan comes together!
Using customized standard deviations between historic price action ranges and volume metrics, DMT Templeton Peck enables traders to never miss a change in trend.
In its default state, the DMT Templeton Peck indicator displays key information, such as:
• Small trend line
• Large trend line
• Position entry prices
• Take profit levels
• Stop levels
• Buy and sell trend signals
In addition to providing core functionality for the indicator’s strategy signals, traders can use this data to enter or exit trades.
When price crosses both trend lines and consolidates there is a high probability that price will continue to move in the same direction. The most profitable results are achieved when trading in the direction of the current large time frame trend.
When small and large trend lines cross a trading signal is generated which can be used to automate trades. Please see the ‘TradingView Alerts’ section of this document for further details.
The Small & Large trend line’s display can be toggled, and their colors modified in the indicator’s style options as shown below.
Basic Strategy
In its simplest form, the strategy is to buy when the price crosses and consolidates above both trend lines and sell when the price crosses and consolidates below both trend lines.
How to Trade
Confident traders may choose to enter a long position at the point
#1 when the price passes above both trend lines and begins to consolidate.
However, the safer trade is to wait for the trend lines to cross at a point
#2 and then look for an entry in the direction of the local trend.
One price action begins to reverse to the downside the strategy reverses. Confident traders may choose to enter point
#3 when the price passes both trend lines and begins to consolidate once again under the previous price action structure that is now acting as resistance.
A sell signal is generated at the point
#4 which produced a small profit; however, a new short position could have been opened when the price retraced to resistance at a point
#5 and experienced a repeated number of strong rejections.
Do not worry if you miss a trade as there is often more than a single opportunity to enter – like at position #5 when price action retests the previous local price structure as resistance.
The indicator can be used on smaller time frames to scalp or find an entry after a larger time frame has signaled, however smaller time frames will also be “choppy” and should only be traded with a paper-tested strategy.
Traders should take profit on positions at resistance & support levels and look to have fully exited the trade by the time the price crosses back over both trend lines and/or loses a previously established price level.
Indicator Tuning
In its default state the indicator is tuned for swing trades using 30 minute & 1 hour time frames, however, you are encouraged to experiment with the indicator options.
Large & Small Length options define how many historic candles are used for the calculation of the relevant trend line.
As a rule of thumb, larger time frames would use smaller values and smaller time frames would use larger values, ie. On a daily chart, a large and small length could be defined as 400 and 100 respectively.
Please be aware that there are limits to the amount of historical data for any intraday level based on your TradingView subscription level:
• Basic – 5000 bars/candles
• Pro & Pro+ - 10000 bars/candles
• Premium – 20000 bars/cables
TradingView Alerts
By utilizing TradingView alerts DMT Templeton Peck's long and short signals can be used to trigger a trading bot.
To trigger a long position, set the TradingView Alert Condition to the DMT Templeton Peck indicator and select the ‘Long’ trigger condition with the ‘Once Per Bar Close’ option for best results.
To trigger a short position, set the TradingView Alert Condition to the DMT Templeton Peck indicator and select the ‘Short’ trigger condition with the ‘Once Per Bar Close’ option for best results.
Take profit options ‘Long_TP_1’ / ‘Short_TP_1’ and Stop options ‘Stop_long’ / ‘Stop_Short’ can also be configured in the same manner to conditionally trigger a trading bot and can be configured in the indicators Input options.
Trading Assistant DiNGUETrading Assistant DiNGUE This indicator is like a trading assistant for your charts.
It helps set your biases and emotions aside and lets you focus on managing trades in an easy visual way.
Get various types of signals to enter your trades (either Long or Short). Then use take profits, stops, or the opposite signal to exit trades.
The signals are created from various indicators and sensibility options you can customize any way you want. Works on every timeframe.
You can customize every setting or used the preset ones. Preset settings adjust automatically based on the timeframe you are using on the chart.
The 12 Indicators are Volume - RSI - Stochastic - MacD - Moving Averages (MA) - Rate of Change (ROC) - ADX DMI Directional Movement Index - On Balance Volume (OBV) - Bollinger Bands - VWAP - ATR - Parabolic SAR.
Every indicator can be turned On or Off.
You can adjust the way it creates signals by selecting either 'rise-fall', 'crosses' or by combining both.
You can select the sensitivity of the signal from Normal - Safe - Safer.
You can adjust lengths or use the preset ones.
There are also additional options for each indicator, you can filter weak levels for ADX, filter for tight bands, have ROC above 0…
You can also plot several of those indicators on the screen. 2x Moving Averages, 2x VWAP, 2x ATR, 2x SAR for even easier visualization of the trend.
You can also plot fractals to facilitate once again on trend visualization. Higher high, lower low, higher low, lower high.
Trade with the Trend and Safe Trades:
If you want to have a higher chance of success, you can trade with the trend. First, select the trend timeframe you would like to use. Let's say the “Weekly” trend. Meaning it will generate a signal on the weekly timeframe and based on the result (Long or Short) it will only take trades in that direction. So the trend is LONG on the Weekly and you get a “Long” signal, it will take it. “Short” signals on the other hand will be treated as “stops” and won’t want to go against the trend by going ‘short’.
Safe Trend works in the same manner, but instead of using the signal on a bigger timeframe, it uses an indicator as to the deciding factor. Let's say you select the 200SMA as the “Safe signal”. The indicator will only go “Long” when above the 200SMA and “Short” under the 200SMA. Otherwise, it will put a stop instead of going against the trend.
Stop Loss:
There are 4 different types of stop-loss that you can use at the same time.
- Indicator Stop
- Fib stop
- Fix % stop
- Trailing stop
You can plot the stops directly on the chart AND OR add them to the panel for an easy visualization once again.
With the ‘indicator stop’, you can select one of the two: MA ATR SAR VWAP as a stop.
Fib stop, it uses fib numbers to calculate a stopping point.
Fix %, you can select your max loss in percent. Could be 2%, 5%
A trailing stop is like a fixed stop but that will trail as the price moves in the right direction.
Take Profit:
There are 4 different types of take profit that you can use simultaneously.
- Fix % Take Profit
- ATR multiple Take Profit
- Fib multiple Take Profit
- Bollinger Band Take Profit
Fix % just let you set a fix take profit target in percent.
ATR multiple lets you select a target based on a multiple of the average true range.
Fib multiple lets you select a target based on a fib multiple
Bolling Band lets you take profit based on the Bollinger band settings you select.
Visual Panel:
The visual panel lets you see exactly how is the last trade progressing. It will give you the entry price, profit, stop, and target. You can turn it on or off, as is for the stop and target.
You can also decide to plot 1 position or more, you can even show all the possible signals, add backgrounds with colors. You can also plot the bigger Trend and Safe Signals explained above.
If you have any questions, suggestions, or comments, feel free to do so!
boonam17_ALERT이용 관련 문의는 이메일 boonam17@naver.com 통해 해주시기 바랍니다.
백테스트 결과와 실제 투자 결과는 개인 블로그를 통해 업데이트할 계획입니다.
CryptoGraph Multi Algo StrategyThis is a summary of how this strategy works.
CryptoGraph Multi Algo Strategy is the second profitable real-time trading strategy by the CryptoGraph team, that generates trade signal with exact entires, exits and risk management. The strategy is intended to work nearly every crypto coin pair, stock or index.
Principles behind the strategy
Entry:
Detection of trend direction with the use of an EMA . Default setting is a length of 550.
Detection of shorter term trend direction with the use of multiple Supertrend Indicators.
Detection of an even shorter term direction with the use of a crossover of the Stochastic RSI , below or above certain levels. This would be the final condition for an entry signal.
Exit:
Once an entry signal has fired, the script will look at the current ATR Value. In the script settings there will be an option to adjust the ATR factor. While ATR factor is equal to 1, it means it will use the default ATR value distance from the candle close. When ATR factor is for example 2, it will use two times the ATR distance from the candle close.
This is a simple representation of how this strategy works, in reality there are more underlying factors.
To find the best settings for the crypto coin pair or stock you want the strategy to trade with, simply switch up the EMA , ATR Profit Multiplier and ATR Stop Multiplier and experiment which settings would fit your style best.
What to look for when testing coins or stocks?
EMA, default exponential moving average is set to 550. When above the line, it will only look for longs, when below it will only look for shorts.
The Take Profit and Stop Loss are based on ATR multiplications, adjust these in the inputs interface and you will see the exits change.
Default parameters of the strategy
This is only an example of a profitable combination of all parameters. This would be the 30 minute timeframe Bybit chart on Bitcoin.
ATR take profit at x2, ATR stop loss at x4.1.
In this example we are using an initial capital of $1.000,- while each trade 100% of this capital is used and compounds over time. Meaning every profit or loss will be added to the next trade. Also there is a 0.05% commission used based on Bybit, since we expect most trades to market in and limit out.
Pattern Recognition Pullback Strategy profit calculatorThis script has been designed for use in botting Crypto spot / futures.
The intended use is send signals to a 3commas bot setup for the exchange. The bot uses candle measuring percentile nearest rank filters and range
breakouts to decide if the market is trending. When the market is trending it will look for pullbacks below a moving average and buy in the trend direction on a pullback discount. This is the profit calculator part of the script
With this script you will not be able to send tradingview signals, that is because it is a payed premium service and for security reasons I am the only one with access to making signals from this script.
I provided a user manual:
drive.google.com
Pattern Recognition Pullback StrategyThis script has been designed for use in botting Crypto spot / futures.
The intended use is send signals to a 3commas bot setup for the exchange. The bot uses candle measuring percentile nearest rank filters and range
breakouts to decide if the market is trending. When the market is trending it will look for pullbacks below a moving average and buy in the trend direction on a pullback discount.
With this script you will not be able to send tradingview signals, that is because it is a payed service and for security reasons I am the only one with access to making signals from this script. I will be uploading a second script which is the profit calculator. This way you can toy around to find your preferred settings for the bot and see the results it could have made.
I provided a user manual:
drive.google.com