Cyatophilum Scalper [BACKTEST]

cyatophilum Updated   
This indicator comes with a backtest and alert version. This is the backtest version. Its purpose is to create low timeframe and scalping strategies, by choosing from a list of built-in entry points which are described in detail below, and by configuring a risk management system to your liking.

Before diving into the entry points, I will explain the strategy and risk management settings.

These 3 settings allow to choose your strategy direction, and main behavior.
- Go Long ↗: activate or deactivate long entry points.
- Go Short ↘: activate or deactivate short entry points.
- Reversal strategy ↗↘↗↘: Activate this option will allow trades to reverse position from an opposite entry point. Keep it deactivated and trades will either wait a TakeProfit(TP) or StopLoss(SL) to be closed. When neither SL nor TP or set, this option is automatically activated.

StopLoss settings:
Both Long and Short SL can be activated and configured.
The base % price is the starting point of the stoploss, in a percentage of current price.
Trailing stop, when activated, works with 2 settings:
- % Price to Trigger: a percentage of current price the price should move in a bar to trigger a trailing movement.
- % Price Movement: the stoploss variation in a percentage of current price that moves on each bar.

TakeProfit settings:
Both Long and Short TP can be activated and configured.
The base % price is the value of the TP, in a percentage of current price.
Trailing Profit Deviation %: Percent deviation for the trailing take profit.

DCA stands for Dollar Cost Average. The idea is to open additional orders from the base order so as to improve risk management.
These additional orders are also called Safety Orders. The indicator can handle up to 9 safety orders.
The strategy will exit either from a take profit based on percentage from base order or from a total volume percentage (Configurable in the parameters).
The steps spacing (space between each step) and safety orders volume (order size) can both scale by adding a scale multiplier.

By choosing from the base strategy dropdown menu, the indicator will generate entry points.

-> Low timeframes spot trading, with simple buy and sell orders.
How it works:
The indicator used is a combination of QQE (Atr based trend following indicator) and RMA 100 trendline.
I think the QQE does a great job in low timeframes because it is not impacted by the noise.
The RMA which is the moving average used in the RSI, will help giving confirmation to the entry points.
How to use:
It is meant to be used as a reversal strategy, but you can add a TP or SL if you want.
When comparing to Buy & Hold, make sure to deactivate the "Short results in the backtest" setting.

-> A strategy for low timeframes trading.

