The Ultimate Backtest - Fontiramisu█  OVERVIEW 
 The Ultimate Backtest  allows you to  create an infinite number of trading strategies and backtest them  easily and quickly.
You can leverage the trading setup you created with the tradingview's real-time alert system.
The tool is constantly being improved to accommodate more in-house indicators in order to imagine more trading strategies.
 █  HOW IT WORKS. 
 The tool is divided into 3 main parts:  
 
   1. The indicators:  
These are the indicators that you will be able to set up to create your setups.
 Example: rsi, exponential moving average, home made resistance/support indicator etc. 
We are working to add more and more in-house indicators to multiply the trading strategies.
   2. The entry/exit strategy: 
The entry/exit trades management is a central point of the strategy.
 Here we propose several ways to take profits and in-house optimizations to enter a position. 
   3. The setup: the combination of indicators 
 Here it is up to you to create your own recipe.  
You combine the different indicators set up above to make a real strategy.
 Example: RSI Divergence + Location on a support. 
 
 Let's look at this in more detail.
Below is a description of all sections 
 █  1. THE INDICATORS 
 TREND: MA (moving average) --> 
 Set up a moving average from multiple methods (sma, ema, smma...) of the type and length you want. 
> A long is taken if the price is above the MA.
> A short is taken if the price comes below the MA.
You can set up a smoothing MA from the existing moving average and use it in the same way.
 ENVELOPE: SUPER TREND -->  
 The supertrend is a trend following indicator. It clearly describes the distinction between downtrends and uptrends with a red or green direction. It is calculated according to the ATR and a factor. 
> A long is taken when the direction is green and the price touches the supertrend support line.
> A short is taken when the direction is red and the price touches the supertrend resistance line.
 ENVELOPE: BOLLINGER BAND -->  
 Bollinger bands are used  to evaluate the volatility and probable evolution of prices, here we exploit the envelope 
> A long is taken if the price crosses the lower band.
> A short is taken if the price crosses the upper band.
 CLOUD: ICHIMOKU -->  
 The Ichimoku cloud aims to identify the direction and reversal points of dominant market trends. It displays support and resistance levels. 
> A long is taken when the price enters the green ichimoku cloud.
> A short is taken when the price enters the red ichimoku cloud.
 MOMENTUM: MACD ZERO LAG / MACD / RSI -->  
 RSI (Relative Strength Index) reflects the relative strength of upward movements, compared to downward movements.
MACD (Moving Average Convergence Divergence) is a momentum indicator that follows the trend and shows the correlation between two moving averages of the asset price.
MACD  ZERO LAG is calculated in the same way except that the exponential moving averages that make up the calculation do not lag.
 
> A long is taken on a potential bullish divergence.
> A short is taken on a potential bearish divergence.
For now, with these indicators, we only take a trade based on divergences but we will add overbuy/oversell etc.
 MOMENTUM: MA SLOPE -->  
 This house indicator allows you to use the slope of a moving average as a measure of momentum.
Define the length of the moving average whose slope we will take.
We then take a fast ma of the slope then a slow ma (You define the lengths with the parameters)
The tool foresees a subtraction between the slow and fast ma to have another interpretation of the slope.
This indicator is available and can be viewed freely on my tradingview profile. 
> A long is taken when there is a potential bullish divergence on the fast/slow MA or the difference.
> A short is taken when there is a potential bear divergence on the fast/slow MA or the difference.
 RESISTANCE: R/S FONTIRAMISU --> 
 An in-house indicator that shows resistances and supports according to the chosen parameters.
Indicator available and can be viewed freely on my tradingview profile. 
> A long is taken when the price arrives on a support.
> A short is taken when the price arrives on a resistance.
-----
 MOMENTUM DIVERGENCE --> 
Section used to set the divergence detection.
 The first field allows you to select which momentum you want to calculate the divergence on. 
 PIVOT DETECTION -->   
Used to calculate top and dip on the chart, it is used with divergences/resistances/enter-exit optimizations....
Default parameters are: Deviation: 2.5, Depth: 10.
 █  2. STRATEGY FOR ENTERING/EXITING TRADES.  
 STRATEGY: TP/SL --> 
 Enter/Exit Trade Mode" field:  The first field allows you to choose between two modes: 
 
  1. TP/SL Mode:
 This mode allows you to take entries with take profits that you define afterwards with the   TP1 and TP2 parameters .
> The stop loss is calculated automatically by taking the last dip if it is a long and the last top if it is a short. 
> You can add a "Stop Loss % Offset" which will increase the size of the stop loss by the % value you set.
> If you activate TP2, the profit taking is split between TP1 and TP2, you can select the percentage of profit taking split between TP1 and TP2 via the "Percent Exit Profit TP1" field.
> The "TPX Multiplier" fields allow you to define the desired Risk Reward, if = 1 then RR = 1/1.
> A Trailing stop option is available, if active then the profit take will be split between TP1 and Trailing stop.
  For the moment you can choose between the two MA's set up above to serve as trailing stop: 
  > In long, if the price goes below the MA then you take the profit (or the loss) 
  > In short, if the price goes above the MA then you take the profit (or the loss) 
  2. ONLY BUY/SELL:
Here the take profits are not taken into account, we only have an alternation between the long and the shorts.
The trailing stop applies to this mode and can be interesting depending on the use.
 
 STRATEGY: SETUP OPTIMIZER (FP) -->  
Here we have 3 home made optimization tools to take more relevant trades.
 
  1. FAVORABLE ENTRY FROM PIVOT.
Here the tool will favor entries with interesting locations depending on dips and tops before.
 A red cross with "FP" will appear on the chart each time a trade does not meet this condition. 
  2.STOP LOSS MAX (SL).
Will only take trades where the stop loss is maximum at X%.
 A red cross with "%SL" will appear on the chart each time a trade does not meet this condition. 
  3. MOVE ALREADY TRADED.
Will not take several trades in the same move.
This can avoid cascading losing trades on some setups.
 A red cross with "MT" will appear on the chart each time a trade does not meet this condition. 
 
 █  3. THE SETUP: THE COMBINATION OF INDICATORS 
 Here, let your creativity speak.
 You are free to assemble the indicators in the following way:
The conditions defined inside a group (group1/group2/group3) are combined to each other via  an OR operator .
 Example, if "cond01 = Momentum DIv" and "cond02 = Res/Sup Location", then trades will be triggered if one of the two conditions is met. 
The conditions defined between several groups are multiplied via  the AND operator .
 Example, if "cond01 = Momentum DIv" and "cond12 = Res/Sup Location", then trades are taken if both conditions are met at the same time. 
 ALL CONDITIONS:  
 > NONE 