How it works:
The strategy creates high volatility entries filtered by a duo convergence of adaptive trendlines (Adaptive HULL MA using the chart's resolution, Adaptive Tilson T3 using 1H resolution) and a higher timeframe (1H) RSI filter (long threshold: 70, short threshold: 40, RSI length: 10).
How to use:
Must be used on charts with a resolution smaller than 1H. Recommended: from 1m to 30m.
Must NOT be used as reversal strategy. Use it with a take profit and stop loss, and DCA if you can.
Sample risk management settings:

3. Support/Resistance BREAKOUTS
-> Trade low timeframes pivot points breakouts.

How it works:
The indicator calculates the 100 previous bars swing high and low. Any break above high or below low will trigger an entry point.
The entry is however filtered by an Adaptive Tilson T3 Trendline, an ADX 30 minimum threshold and a minimum average volume threshold.

How to use:
I recommend to click "Reversal" Strategy and set a Takeprofit target.
Find the best timeframe between 1m and 30m using the backtest version.
Example here with BTCUSDTPERP on 15m:

-> Lots of trades in low timeframes.

How it works:
Created using Cyato AI, Higher/Lower Highs and Lows and 2 HULLMA crosses as entries, and 2 Adaptive Tilson T3 as trendfilter, a 25 ADX threshold filter and a volume filter.

How to use:
Recommended Risk Management settings: Takeprofit, Stoploss and DCA (Safety orders).
Find which timeframe work the best from 30 min and below. Should not be used above 30 min since this is the resolution for the MTF Tilson.

How to create Strategy Alerts:
Write your alert messages for EXIT, LONG and SHORT orders in the settings (Backtest section).
Then click add alert, and in the alert message, write the following:

- Inital capital: 10 000$
- Base order size: 0.1 contract (0.1 btc)
- Safety order size: 0.1 contract (0.1 btc)
- Commission: 0.1%
- Slippage: 100 ticks

Oldest trade: 2020-08-31
Backtest Period: From 2020-08-31 to 2020-11-12

Configuration used: see the live chart configuration panel at the top.

To gain access to this paid indicator, please use the link below.
Release Notes:
Bug fixes:
Regarding the safety orders, in rare cases a step wasn't triggered when it should.
The reverse order on stoploss option now works with safety orders activated.
Release Notes:
Added option to move the Configuration Panel to the right or left.
Release Notes:
Updated backtest period settings & added strategy alerts for DCA (safety orders)
Release Notes:
Configuration panel udpated: smaller and better placement.

Added new alert system!
To use it:
1. Write your alert messages in the indicator settings (alert section at the bottom)
2. Click "Create Alert" as usual, but choose "alert() function calls only"

That's all! You will receive alerts for every event.
Release Notes:
Added alert messages for DCA.
Release Notes:
Added new strategy : "SAFE SCALPING"
Based on my RSI divergences indicator using a RSI length of 7 and a lookback of 125.
The tide/global trend is highlighted by a 100 bars Tilson T3 of 4 Hours resolution (only using past candles to avoid repainting).
The curent resolution trend is handled by a 200 ema.

This strategy must be used with stoploss and take profit, and can be used with or without DCA though DCA is always recommended.
Release Notes:
Release Notes:
- Max number of safety orders increase to 100, but only the first 22 will be plotted due to graphic limitations.
- Trailing Take profit using "once per bar" behavior improved.
Release Notes:
You can now prevent alerts from getting triggered if you leave the alert field empty.
Release Notes:
Indicator inputs update:
- Added tooltips
- Added checkboxes for alert messages
Release Notes:
small details I forgot
Release Notes:
Improved Trailing Take Profit behavior. Sometimes it would exit too early.
Release Notes:
BugFix DCA volume scale: the scaling now starts at 2nd DCA
Release Notes:
It is now possible to retrieve the DCA order size in the alert message.
In your DCA long or short alert message, writing {order_size} will be replaced by the DCA order size.

"Order size is {order_size} contracts"
will be replaced by:
"Order size is 5 contracts"
Given the current safety order size is 5.
Release Notes:
DCA / Safety Orders
Both base and safety order size no longer is in contracts but in either fixed currency amount or % of Equity.
Release Notes:
Added a secondary Take Profit option & alert
- Configure your 2nd target in % (should be bigger than the 1rst)
- Configure the % quantity to exit on the 1rst Take Profit, between 0 and 100. The remaining % will be exit on the 2nd TP.

-> A useful feature to improve your strategies risk management!

Added new Backtest Results panel
You can disable it by going in the style tab -> tables, or by clicking the indicator setting "Backtest Results Table".
You can also change its size if you want to make it bigger or smaller.
Release Notes:
You can now write {position_size} in the alert messages in the indicator settings and it will be replaced by the value.
Release Notes:
Perfomance optimisation - Fix for long alert messages that caused a timeout
Release Notes:
Writing "\n" in alert messages now creates a newline.
Release Notes:
When using DCA and with DCA alert type set to "once per bar" (default), the backtest will now place an order at the exact same time as the alert. This update also fixes the issue of DCA being skipped due to oen candle crossing several steps at once.
Release Notes:
Added a "Contracts" option for safety orders' size. Useful for stock and futures.
Release Notes:
Converted to pine v5
Added information in the backtest panel: required initial capital, amount of SO used, max days in a deal.
Release Notes:
Bug fixes: dca not closing on take profit
Release Notes:
Added new strategy 'MACD + EMA + ADX' and updated alert input fields
Release Notes:
Added alert placeholders
All alerts:
{price} will return the close price
{ticker} symbol name without exchange prefix
{tickerid} symbol name with exchange prefix
Buy & Sell alert:
{TP}, {TP2}, {SL} will return the TP & SL prices
Release Notes:
Added Take Profit and Stop Loss mode for 'Pips' calculation, in addition to '%'.
Updated backtest panel.

🔥Get the Cyatophilum Indicators today and automate them on Binance! =>

Discord Server:

I am taking PineScript Commissions ✔
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact cyatophilum for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

This indicator access can be purchased through a subscription on my website:

Want to use this script on a chart?

Warning: please read before requesting access.