No conditions selected.
 > Momentum Div 
 Triggers when a potential divergence occurs on the selected momentum (in the divergence section).  
 > Momentum Div UT Sup 
 Triggers when a potential divergence occurs on the selected momentum (in the divergence section) in the upper timeframe.
The upper timeframe of the momentum is calculated directly in the code by multiplying the set parameters by 4 (fastlenght/slowlenght...).
 > Multi MA 
It is set in the "Trend: MA" section and is triggered by the conditions mentioned in the "INDICATORS" section.
 > Smooting MA 
Is set in the "Trend: MA" section and is triggered by the conditions mentioned in the "INDICATORS" section.
 > Super Trend Env 
Is set in the "ENVELOPE: SUPER TREND" section and is triggered by the conditions mentioned in the "INDICATORS" section.
 > BB Env 
It is set in the "ENVELOPE: BOLLINGER BAND" section and is triggered by the conditions mentioned in the "INDICATORS" section.
 > Ichimoku Cloud 
Is set in the "CLOUD: ICHIMOKU" section and is triggered by the conditions mentioned in the "INDICATORS" section.
 > Res/Sup Location 
Is set in the "RESISTANCE: R/S" section and is triggered by the conditions mentioned in the "INDICATORS" section.
חפש סקריפטים עבור "profit"
EHMA Range Index Basket StrategyThis script is a modified version of my EHMA Range Strategy.
 EHMA Range Strategy 
In addition to the EHMA, this script works with a range around the EHMA (which can be modified), in an attempt to be robust against fake signals. Many times a bar will close below a moving average, only to reverse again the next bar, which eats away at your profits. Especially on shorter timeframes, but also on choppy longer timeframes this can make a strategy unattractive to use.
With the range around the EHMA, the strategy only enters a long/exit-short position if a bar crosses above the upper range. Vice versa, it only enters a short/exit-long position if a bar crosses below the lower range. This avoids positions if bars behave choppy within the EHMA range & only enters a position if the market is confident in it's direction. Having said that, fakeouts are still possible, but a lot less frequent. Having backtested this strategy vs the regular EHMA strategy (and having experimented with various settings), this version seems to be a lot more robust & profitable!
 EHMA Range Index Basket Strategy 
The EHMA Range Index Basket Strategy aims to make the EHMA Range Strategy even more robust, by taking nearly 40 of the most traded crypto trading pairs and applying the EHMA Range Strategy to them. For each pair it assigns a 0 (Sell signal) or 1 (Buy signal) and adds them up. If the number of Buy signals outweigh the number of Sell signals, the index strategy triggers its Buy signal (and vice versa). The results are even more profitable & robust than with the EHMA Range Strategy on its own. Next to that, it performs a lot better on most crypto pairs, due to it's robustness. Because of that, this strategy is a lot less prone to overfitting and will likely produce better results during live trading conditions!
 Disclaimer 
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
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.
Miyagi (VWAP) + DCA BacktestVWAP has been the main condition for entry for our trading community when using the Wick Hunter bot for quite some time now; however using VWAP alone can lead to poor entries and bags.
Miyagi adds filtering conditions which can then be used to improve entries as opposed to simply using VWAP alone.
Miyagi: The attempt at mastering something for the best results.
Miyagi indicators combine multiple trigger conditions and place them in one toolbox for traders to easily use, produce alerts, backtest, reduce risk and increase profitability.
Miyagi (VWAP) + DCA Backtest allows you to backtest your VWAP settings across each pair.
VWAP + Backtest starts with the user selectable take profit and stoploss, both in percent.
Backtesting can be done in any trend direction: Long, Short, or both.
First we start with the VWAP Settings for entry.
The VWAP Settings are based off the original VWAP Indicator found here: 
VWAP Timeframe can be adjusted to chart timeframe, or to another timeframe of choice.
VWAP Period is adjustable and should be set to your current period setting.
VWAP Lower Line (Long) is the Percentage Below VWAP = Long Entry.
VWAP Upper Line (Short) is the Percentage Above VWAP = Short Entry.
Once your VWAP Settings are now configured for your current trading settings, you can move onto the DCA and Backtest Settings.
Select DCA to allow and backtest DCA.
Equity %: allows you to select what percent of Equity you will use.
Leverage: Set the leverage you will trade at, from 1-100X.
DCA Start %: This is the percent that your DCA Starts at, in % away from initial entry.
Entry Order Size %: This is the entry order size, in percent of your account, that is used for entry.
DCA Order Size %: This is the DCA order size, in percent of your account, that is used for the first DCA.
DCA Order Size Scale %: This is the DCA size scaling, in %, that is applied to all DCA's after the first.
DCA % from Avg: This is the % away from Average DCA setting.
Step Size Scale %: This is the step size scale setting in percent, that is placed away from your first DCA.
DCA Buy Count: How many DCAs in total that can be used.
Properties Tab includes generic backtest settings including capital amount, base currency, order size, commission, slippage and margin.
Happy Trading!
Cyatophilum 3Commas DCA Bot BacktesterAn indicator to backtest and automate 3Commas DCA Bots. 
═════════════════════════════════════════════════════════════════════════
█  HOW IT WORKS 
The indicator allows you to replicate your bot settings and get backtest results from the Strategy Tester and also a backtest panel with additional information on the safety orders.
You can also create alerts for each of the strategy events.
█  HOW TO USE 
 Choose a symbol  that corresponds to your bot pair and exchange. 
 Pick a chart time frame  as small as possible, usually 1 minute. The timeframe should always be smaller or equal to the deal start conditions timeframes.
 Always use regular candle type. 
 Configure your deal start condition . You can combine several technical indicators to trigger an entry using a AND logical gate.
 Configure your profit target 
Use the Take Profit feature to set a target in percentage of price. You can also make it trail.
There is also a Stop Loss feature that is turned off by default.
 Configure your safety orders 
Replicate the safety orders from your bot into the indicator inputs.
 Check your backtest parameters 
Make sure that the initial capital and order size make sense. Since it is a pyramiding strategy with safety orders, the sum of all deals should not be bigger than the initial capital. 
In this example: Initial capital is 0.02 BTC, which around 600$. I used 1000$ to be safe.
If you use % equity as order size, please note that it will create compounding.
Check the fees, by default they are set to 0.1%.
I also recommend to set a slippage that corresponds to your exchange's spread.
█  FEATURES 
 • Strategy direction
Configure wether to go long or short.
 • Deal Start Conditions
The current conditions available are:
 - Up to 4 MTF Trading View ratings conditions (Buy/Sell, Strong Buy/Sell)
 - Up to 4 MTF RSI with configurable start conditions (Less/Greater than, Crossing Up/Down)
 - Up to 2 MTF Ultimate Oscillator with configurable start conditions (Less/Greater than, Crossing Up/Down)
 - MTF BB%-20-1 (length-deviation) with configurable start conditions (Less/Greater than, Crossing Up/Down)
 - MTF BB%-20-2 (length-deviation) with configurable start conditions (Less/Greater than, Crossing Up/Down)
 - Up to 2 MTF TA presets with the following options (Bollinger Bands, MFI, CCI, MACD, PSAR, SMA crosses, Heikin Ashi)
 • Stop Loss and Take Profit
Configure your stop loss and take profit for long and short trades.
You can also make a trailing take profit.
 • DCA (Safety orders)
Create up to 100 safety orders with configurable options for step and volume scaling, take profit from total volume, base and safety order size. 
 • Backtest Settings
Choose a backtest period, longs or shorts, wether to use limit orders or not.
 Graphics 
A Configuration panel with all the indicator settings, useful for sharing/saving a strategy.
A Backtest Results panel with additional information from the strategy tester.
█  ALERTS 
The indicator is using the alert() calls: it only uses 1 alert slot to send order messages for each event (Long/Short entry, stop loss, take profit, safety order). This means free TV plans can create 1 complete strategy.
To set your alert messages, open the indicator settings and scroll to the bottom of the "inputs" tab.
Create your alert after you set the messages in the indicator settings, and make sure "Any alert() function call" is set in the alert option.
█  BACKTEST RESULTS 
The backtest settings used in this snapshot are the following:
 
 Initial Capital: 1000€
 Order size: 0.003 BTC
 Commission: 0.1 % per order
 Slippage : 1 tick
 
 Please read the author instructions below for access. 
5 Minute Scalping StrategyTaking entrys based on the 1 minute timeframe MACD
only taking longs when all emas are in the correct order and there is a bigger than usual MACD downtick and the RSI is above 51
only taking shorts when all emas are in the opposite order and there is a bigger than usual uptick on the MACD and the RSI is bellow 49
bigger than usual ticks are defined by bollinger bands around the Macd and the ticks have to be higher than 35 and lower than -10
you can change whatever setting you like to make the strategy more profitible. pls share when you find a more profitible setting than me
the stoploss doesnt work correct if it would be hit in the same candle you enter the trade. pls share when you have a solution for this
the stratagy is profitible when i backtested it for the last month, but i dont know how it will play out in the future, so you enter the signals at your own risk
The Impossible TraderTHE IMPOSSIBLE TRADER 
A simple, but effective High Freq Strategy script based on MACD or RSI trend, with extra customizable Alert Messages for Bots.
 WHAT IT DOES 
This script (works best at lower TimeFrames) just follow the trend of MACD or RSI on your asset. 
Why it should work? Because in an upper trend, there are more chance of green candles than reds. And in dump trend there are more chance of red candles than greens.
 
 While trend is positive, it will try to open Long orders as fast as possible at market price.
 While trend is negative, it will try to open Short orders as fast as possible at market price.
 
 HOW TO SETUP YOUR PREFERENCES 
 
 Capital  : Insert a % of Margin you want to use for your positions (usually 30% is quite good)
 Leverage  : Choose leverage based on your plans
 Trail Tick @  : This value (in Tick) tell the script "when" the "Trail Stop" order must be activated (from the Entry price)
 Offset Tick @  : This is the price (in Tick) from the Trail Stop Price activated. Basically it is a Stop Loss that follow the price at a fixed distance.
 SL Tick @  : Set a Stop Loss at amount Tick distance from the Entry Price. (Let's call it a Safety Stop Loss for bad decisions...)
 TP Tick @  : Set a Take Profit at amount Tick distance from the Entry Price. Sometimes is better to exit in full Gain than keep positions.
 Strategy  : You can choose a Only Long, Only Short or Long+Short sametime strategy.
 with MACD or RSI  : You can try the strategy applied on MACD or applied on customizable RSI EMA
 EMA  : If you choosed RSI EMA, you can set any value for your testing (usually 80-120 works very nice)
 Exit order after bars  : Some Exchanges / Brokers apply fixed cost, and a strategy too fast could not be productive. This set will let you to delay the Exit Order on already Opened positions.
 Keep Stop Loss active  : If you are planning a delay for Exit Orders, sometime could be useful to keep activated Stop Loss.
 Strategy Preset  : Some preset I've found interesting, with good results.
 BackTest Days  : If there are too many results and script doesn't work, you can choose a closer range to show results.
 
  
 EXTRA FEATURES 
 
 On Screen Display  : OSD will show you some realtime stats about your strategy, like Asset Tick, Trading Period Range, Drawdown, Gains and not closed trade.
 Alert Message  : You can enter custom Long Entry/Exit and Short Entry/Exit message for your Bots (like AutoView, WunderBit, etc...). When alert is triggered, you can send custom message with {{strategy.order.comment}} in the text field
 AutoView Alert Message  : If you are user of AutoView, you can generate your calls. Those are tested only on Oanda with index like Sp500, US100, Us30.
 
  
 TIPS ON USE 
 
 Some asset on TradingView require an higher initial capital. Go to this Script Settings -> Properties and  rise Initial Capital. 
 Be  aware of commissions and spread  when evalutating a strategy. Go to this Script Settings -> Properties and  set Commission and Slippage 
 Trail Stop and Ticks could be difficult to understand, but very profitable. Please take your time and study how it works. 
 Consider  Tick like the minimum movement your asset can do.  Ticks occurs "intra-bar", so some of your positions could be closed almost instantly.
 Consider  Trail Stop like a Stop Loss that keep always the same distance from your positions, but never came back . If you are in gain, say of 10 Ticks, and your Trail have 5 Ticks, this means for sure a close at minimum 5 Ticks from Entry Price.
 On Screen Display will show you Ticks for your asset.  This will help you on strategy settings, because not all asset responds on the same way.
 
ONLY LONG EXAMPLE
  
ONLY SHORT EXAMPLE
 
Oversold RSI with tight SL Strategy (by Coinrule)This is one of the best strategies that can be used to get familiar with technical indicators and start to include them in your trading bot rules.
 ENTRY 
1. This trading system uses the RSI ( Relative Strength Index ) to anticipate good points to enter positions. RSI is a technical indicator frequently used in trading. It works by measuring the speed and change of price movements to determine whether a coin is oversold (indicating a good entry point) or overbought (indicating a point of exit/entry for a short position). The RSI oscillates between 0 and 100 and is traditionally considered overbought when over 70 and oversold when below 30.
2. To pick the right moment to buy, the strategy enters a trade when the RSI falls below 30 indicating the coin is oversold and primed for a trend reversal.
 EXIT 
The strategy then exits the position when the price appreciates 7% from the point of entry. The position also maintains a tight stop-loss and closes the position if the price depreciates 1% from the entry price. The idea behind this is to cut your losing trades fast and let your winners ride.
The best time frame for this strategy based on our backtesting data is the daily. Shorter time frames can also work well on certain coins, however in our experience, the daily works best. Feel free to experiment with this script and test it on a variety of your coins! With our backtesting data a trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange by volume. In the example shown, this strategy made a handsome net profit of 39.31% on Chainlink with 61.54% of trades being profitable.
EHMA Range StrategyThis script is a modified version of @borserman's script for the  Exponential Hull Moving Average 
All credit for the EHMA goes to him :)
In addition to the EHMA, this script works with a range around the EHMA (which can be modified), in an attempt to be robust against fake signals. Many times a bar will close below a moving average, only to reverse again the next bar, which eats away at your profits. Especially on shorter timeframes, but also on choppy longer timeframes this can make a strategy unattractive to use.
With the range around the EHMA, the strategy only enters a long/exit-short position if a bar crosses above the upper range. Vice versa, it only enters a short/exit-long position if a bar crosses below the lower range. This avoids positions if bars behave choppy within the EHMA range & only enters a position if the market is confident in it's direction. Having said that, fakeouts are still possible, but a lot less frequent. Having backtested this strategy vs the regular EHMA strategy (and having experimented with various settings), this version seems to be a lot more robust & profitable! 
 Disclaimer 
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
EMA bands + leledc + bollinger bands trend following strategy v2The basics:
In its simplest form, this strategy is a positional trend following strategy which enters long when price breaks out above "middle" EMA bands and closes or flips short when price breaks down below "middle" EMA bands. The top and bottom of the middle EMA bands are calculated from the EMA of candle highs and lows, respectively. 
The idea is that entering trades on breakouts of the high EMAs and low EMAs rather than the typical EMA based on candle closes gives a bit more confirmation of trend strength and minimizes getting chopped up. To further reduce getting chopped up, the strategy defaults to close on crossing the opposite EMA band (ie. long on break above high EMA middle band and close below low EMA middle band).
This strategy works on all markets on all timeframes, but as a trend following strategy it works best on markets prone to trending such as crypto and tech stocks. On lower timeframes, longer EMAs tend to work best (I've found good results on EMA lengths even has high up to 1000), while 4H charts and above tend to work better with EMA lengths 21 and below. 
As an added filter to confirm the trend, a second EMA can be used. Inputting a slower EMA filter can ensure trades are entered in accordance with longer term trends, inputting a faster EMA filter can act as confirmation of breakout strength.
Bar coloring can be enabled to quickly visually identify a trend's direction for confluence with other indicators or strategies.
The goods:
Waiting for the trend to flip before closing a trade (especially when a longer base EMA is used) often leaves money on the table. This script combines a number of ways to identify when a trend is exhausted for backtesting the best early exits. 
"Delayed bars inside middle bands" - When a number of candle's in a row open and close between the middle EMA bands, it could be a sign the trend is weak, or that the breakout was not the start of a new trend. Selecting this will close out positions after a number of bars has passed
"Leledc bars" - Originally introduced by glaz, this is a price action indicator that highlights a candle after a number of bars in a row close the same direction and result in greatest high/low over a period. It often triggers when a strong trend has paused before further continuation, or it marks the end of a trend. To mitigate closing on false Leledc signals, this strategy has two options: 1. Introducing requirement for increased volume on the Leledc bars can help filter out Leledc signals that happen mid trend. 2. Closing after a number of Leledc bars appear after position opens. These two options work great in isolation but don't perform well together in my testing.
"Bollinger Bands exhaustion bars" - These bars are highlighted when price closes back inside the Bollinger Bands and RSI is within specified overbought/sold zones. The idea is that a trend is overextended when price trades beyond the Bollinger Bands. When price closes back inside the bands it's likely due for mean reversion back to the base EMA in which this strategy will ideally re-enter a position. Since the added RSI requirements often make this indicator too strict to trigger a large enough sample size to backtest, I've found it best to use "non-standard" settings for both the bands and the RSI as seen in the default settings. 
"Buy/Sell zones" - Similar to the idea behind using Bollinger Bands exhaustion bars as a closing signal. Instead of calculating off of standard deviations, the Buy/Sell zones are calculated off multiples of the middle EMA bands. When trading beyond these zones and subsequently failing back inside, price may be due for mean reversion back to the base EMA. No RSI filter is used for Buy/Sell zones.
If any early close conditions are selected, it's often worth enabling trade re-entry on "middle EMA band bounce". Instead of waiting for a candle to close back inside the middle EMA bands, this feature will re-enter position on only a wick back into the middle bands as will sometimes happen when the trend is strong.
Any and all of the early close conditions can be combined. Experimenting with these, I've found can result in less net profit but higher win-rates and sharpe ratios as less time is spent in trades.
The deadly:
The trend is your friend. But wouldn't it be nice to catch the trends early? In ranging markets (or when using slower base EMAs in this strategy), waiting for confirmation of a breakout of the EMA bands at best will cause you to miss half the move, at worst will result in getting consistently chopped up. Enabling "counter-trend" trades on this strategy will allow the strategy to enter positions on the opposite side of the EMA bands on either a Leledc bar or Bollinger Bands exhaustion bar. There is a filter requiring either a high/low (for Leledc) or open (for BB bars) outside the selected inner or outer Buy/Sell zone. There are also a number of different close conditions for the counter-trend trades to experiment with and backtest.
There are two ways I've found best to use counter-trend trades
1. Mean reverting scalp trades when a trend is clearly overextended. Selecting from the first 5 counter-trend closing conditions on the dropdown list will usually close the trades out quickly, with less profit but less risk.
2. Trying to catch trends early. Selecting any of the close conditions below the first 5 can cause the strategy to behave as if it's entering into a new trend (from the wrong side).
This feature can be deadly effective in profiting from every move price makes, or deadly to the strategy's PnL if not set correctly. Since counter-trend trades open opposite the middle bands, a stop-loss is recommended to reduce risk. If stop-losses for counter-trend trades are disabled, the strategy will hold a position open often until liquidation in a trending market if th trade is offsides. Note that using a slower base EMA makes counter-trend stop-losses even more necessary as it can reduce the effectiveness of the Buy/Sell zone filter for opening the trades as price can spend a long time trending outside the zones. If faster EMAs (34 and below) are used with "Inner" Buy/Zone filter selected, the first few closing conditions will often trigger almost immediately closing the trade at a loss.
The niche:
I've added a feature to default into longs or shorts. Enabling these with other features (aside from the basic long/short on EMA middle band breakout) tends to break the strategy one way or another. Enabling default long works to simulate trying to acquire more of the asset rather than the base currency. Enabling default short can have positive results for those high FDV, high inflation coins that go down-only for months at a time. Otherwise, I use default short as a hedge for coins that I hold and stake spot. I gain the utility and APR of staking while reducing the risk of holding the underlying asset by maintaining a net neutral position *most* of the time.
Disclaimer: 
This script is intended for experimenting and backtesting different strategies around EMA bands. Use this script for your live trading at your own risk. I am a rookie coder, as such there may be errors in the code that cause the strategy to behave not as intended. As far as I can tell it doesn't repaint, but I cannot guarantee that it does not. That being said if there's any question, improvements, or errors you've found, drop a comment below! 
TWAP + MA crossover Strategy [Dynamic Signal Lab]Dear TV'ers,
Hereby the strategy script for the TWAP/moving average crossover, with unique taking profit options. moving averages include: EMA , WMA , DEMA , TEMA , VAR, WWMA, ZLEMA , TSF , HULL and TILL.
Use the TWAP as the slow moving average and use another moving average as the faster/more responsive moving average. Finally, you can use a green fill to visualize how much you are in profit from your entry point.
Good strategies always involve gradual taking profit, which is also possible in this script.
You can gradually take profit (and set how much%), using the following criteria:
* minimum consecutive green/red candles
* minimum amount of green/red candles in the last 2-8 candles
* both of the above criteria.
The current default properties should be modified to make this strategy cost-effective, but typically 15minutes and higher timeframes (up to 6hr) seem to work well for larger (top10 cap) crypto projects. Don't use this script for small-caps as it will get you rekt.
Additionally, you'll also be able to continuously take profit, making sure you lock in all those sweet profits. Use this script for backtesting and the indicator compagnon to fire your alerts.
Pinball Trading Strategy This is a early version of the Pinball Trading Strategy turned into a Tradingview strategy for automated backtesting. I have tried to include as many customization options as possible. Currently you can choose two options to define the trend and 5 options to define your entry. The option 'do you want the acc in your stoploss' makes for unexpected behaviour sometimes so it is advised to keep it turned off for now. 
Features: Stoploss gets set to BE automatically at 40% profit. Stoploss and TP are calculated automatically from the internal FNT table (2022). 
How to use: in order to backtest the original Pinball Strategy use the 1H timeframe, the 4H data gets calculated by multiplying the 1H data. 
1. Select atleast one Trend and Entry option from the Inputs tab in the Options Menu. 
2. Take a look at the Style tab from the Options Menu to turn plotting of specific MA's and Conditions on or off. 
3. The three plots for Entry, Trend and Long conditions plot your selected rules for Entry and Trend and then ultimately the Entering of a position, respectively. So turn these on and select plotting options that give a clear view of how your selected rules behave on price. 
4. I have personally found the 5M timeframe to be most profitable when running this strategy so that might be something to check out! 
Oversold RSI with Tight Stop-Loss Strategy (by Coinrule)KRAKEN:LINKUSD 
This is one of the  best strategies  that can be used to get familiar with  technical indicators  and start to include them in your rules on  Coinrule .
 ENTRY 
1. This trading system uses the RSI (Relative Strength Index) to anticipate good points to enter positions. RSI is a technical indicator frequently used in trading. It works by measuring the speed and change of price movements to determine whether a coin is oversold (indicating a good entry point) or overbought (indicating a point of exit/entry for a short position). The RSI oscillates between 0 and 100 and is traditionally considered overbought when over 70 and oversold when below 30. 
2. To pick the right moment to buy, the strategy enters a trade when the RSI falls below 30 indicating the coin is oversold and primed for a trend reversal.
 EXIT 
The strategy then exits the position when the price appreciates 7% from the point of entry. The position also maintains a tight stop-loss and closes the position if the price depreciates 1% from the entry price. The idea behind this is to cut your losing trades fast and let your winners ride.
The best time frame for this strategy based on our back testing data is the daily. Shorter time frames can also work well on certain coins, however in our experience, the daily works best. Feel free to experiment with this script and test it on a variety of your coins! With our back testing data a trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange by volume. In the example shown, this strategy made a handsome net profit of 52.6% on Chainlink with 66.67% of trades being profitable.
 You can execute this strategy on your favorite exchanges with  Coinrule .
Ranged Volume DCA Strategy - R3c0nTraderUpdate: Republishing this as Public Open-Source script.
Credits:
Thank you "EvoCrypto" for granting me permission to use "Ranged Volume" to create this strategy.
Thank you "junyou0424" for granting me permission to use "DCA Bot with SuperTrend Emulator" which I used for adding bot inputs, calculations, and strategy
What does this do?
This script is mainly used for backtesting a Ranged Volume strategy to see how a 3Commas bot would perform.
I created this script out of necessity and I wanted a way to test a 3Commas DCA bot with a strategy based on “Volume.” 
I came across "EvoCrypto’s" "Ranged Volume" study and strategy in TradingView and I liked it. I wanted to configure it so it can be used for DCA bot backtesting. I used parts from "junyou0424’s" "DCA Bot with SuperTrend Emulator" to add the following:
1.	The Start Time and End Time 
2.	Price deviation to open safety orders (%)
3.	Target Take Profit (%)
4.	Trailing deviation
5.	Base Order and Safety Order
6.	Safety order volume scale
7.	Safety order step scale
8.	Max safety orders
In addition to the above, I also added chart indicators for "Take Profit" as well as "Safety Order" 
Pre-requisites:
You can use this script without a 3Commas account and see how 3Commas DCA Bot and Ranged Volume strategy would perform vs. a non-DCA strategy. However, I highly recommend signing up for their free account and going through their training. This would give you a base understanding on the settings you will see in this strategy and why you will need to know them.
That said these are the pre-requisites I suggest you have:
1.	Base Knowledge of 3Commas DCA bots
2.	Base knowledge of settings such as “Max safety trades count”, “safety order volume scale” and “safety order step scale”. If these are alien to you, I suggest you read up on these.
3.	Knowledge of setting up a Single-pair 3Commas bot for receiving custom TradingView signal.
4.	A paper-bot to test your ideas. (Do not use a real money bot until you have tested it sufficiently with a paper-bot. You alone are responsible for your results!)
5.	Add the study I created called "R3c0nTrader’s Ranged Volume Study” which adds a separate chart in its own pane showing the volume spikes. It will also generate the “buy” signals for your bot. NOTE: The study also has the same color scheme as this strategy and having the colors in both the strategy and the study will make things easier to see. If you use EvoCrypto’s Ranged Volume Study instead, just keep in mind that the colors won’t match, and you will have to manually match them. 
6.	Make your buy signals from your strategy are the same as in your study! To do this, use the same “Volume Range Length” you entered in the STRATEGY and enter that value for the “Volume Range Length” in the STUDY. Also ensure you have the same settings for “Heikin Ashi” (On or Off).
Comparisons of Ranged Volume Strategy vs Ranged Volume DCA Strategy
BTCUSD
  
 
Beware of Strategies that claim super high profits. This can easily be done by lowering the initial capital to something unrealistic. If I did that with this strategy and set the initial capital $100 and base order size to $100, I get a net profit of 2,864% which is not realistic.
How to Use
1.	On the “Inputs” tab:
a.	Set your Start and End Time to backtest against.
b.	Set your “Volume Range Length” (number of bars to look back)
c.	“Heikin Ashi Colors” – Usually I leave this enabled
d.	“Show Bar Colors” – Leave enabled
e.	“Show Break-Out” – Leave enabled
f.	“Show Range” – Leave enabled
g.	Set your other inputs which are those settings you would find in your 3Commas bot that you want to test (e.g., Price deviation to open safety orders, Target Take Profit, Base order, Safety order, etc.). 
h.	Quick Example for BTCUSD on 2hr chart:
   i.	Price deviation to open safety orders (%) = 6
   ii.	Target Take Profit (%) = 14
   iii.	Trailing deviation = 0
   iv.	Base order = 100
   v.	Safety order = 200
   vi.	Safety order volume scale = 2
   vii.	Safety order step scale = 1.4
  viii.	Max safety order = 5
2.	On the “Properties” tab, set your initial capital, base currency, etc. 
   a.	Initial capital – Default is 10,000 (Please use realistic values here. The amount here should be able to cover ALL your safety orders if they were triggered. Ideally, you should have funds left over and not use all trade capital.)
   b.	Base currency – Select your currency
   c.	Order Size - Not used. Use the “Inputs” tab to change your base order size.
   d.	Leave “Pyramiding” set to 999. This acts as a ceiling to the “Max safety orders” on the “Inputs” tab. It must always be higher than your “Max safety orders.” For example, if you set your “Max safety orders” to “4” and “Pyramiding” to “4” then it effectively means you have “3” “Max safety orders” and not “4” because it is counting each successive entry including the initial order. 
   e.	“Commission” - Optional 
   f.	 “Verify price for limit orders” – Leave at zero. This does not change anything that I can tell.
   g.	Optional - Enter a value for “Commission”
   h.	Slippage – Optional. Slippage does not occur in backtesting but does occur in real trading but it can be simulated. Example use case for tracking performance of a real money bot: You enter the start date and time of your bot’s trade into this strategy and you notice some values are a little off due to slippage (average price, take profit, safety orders are not lining up) then you would go back here and increase the slippage until those lines up close enough with your actuals.
   i.	Margin for long positions – I don’t use this honestly.
   j.	Margin for short positions – I don’t use this honestly.
   k.	Recalculate “After order is filled” and “On every tick” – I don’t use this honestly.
3.	“Style” tab
   a.	Ranged Volume Bar Coloring - You must disable bar coloring in any studies you added or this may not work properly
      i.	Color 0 – Default Yellow; appears when a volume breakout occurs
      ii.	Color 1 – Default Red; appears when a volume breakdown occurs
      iii.	Color 2 – Light Blue; appears when Close is higher than the Open
      iv.	Color 3 – Dark Blue; appears when the Close is lower than the Open
   b.	Take profit – Default Green; take profit line
   c.	Safety order – Default Light Blue; safety order line
   d.	No Safety Orders left – Default Red; when a trade runs out of safety orders, the line turns red and there is no safety orders left underneath to catch any further falling price movements.
   e.	Avg Position Price – Default Orange; your average position price for any given trade.
   f.	Take Profit Plot Area – Default Green; creates a highlighted area for your take profit
   g.	SO Plot Area – Default Light Blue; creates a highlighted area for your safety orders
   h.	Trades on chart – Show or hide your trades on the chart
   i.	Signal labels – Show or hide the trade signal labels on the chart
   j.	Quantity – Show or hide the trade quantity on the chart
Explanation of Chart lines and colors on chart
   
Villa Dinamic Pivot Supertrend StrategyThis strategy works better on AUD/USD in the 15 min timeframe. It uses the Pivot Supertrend to enter trades based on different filters such as:
- Simple EMA filter: that the 3 EMAs should be in order
- DEMA angle: you can choose the DEMA Angle threshold and the look back to check the angle to just trade trades with DEMA at a certain angle
- Simple DEMA filter: just check if close is above or below DEMA
- Take Every Supertrend Signal: this means to take every normal supertrend signal to not just wait for a pivot supertrend signal to enter a trade (specially on long pivot supertrend periods)
- Stop Loss at Supertrend: this means that the stop loss will be at the Normal Supertrend, if false the stop loss will be placed at the ATR level selected.
- 2 Steps Take Profit: this means if you want to close a percentage of position as soon as the normal supertrend crosses the entry price, you can select the % on the "2 Steps TP qty" input
- Stop Loss ATR Multiplier: if Stop Loss at Supertrend is off this will be the stoploss based on the atr
- Take Profit ATR Multiplier: if Stop Loss at Supertrend is off this will be the takeprofit based on the atr (you have to keep in mind that the ratio between this two will make the Risk to reward ratio of the take profit when the Stop Loss at Supertrend)
- Testing: to avoid overfitting, you can select date ranges for backtesting and forwardtesting and select which testing you wanna do
Loft Strategy V4This strategy is an advanced version of the Loft Strategy V1, I shared earlier. (Loft Strategy V1 consists of a kalman filter (by  alexgrover ) and a "stop and reverse" line which is following and the kalman filter. If the price goes in the same direction as the position side, the "stop and reverse" line approaches the kalman filter as set on the "Approach Decrease Step" parameter.)
In addition to the previous version, it includes a martingale like deviation and multiple take-profit.
 Here it is some parameters definitions of the strategy: 
 
 Kalman Filter:  The higher this parameter, the faster and more aggressive the filter. Otherwise the filter goes very smoothly
 Beginning Approach:  First approximation as a percentage of stop-n-reverse line
 Final Approach:  Minimum approximation of stop-n-reverse line
 Approach Decrease Step:  If the price moves in the same direction as the strategy, the approach percentage is reduced by this parameter. Otherwise nothing do
 Base Order Quantity:  Initial capital of position
 Max Safe Order Attempt:  This parameter determines the maximum number of times the strategy will raise the bet after losing in a row.
 Safe Order Deviation:  if the last trade is loss, multiply the bet by this parameter (aka. martingale factor)
 Profit Deviation:  if last trade in loss, multiply the take-profit points
 Max Order Quantity:   Maximum capital allowed for a position
 TP1, TP2, TP3 :  Take profit spots in percentage
 QT1, QT2, QT3:  Amount of take-profit spots
 Stop Loss:  Maximum stop loss allowed for a trade
 Long Entry, Short Entry:  Only long side, only short side or both side
 Safe Stop After TP2:  If the price reaches the TP2 point, move the stop-loss point to the entry price.
 Safe Stop After TP1:  If the price reaches TP1, move the stop-loss point to the stop-n-reverse line.
Uptrend and Oversold Index Swing Trading System 8H--- Foreword ---
The Overbought and Oversold Index Swing Trading System or short: I11L Hypertrend primarily uses money management Strategies, EMA and SMA and my momentum Ideas for trying to produce satisfactory Alpha over a timespan of multiple years.
--- How does it Work? ---
It uses 20 different EMA's and SMA's to produce a score for each Bar.
It will credit one Point If the EMA is above the SMA. 
A high score means that there is a strong Uptrend.
Spotting the strong Uptrend early is important. 
The I11L Hypertrend System trys to spot the "UPTREND" by checking for a crossover of the Score(EMA) / Score(SMA).
A low score means that there is a strong Downtrend.
Its quite common to see a reversal to the mean after a Downtrend and spotting the bottom is important.
The System trys to spot the reversal, or "OVERSOLD" state by a crossunder of the Score(EMA) / Score(SMA).
--- What can i customize? ---
-> Trading Mode: You can choose between two different trading modes, Oversold and Overbought(trend) and Random Buys to check if your systems Profitfactor is actually better then market.
-> Work with the total equity: The system uses the initial capital per default for Backtesting purposes but seeing the maximum drawdown in a compounding mode might help!
-> Use a trailing SL: A TSL trys to not lose too much if the trade goes against your TP
-> Lookbackdistance for the Score: A higher Lookbackdistance results in a more lagging indicator. You have to find the balance between the confirmation of the Signal and the frontrunning.
-> Leverage: To see how your strategie and your maximum Drawdown with the total equity mode enabled would have performed.
-> Risk Capital per Trade unleveraged: How much the underlying asset can go against your position before the TSL hits, or the SL if no TSL is set.
-> TPFactor: Your risk/reward Ratio. If you risk 3% and you set the ratio to 1.2, you will have a TP at 3 * 1.2 = 3.6%
-> Select Date: Works best in the 8H Timeframe for CFD's. Good for getting a sense of what overfitting actually means and how easy one can fool themself, find the highest Profitfactor setting in the first Sector (Start - 2012) and then see if the second Sector (2012 - Now) produces Alpha over the Random Buy mode.
--- I have some questions about the System ---
Dear reader, please ask the question in the comment Section and i will do my best to assist you.
 TTP Grid BacktesterThis pine script strategy allows to backtest Grid bots.
 This initial version offers the following features: 
- Set the top and bottom limits of the grid
- Plots the average position price, realised and unrealised profits
- Set the value to invest 
- This script is a strategy so you can check each individual buy/sell, stats and all included with strategies
 What does it do: 
- Depending where is located the initial close price relative to the grid (above, below, inside) it will buy for as many levels are above the price.
- It will disable a level that recently filled an order (in the way grids bot do)
- When the grid starts it will disable the closest grid level
- It places limit orders in the active levels and many levels can be filled in a single candle
- You can activate recalculate on each order filled, which will allow to fill further needed orders if the price swings up and down crossing multiple times multiple grid levels but I have found that doing this can compromise the accuracy of the price used on those levels (there are minor gaps between the filled price and the original level price)
 How to use it: 
- When you add this strategy to the chart you will be asked to select the top and bottom limits of the grid
- Notice you can always select the strategy in the chart and drag and drop the limits to adjust the grid
- Once the grid is in place, you can use either lower chart timeframes for higher accuracy of the stats, or higher timeframes if you want to privilege longer periods of testing
 How to set the correct "initial capital" 
In order to prevent getting wrong stats you need to make sure you are using the correct initial capital. If you put less than what you are actually using your results will be over inflated. If you set an initial capital below what the bot requires, your results will be smaller than they should.
- If you want to use exactly 100% of the capital for the grid use then first select what amount per level you want to use. Set this value in the settings of the indicator (if you are trading BTCUSD pair, how much BTC you want to use per level, 0.01 for example). 
- Once you have set this value, then open the TradingView "Data Window" to be able to visualise the calculation of cash required to run the grid that the strategy is giving you. In our example with BTCUSD this value will be given in USD. 
- Enter this amount in the "Properties" tab, "Initial Capital". If you enter the exact amount you will be using all for the grid usage.
- The grid first action will be to buy 0.01 for each level that is above the current price in the first candle of the chart. If there are no levels above it won't do any initial investment.
- The rest of the cash will be use to buy levels below if the price goes to the lower range of the grid later
 Intention of this script 
I built this script to help me understand better how grid bots work. 
Understanding the flow of realised vs unrealised profits in a grid can help me understand why sometimes even if you are in red on unrealised profits, you can still compensate with realised profits and many other tricky scenarios with grids.
Sometimes I'm running a grid bot and would like to simulate how much better (or worst) it would have been to run it using different limits.
 Future work and ideas 
Initially I'm focusing on confirming that the grid behaves correctly and that the stats are as accurate as possible. 
That is the first priority.
Once I feel more confident with the accuracy I will consider adding some of the following ideas (not in any particular order):
- Table with stats including: price of each level, times the level filled an order, times it was use for selling/buying, etc. Time it took to become in realised profit. Comparison against profits from buy & hold.
- Trailing TP/SL
- Entry/exit price
- Trading time window: only trade between the specified dates/times
- Alerts
3 Candle Strike SPY Option StrategyImportant notes: 
1. This strategy is designed for same day SPY option scalping. All profit shown in back testing report is based on Profit/Loss (P/L) estimates from trading options with approximately 7.5 weeks of data. By default, it is set to 10 option contracts. By default the initial capital is set to $5000. 
2. This strategy also takes into account of extended market data, so turn it on for it to work as intended. 
3. This strategy is mainly developed for SPY trading on 1 min chart, it probably will not work with other tickers without tweaking all the parameters first. 
4. At the time of publish, the market is experiencing high volatility. Keep that in mind as market conditions changes constantly.
 How it works: 
Basic idea of this strategy is to look for 3 candle reversal pattern within trending market structure. The 3 candle reversal pattern consist of 3 consecutive bullish or bearish candles, followed by an engulfing candle in the opposite direction. This pattern usually signals a reversal of short term trend (a.k.a pullbacks). This strategy uses multiple moving averages to filter long or short entries. For example, if the 21 smoothed moving average is above the 50, only look for long (bullish) entries, and vise versa. There are settings to change these moving average periods to suit your needs. Linear Regression to determine whether the market is trending. The 3 candle pattern is more successful under trending market.
This strategy aims for approximately 1:3 risk to reward ratio. Stop losses are calculated using the closest low or high values for long or short entries, respectively, with an offset using a percentage of the daily ATR value. This allows some price fluctuation without being stopped out prematurely. Price target is calculated by multiplying the difference between the entry price and the stop loss by a factor of 3. When price target is reach, this strategy will set stop loss at the price target and wait for exit conditions to maximize potential profit. 
By default, the strategy signals a trade in the opposite direction if the previous one had resulted in a loss. Often times, this opposite trade results in profit.
This strategy automatically signal to close all trades at 3:50 pm EST at the end of the day.
 Enjoy~!!! Let's all make $$$
Trend Follower Strategy v2 [divonn1994]The Trend Follower Strategy that I made classifies red and green candles into tiny, small, and big sizes and will send buy or sell signals depending on if the candle is classified as "big" so you get into and out of a position when there is a big candle. Out during a big green candle to take profit. Out during a big red candle in case the market is turning down. It also won't enter a position unless there is positive EMA momentum.
For the chart there is a Buy and a Sell signal. Buy = 1, Sell = 0, and when the value crosses above or below 0.5 it will trigger a long position or close the long position. The graph isn't necessary to the strategy, but can help with visualizing the trade patterns in the past if you like.
This strategy works best so far with these coins at time of posting (March 4th, 2022): 
KCSUSDT (621x profit), HTUSDT (45x profit), LUNAUSDT (45x profit), BNBBTC (1553x profit), ETHBTC (219x profit), KCSBTC (1222x profit), LUNABTC (83x profit), FTMBTC (52x profit).
It can work with other pairings, but I personally like these pairings best. I didn't test it with coins outside of the top 100 coins by market cap. Use it however you want.
Works best on 1 Day charts.
The strategy would rather be in the market than out. It gets out when it see's a red flag, but can immediately go back in in the next bar if the red flags are all gone. So it makes a lot of trades.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update: This is the same strategy I uploaded before but I made the code Open for anyone to check it out and so it has a similar description as the previous version. Let me know what you think. I'd remove the old version if I could, but I guess it's site policy to not be able to remove scripts that have been uploaded.
Titan EMA Averaging Strategy  - (DYOR) By MrCryptoTitan EMA Averaging Strategy (VIP Only) Enable Longs or Shorts only Works With Crypto + Forex with correct back tested settings This is not set and forget. This requires you to back test and have relevant Risk Management in place.
The Strategy: The script uses 3EMA with engulfing candle to enter a trade in either short or long direction.
You will need to test the settings and adjust them so there isn't too many - re-entries and make sure you take profit big enough to not trigger on same candle.
When setting alerts you can use once per bar however this may trigger multiple alerts if the candle is moving very fast so this is not recommended. So doing once per bar close will mean entry is confirmed as bar is closed. You will need to select this in drop down menu.
- Max Trade Limit.
- All in one Alert. - Basically add syntax for example-  Long/Take Profit/Re-entry/Emergency Stop. Then add one alert and select "Alert() function calls Only"  Change Alert name to custom. That's it.
-Built-in Strategy tester.
- Trade Filter - Multi-MA Filters. - MA", "EMA", "WMA", "HullMA", "VWMA", "RMA", "DEMA", "TEMA", VWAP
                     - ADX Filter based on Level.
Please note when running this strategy you can only trade longs only or shorts only for this setup to be potentially profitable.  Also note that setting unrealistic profit targets will make a loss. So it is very important to back test everything.
This Script does not use any Security functions. All indicators which are used part of the strategy are obtained from Trading View indicator Library and have source code has been changed to make this into Strategy.
Please Do Your Own Research before using this. 
Anymore information please DM me directly
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. 
Seer by EY84This is a strategy based on Exponential Moving Averages or Volume Weighted Moving Averages against Adaptive fib resistance / support level and profit percentage which can be definetly defined by user and targeting small profits(profits will be raised by leverages).
In this strategy, there are predefined values which are collected one by one with statistical background and backtests. This gives an advantage to see which ratios are working better for each symbol.
Also this statistics are re-evaluated monthly and if there is a need they are goging to be changed with the help of libraries. Also IT IS RECOMMENDED TO USE IN HOURLY INTERVAL GRAPHICS!!!! 
When we deep dive to strategy, it is based on profit percentages. it is similar to the MOST system. MOST only changes the way with default value of %2. But this hardcoded strategy is not working well with each Symbol.
So this is the point where Statistics are involved. 
For Ex. while BTC is suits well with %2, it does not do wonders for RSR or RUNE which is 4-5% for each.
Library stores these values as a predefined options. Also it is allowed to change these predefined values within the settings of this strategy.
what is next ? Lets see how are we closing the positions.
Script checks cross of EMA / VWMA and adFib to decide open a position. In reversal / crosses, adFib line had been set to defined Fib. Percentage level. This sets the Full Position close / SL value for current order.
OK! we got the SL but how we get the profit ?
Now this is the place where Profit Percentage (PP) parameter involved. After the position opened it is waiting for PP to be reached. After PP had been reached, close signal had been raised for the HALF of the OPEN ORDER (with the BAR CLOSURE!!).
so tricky part has come here. Remaining position is still open and when "total available profit with remaining amount" had been reached to PP it wil raise the Close Half signal will be raised.
what happens to the SL position ? TWO possible scenarios will be raised here.
Case 1. Reversal on the adFib (short-to-long or long-to-short) will trigger full close signal.
Case 2. If the level drops the previous signal system will generate full close signal again.
Example 1:
Long Order Open : 100$
Half Close Signal : 110$
Case 1: adFib Reversal occurs : 105$ ==> Triggers Full Close Signal with Short Order.
Case 2: Price falls : 100$ ==> Only Triggers Full Close Signal.
Example 2:
Long Order Open : 100$
Half Close Signal : 110$
2. Half Close Signal : 121$
Case 1: adFib Reversal occurs : 115$ ==> Triggers Full Close Signal with Short Order.
Case 2: Price falls : 110$ ==> Only Triggers Full Close Signal.
Beside of these, strategy is also includes editable 4 EMA, 1 WMA, 1 AVWAP and Bollinger Bands Plotting (2.5x Multiplier) who wants to use them as a supportive statistics.
All feedbacks are welcome.






















