Gann HiLo Activator Strategy█ OVERVIEW
Strategy based on the Gann Hilo Activator . This is a trend following strategy, which means it will go long (and close the previous short position) once the price closes above the high SMA, and go short (and close the previous long position) once the price closes below the low SMA.
█ PARAMETERS
- Length
- Displace (or offset): default is 1
- Begin from start: strategy will run since the beggining
- From year, month, day: Choose an specific date to start backtesting (must disable the parameter above to work)
█ HOW TO USE
After choosing the start date to run the strategy, you can change the length field and look at the backtest results to find the most optimal settings for the current symbol.
This strategy was tested on the stock and crypto market with good results. Hope you enjoy!
Análise de Tendência
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.
Volume fight strategyThe Volume fight strategy looks for the predominance of bullish or bearish trading volume on the chart by dividing the trading volume in the bar into 2 parts - "bullish volume" and "bearish volume", and comparing the weighted average values by volume with each other at a given distance.
This strategy is suitable for any instrument (cryptocurrency, Forex, stocks) and is able to work on any TF.
The Volume fight strategy should be used as an auxiliary indicator that tells you who is currently prevailing in the market - " bulls "or"bears".
To configure the strategy , it is necessary to set the range of evaluation of the predominance of bullish or bearish volume (the number of bars, by default-24 bars for TF=1H). The smaller the TF, the higher the range value should be used to filter out false signals.
When there is a predominance of "bulls" on the chart, a green triangle appears (relevant at the close of the bar) and the histogram is highlighted in green, when "bears" appear on the chart, a red triangle appears (relevant at the close of the bar) and the histogram is highlighted in red.
In the strategy settings, there is smoothing to reduce false signals and highlight the flat zone by specifying a percentage, at least which should be the difference between the forces of the "bullish" and "bearish" volume . If the difference between the volume forces is less than the specified one (by default-15%), the zone is considered flat and is displayed in gray on the histogram.
If you set the percentage to zero, the flat zones will not be highlighted, but there will be much more false signals, since the strategy becomes very sensitive when the smoothing percentage decreases.
There is a function-to show the color background of the current trading zone. For" bullish "- green, for" bearish " - red.
In the settings, you can enable the display and use of each signal in the trading zone, not only the initial one, but also each after the flat zone. By default, only the signal of the beginning of the ascending/descending zone is used.
The strategy has alerts for "bullish" and "bearish" movements.
👉Use alerts - "alert() function calls only"
If you have any questions, you can write to me in private messages or by using the contacts in my signature.
----------------------------------------------------
Стратегия Volume fight ищет на графике преобладание бычьего или медвежьего объёма торгов путём разделения торгового объёма в баре на 2 части - "бычий объём" и "медвежий объём", и сравнения средне-взвешенных значений по объёму между собой на заданной дистанции.
Данная стратегия подходит для любого инструмента (криптовалюта, Forex, акции) и способен работать на любом ТФ.
Стратегию Volume fight следует использовать как вспомогательный индикатор, который подсказывает Вам кто сейчас преобладает на рынке - "быки" или "медведи".
Для настройки стратегии необходимо выставить диапазон оценки преобладания бычьего или медвежьего объема (количество баров, по умолчанию - 24 бара для ТФ=1Ч). Чем меньше ТФ, тем выше следует использовать значение диапазона, чтобы отфильтровать ложные сигналы.
При возникновении преобладания на графике "быков" появляется зелёный треугольник (актуален по закрытию бара) и гистограмма подсвечивается зелёным цветом, при возникновении на графике "медведей" появляется красный треугольник (актуален по закрытию бара) и гистограмма подсвечивается красным цветом.
В настройках стратегии есть сглаживание для уменьшения ложных сигналов и выделения зоны флета с помощью указания процента, не менее которого, должна быть разница между силами "бычьего" и "медвежьего" объёма. Если разница между силами объёмов меньше заданного (по умолчанию - 15%), то зона считается флетовой и отображается на гистограмме серым цветом.
Если выставить процент равным нулю, то зоны флета выделяться не будут, но будет гораздо больше ложных сигналов, так как стратегия становится очень чувствительной при снижении процента сглаживания.
Есть функция - показывать цветовой фон текущей торговой зоны. Для "бычьего" - зелёный, для "медвежьего" - красный.
В настройках можно включить отображение и использование каждого сигнал в торговой зоне, не только начального, но и каждого после зоны флета. По умолчанию - только сигнал начала восходящей/нисходящей зоны.
Стратегия имеет оповещения для "бычьего" и "медвежьего" движения.
👉 Используйте оповещения - "Только при вызове функции alert()".
По любым вопросам Вы можете написать мне в личные сообщения или по контактам в моей подписи.
[MAD MBS] L5 RiskManagementL5 RiskManagement of the "Modular Backtest System" series is a part from a framework of modules to easily implement custom strategies more ore less like "drag and drop"
This is the risk management module that uses my "multibit" signal communication
All this here in the interactive screenshot represents the whole framework, when interconnected and after propper configuration.
Some modules that have already been released or are planned to be released in the near future
Wavebuilder module (SMA EMA HMA,..)
Multispikes module
..... no idea what will come here next
Bollinger module
Statistics module
..... some ideas here (Trends,... Multitimeframe stuff)
Processor x8
Processor x16-x64
Risk management (contains an alert builder to generate commands for external webhook trading bots.
------------------------
What can this risk management do?
Classic position handling from DCA to breakout
Multiple targets
position risk management by intelligent reduction of positions in case of overinvestment
Stop
Marketmaking
SL automatically move profit after takeprofits
Position change strategies
and much more...
Statistics about all your positions including TP1, TP2, TP3, SL's,...
Testing own indicators:
Create a signal like this here inside your indicator and map the two outputs correctly
signalout = 0
signalout := (signal_buy? 1: signal_sell? -1: 0)
BM_color_signal = signal_buy? #4C9900 : signal_sell? #CC0000 : color.black
L_digital_signal = plot(signalout, title ="Digital signal", color=BM_color_signal, transp=0, style=plot.style_columns, display=display.none)
after this you use
set input to -1 0 1
daisychaint the stuff correctly together including signal mapping and you are ready to go
Chain looks like this:
L1 (your indicator)
L3 processor
L5 risk management
Some screenshots with finished configuration and different L1 signalsources
The libary used for this project
Pairs Trading (basic OLS regression)Pairs trading using hedge ratio.
Firstly, it calculates hedge ration using OLS linear regression.
Then it calculates spread and z-score of spread.
if spread in specific range (which it's possible to change in settings) it makes Long/Short orders.
The very basic script.
adx efi 50 ema channel, trend pullbackHi so this strategy is based off 50 ema channel and the 15 ma crossing it to generate signals. But with my adjusted strategy it's a 10 rma crossing 50 ema channels and a 5 and 9 wma to help see pullbacks. 50 period bollinger bands to gage volatility a0nd help during range markets. The strategy signals are generated when longer period efi is above 0 and shorter period efi is below zero and price has pulled back near 50 ema to buy long. And the reverse for shorts, I made this to help me trade more mechanically and to trade 1 minute time frame, that's where the strategy seems to Excell the most, I developed it on eur usd but a brief check seems like it still is profitable on gbp usd aud usd usd jpy I only trade the forex market so not sure about stocks and crypto. If you get signals I would place buy stops and sell stops above high and low of respective signal candle and let price take you into trade. Also adx 20 has to be greater than 20 to take trades. Let me know if this is helpful. I've only been coding for a month so it might look sloppy the way it's coded also there are a few other buy and sell conditions left in the source code if you want to switch between different buy and sell triggers, they all produce good results on 1 min timeframe
Hourly Bias on BTC in Bullish USA Session “Green Eagle”Name: Hourly Bias on BTC in Bullish USA Session
Category: Hourly Bias
Operating mode: Spot, only long
Trades duration: Intraday, 11 bars
Timeframe: 1H
Suggested usage: When the market is compressed, USA session has a bullish bias.
Entry: enter Long at 15:00 on specific days of the week. There is a volatility filter based on ATR which identifies compression.
Exit: exit at a pre-defined time at 01:00
Usage:
⁃ It can be useful to use alerts or webhooks to automate this strategy.
⁃ This is a core system that can be improved in different ways (e.g. Stop-loss, take-profit, position sizing) or studying more the behaviour in the specific days of the week or short when is red.
Configuration:
- N/A
Backtesting
⁃ Exchange: BINANCE
⁃ Pair: BTCUSDT
⁃ Timeframe: 1H
⁃ Fee 0.075%
⁃ Slippage 2
- Start : 2019-01-06
We decided to release this free BTC strategy.
How you or we can improve? Source code is open so share your ideas!
QaSH Percentile BreakoutsThis script makes trades when price is trending past the x percentile ranked bar closing price. Entries can be made when price crosses the threshold, or when price pulls back and forms a pivot point. It can track up to 10 entries independently as a method of pyramiding, each with its own TP and SL price, and it provides a unique order ID to each one for your automation service to use. Several entry condition filters are provided for higher quality entries. Stoploss prices can be moved to breakeven when in profit.
[Crypto] Autotrade 2.0* Auto quantity & commission = 0.06 (Binance future fee)
1. H4 timeframe: Supertrend indicator
- Long when the closes candles is above the green line.
- Short when the closes candles is below the red line.
2. H1 timeframe: Supertrend indicator
- Long when the closes candles is above the green line.
- Short when the closes candles is below the red line.
3. How signals work?
a. Short position:
- Supertrend 4h: Short, main trend.
- Wait for a corrective waves (long)
- Breakout the long corrective waves to sell (Short) follow the main trend (H4)
a. Long position:
- Supertrend 4h: Long, main trend.
- Wait for a corrective waves (short)
- Breakout the short corrective waves to buy (Long) follow the main trend (H4)
4. Backtest result (49 pairs) from Binance broker.
- 8 pairs is winrate > 60%.
- 23 pairs is winrate > 55%.
- 13 pairs is winrate > 52%
- 5 pairs is winrate
Open Price StrategyThis strategy is based on the idea of buying off the open price and then holding until the end of the trading day. It will however swap if price crosses over the open price line.
It will plot a line based on the open price at the time you select for it to search for the open price. You can also select the open price source and time frame.
Next select your entry price source and time frame which will be used to determine if price is above or below the line for entry or swap.
You can then select the time frame for when you can enter trades. This is useful if you want it to only enter and swap for the first say 30 minutes of the day then hold.
Next select your time frame to exit trades. If your ending time is 1555 for example it will exit the open trade at 1555 so that way you don't hold it overnight. You must select "Enable Close Trade At End Of Exit Time Frame" or it will hold the trade.
Lastly there's a stop loss and take profit you can enable and use. It will be up to you if you want to use it since if stop loss or take profit is hit then it will still re-enter and continue trading.
ABCD StrategyOne from many harmonic pattern that consists of two equivalent price legs. The ABCD pattern that helps traders predict when the price is about to change direction.
Tracing And Calculation
This code using pivot high and pivot low built-in method and calculate with Fibonacci Retracement.
Limitation
To find ABCD pattern is very difficult, just coming up a few from thousand candle. That why this code using little bit tolerance ratio to get more pattern.
Kitti-Playbook 2 MA Simulation R0 Jan 26 2022
Objective : Analysis the result of 2 moving averages from 12 Types X 12 Types of Moving average by realtime visualization dashboard
Study 2 MA and response to Buy Sell Signal
The movement of Equity
Simulate Money management
Type of MA
1)SMA Simple Moving Averages (SMAs) , use sma() function
2)EMA Exponential Moving Averages (EMAs) use ema() function
3)WMA Weighted Moving Averages (WMAs)", use wma() funvtion
4)RMA Adjusted exponential moving averages (also known as Wilder's exponential moving average) (RMAs)" , use rma() function
5)SWMA Symmetrically-Weighted Moving Average (SWMA)", use swma() function ( 4 prd )
6)ALMA Arnaud Legoux Moving Average (ALMA)", use alma() function
7)VWMA Volume-Weighted Moving Average (VWMA)", use vwma() function
8)VWAP volume-Weighted Average Price (VWAP)", use vwap()function
9)hull Moving Average (HMA)" use hma() function
10) Double exponential moving averages (DEMA)
fDEMA(S,L) =>
DEMA= ema(S,L)*2 - ema(ema(S,L) ,L)
11) Triple Exponential Moving Average (TEMA)
fTEMA(S,L) =>
TEMA = (3*ema(S,L)) - (3*ema(ema(S,L) ,L)) +ema(ema(ema(S,L) ,L),L)
12) CDC Action Zone V3 = EMA function
Program Flow
1) Initial Strategy Setting
2) Initial Input Setting
3) Data Processing
4) Information of System selection
5) STRATEGY Entry And Exit
6) Dashboard for result Trading result /
Trends_2022Hello everyone,
we are developing a strategy which is suited for people that likes to trade in small time frames.
Our strategy uses many indications for entries. These indicators can be used individually or better solution we combined them together for best prediction.
These indications like True Range, Average True Range , moving averages also previous bars highs, lows and closes values and finally mathematical equations to decide close price wave movement. Most of the work is in scaling price data and comparing them with the indicators to decide trend
The strategy is planned to go only long direction..
now we will discuss how each indicator is used to decide trend
* According to ATR trend prediction ...
it is up when the scaled bar price greater than ATR value
it turns down when the scaled bar price is less than ATR value
* According to MAs trend prediction ...
we use SMA and previous bar data averages then apply linReg ( Linear regression curve) this result in curve up and down zero
it is up when the value is up zero
it turns down when the value is down zero
* According to close price wave movement ...
we applied cos function on previous bars close data to get the sloping wave of close movement
If the slope is increasing ... this means the current wave value is greater than the previous value
If the slope is decreasing ... this means the current wave value is less than the previous value
Now as we mentioned before... The strategy goes only long direction.
LONG ENTRY Conditions (ANDing condition not ORing):
we can use any one of these indicators individually, or mix any two of them or use them all simultaneously
So... LONG ENTRY Conditions are as below:
if ATR trend is used .. it should be UP.
if MAs trend used .. it should be > 0.
if close wave slope is used .. it should be increasing.
On the other side… the Exit conditions are also (ANDing condition not ORing):
So... LONG Exit Conditions are as below:
if ATR trend is used .. it should be down.
if MAs trend used .. it should be < 0.
if close wave slope is used .. it should be decreasing.
Please send me private message for script authorization.
Happy trading everyone!
NSDT HAMA Candles STRATThis is a STRATEGY based on our popular HAMA Candles Indicator.
It is an "Always On" strategy, meaning it will stay in a Long position until the Short criteria shows up, and then it will close the Long position and immediately enter a Short position.
Since this is a strategy, we added a few more components. The most notable one is the grid at the top right that shows the statistics of whatever the current settings are. The user can change the MA lengths and see the potential results update in real time.
Since this is Always On and uses Moving Averages, we added an ADX setting to help filter our trades in a ranging/choppy market.
The settings will need to be adjusted to find the best fit for your instrument, chart time, and risk management plan.
TEMA/HMA/VWMACD - Short Strategy 4HAs we can discover by studying the history of BTCUSD, the fall is always swift. Confirmation of this - today's collapse. In this strategy, an attempt is made to catch such drop by using quick entry and quick exit.
Let's describe what this strategy consists of:
• TEMA (you can find this strategy separately on this page or on platform)
• VWMACD
• HMA
• Take-profit and Stop-losses
Logic:
Firstly we VWMACD (the difference between VWMACD and simple MACD is only in the way of calculating moving average) and plot it as a histogram.
Then HMA is adding as a trend filter. For easy understanding let's plot it now on chart separately.
Next step is to create and add TEMA. After it is needed to subtract slow TEMA from fast TEMA and plot this value around 0 on histogram. This is the main decision for the implementation of the short trade.
ENTRY the trade:
When VMACD is below 0 and price (src = close) is below the HMA and TEMA below 0.
CLOSE the trade:
When VWMACD is upper than 0 or price is upper than HMA or TEMA is upper than 0
You can find more strategies on tradingammo.pro.
[Hercules] Backtest FrameworkLevel: 5
Background
Backtesting of technical indicators and strategies is the most common way to understand a quantitative strategy. However, the complicated configuration and adaptation work of backtesting many quantitative tools makes many traders who do not understand the code daunted. Moreover, although I have written a lot of strategies,
However, I am still not very satisfied with the backtest configuration and writing efficiency. Therefore, I have been thinking about how to build a backtesting framework that can quickly and easily evaluate the backtesting performance of any indicator with a "long/short entry" indicator, that is, a "simple backtesting tool for dummies". The performance requirements should be stable, and the operation should be simple and convenient. It is best to "copy", "paste", and "a few mouse clicks" to complete the quick backtest and evaluation of a new indicator.
Luckily, I recently realized that TradingView provides an "Indicator on Indicator" feature, which is the perfect foundation for doing "hot swap" backtesting. My basic idea is to use a two-layer design. The first layer is the technical indicator signal source that needs to be embedded, which is only used to provide buy and sell signals of custom strategies; the second layer is the trading system, which is used to receive the output signals of the first layer, and filter the signals according to the agreed specifications. , Take Profit, Stop Loss, draw buy and sell signals and cost lines, define and send custom buy and sell alert messages to mobile phones, social software or trading interfaces. In general, this two-layer design is a flexible combination of "fixed and flexiable", which can meet the needs of most traders to quickly evaluate the performance of a certain technical indicator. The first layer here is flexible. Users can insert their own strategy codes according to my template, and they can draw buy and sell signals and output them to the second layer. The second layer is fixed, and the overall framework is solidified to ensure the stability and unity of the trading system. It is convenient to compare different or similar strategies under the same conditions. Finally, all trading signals are drawn on the chart, and the output strategy returns. test report.
The main function:
The first layer: "{Hercules/Sextan} Your Indicator Source", the script provides a template for personalized strategy input, and the signal and definition interfaces ensure full compatibility with the second layer. Backtesting is performed stably in the backtesting framework of the layer. The first layer of this script is also relatively simple: enter your script in the highlighted custom script area, and after ensuring the final buy and sell signals long = bool condition, short = bool condition, the design of the first layer is considered complete. Input it into the PINE script editor of TradingView, save it and add it to the chart, you can see the pulse sequence in yellow (buy) and purple (sell) on the sub-picture, corresponding to the main picture, you can subjectively judge that the quality of the trading point of the strategy is good Bad.
The second layer: "{Hercules} Backtest Framework". This script is the standardized trading system strategy execution and alarm, used to generate the final report of the strategy backtest and some key indicators that I have customized that I find useful, such as: winning rate , Odds, Winning Surface, Kelly Ratio, Take Profit and Stop Loss Thresholds, Trading Frequency, etc. are evaluated according to the Kelly formula. To use the second layer, first load it into the TrainingView chart, no markers will appear on the chart, since you have not specified any strategy source signals, click on the gear-shaped setting next to the "{Hercules} BTFW" header button, you can open the backtest settings, the first item is to select your custom strategy source. Because we have added the strategy source to the chart in the previous step, you can easily find an option "{Hercules/Sextan} Your Indicator Source: Signal" at the bottom of the list, this is the strategy source input we need, select and confirm , you can see various markers on the main graph, and quickly generate a backtesting profit graph and a list of backtesting reports. You can generate files and download the backtesting reports locally. You can also click the gear on the backtest chart interface to customize some conditions of the backtest, including: initial capital amount, currency type, percentage of each order placed, amount of pyramid additions, commission fees, slippage, etc. configuration. Note: The configuration in the interface dialog overrides the same configuration implemented by the code in the backtest script.
How to output charts:
The first layer: "{Hercules/Sextan} Your Indicator Source", the output of this script is the pulse value of yellow and purple, yellow +1 means buy, purple -1 means sell.
The second layer: Hercules Backtest Framework". The output of this script is a bit complicated. After all, it is the entire trading system with a lot of information:
1. Blue and red arrows. The blue upward arrow indicates long position, the red downward arrow indicates short position, and the horizontal bar at the end of the purple arrow indicates take profit or stop loss exit.
2. Red and green lines. This is the holding cost line of the strategy, green represents the cost of holding a long position, and red represents the cost of holding a short position. The cost line is a continuous solid line and the price action is relatively close.
3. Green and yellow long take profit and stop loss area and green and yellow long take profit and stop loss fork. Once a long position is held, there is a conditional order for take profit and stop loss. The green horizontal line is the long take profit ratio line, and the yellow is the long stop loss ratio line; the green cross indicates the long take profit price, and the yellow cross indicates the long position. Stop loss price. It's worth noting that the prongs and wires don't necessarily go together. Because of the optimization of the algorithm, for a strong market, the take profit will occur after breaking the take profit line, and the profit will not be taken until the price falls.
4. The purple and red short take profit and stop loss area and the purple red short stop loss fork. Once a short position is held, there will be a take profit and stop loss conditional order, the red is the short take profit ratio line, and the purple is the short stop loss ratio line; the red cross indicates the short take profit price, and the purple cross indicates the short stop loss price.
5. In addition to the above signs, there are also text and numbers indicating the profit and loss values of long and short positions. "L" means long; "S" means short; "XL" means close long; "XS" means close short.
TradingView Strategy Tester Panel:
The overview graph is an intuitive graph that plots the blue (gain) and red (loss) curves of all backtest periods together, and notes: the absolute value and percentage of net profit, the number of all closed positions, the winning percentage, the profit factor, The maximum trading loss, the absolute value and ratio of the average trading profit and loss, and the average number of K-lines held in all trades.
Another is the performance summary. This is to display all long and short statistical indicators of backtesting in the form of a list, such as: net profit, gross profit, Sharpe ratio, maximum position, commission, times of profit and loss, etc.
Finally, the transaction list is a table indexed by the transaction serial number, showing the signal direction, date and time, price, profit and loss, accumulated profit and loss, maximum transaction profit, transaction loss and other values.
Remarks
Finally, I will explain that this is just the beginning of this model. I will continue to optimize the trading system of the second layer. Various optimization feedback and suggestions are welcome. For valuable feedback, I am willing to provide some L4/L5 technical indicators as rewards for free subscription rights.
Subscription
To encourage more people use this framework and avoid some abuse this one, I would like to set
100 Tradingview Coins per Monthly Subscription.
100X10 Tradingview Coins per Yearly Subscription.
Same high/low + DCA (only long)This is an update of the previous "same high/low" strategy. This strategy can be helpful for those who look for entrance price points after level retest based on the dollar cost averaging approach.
The retest of the level is defined by two candles with the same low.
4 entrance points were calculated based on volatility (not based on ATR though) and the weights were averaged in the middle of the volatility level.
As previously, stop loss is just one tick away from a level of support and take profit based on the ATR multiplier.
Combo 2/20 EMA & Accelerator Oscillator (AC) This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
The Accelerator Oscillator has been developed by Bill Williams
as the development of the Awesome Oscillator. It represents the
difference between the Awesome Oscillator and the 5-period moving
average, and as such it shows the speed of change of the Awesome
Oscillator, which can be useful to find trend reversals before the
Awesome Oscillator does.
WARNING:
- For purpose educate only
- This script to change bars colors.
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.
Linear Channel - Scalp Strategy 15MSimple way how to use Linear Regression for trading.
What we use:
• Linear Regression
• HMA as a trend filter
Logic:
Firstly we make simple linear regression moving. It is the white line which appears on the chart.
Then we make second line (named: band2) on the chart by multiplying linreg and value difference.
The third step is to ad HMA as a trend filter.
The trade open when price is below band2, but still upper than Hullma. The trade close when price again upper than linreg.
Automated Bitcoin (BTC) Investment Strategy from Wunderbit Automated Bitcoin (BTC) Investment Strategy from Wunderbit Trading
This strategy is designed for the automated long-term investment in Bitcoin. The BTC investment strategy is primarily suitable for long-term investors who want to increase the percentage of their investments through timely trading long-term transactions. The main feature is the difference from the indicator of long-term investment. Based on their statistics, this figure is 2 times less. That is, if we just bought Bitcoin and held it, we would receive 2 times less than if we applied the BTC Investment strategy.
This strategy uses the intersection of the triple exponential moving average and the least squares moving average. We also control the profit you will make during an uptrend by implementing a trailing stop based on the ATR indicator.
This is a spot market-only strategy and can be used primarily for long-term investors. The strategy is designed to create an automatic version of investing using a webhook.
Automation allows you to safely ignore the state of your portfolio and exclude emotions.
In order to create a cryptocurrency bot for this strategy, you need to:
1. Create alerts and link the URL to the webhook.
2. Connect the TradingView strategy with automated trading service.
Same high/low updateHere I made a strategy out of my indicator. So, the trigger is double low/high on 1 week candle chart.
Entrance: close of the next candle if it's low/high higher/lower than previous one. (in most cases it's precise for backtesting)
Stop loss: long:low-one tick, short:high+one tick
Take profit: ATR*Multiplier (you can tune it in properties)
Same high/lowIf you are using support/resistance level-based strategies in your trading then this indicator can help you. I think that the retest level strategy is the best for beginners due to its simplicity of risk/reward calculations and higher abundance on the market. There is a well-known method to recognize a big player (buyer/seller) by candlestick pattern where the last two candles have the same low or same high. Moreover, abnormal candles increase the probability of a retest of a strong level, so my indicator highlights these two situations. In my opinion, a higher timeframe of a candle chart increases the win rate for this indicator (>1h).
So there are several patterns which my indicator can recognize:
1. Same low/high: blue flag up - same low, blue flag down - same high.
2. Mirror levels: high-low - green flag up, low-high - green flag down.
3. abnormal candles: yellow body if >2*ATR (please tune atr in properties, the default value is 5).
4. The red flag indicates the third candle with the same high/low in a row.
Thanks for your attention and have a good trading time!
robotrading body-limitThis is a very simple and universal strategy. Good for crypto. For BTC/USD, shitcoin/BTC .
Strategy
Long positions only. If the candle is falling and the candle body is 3 or more times the average candle body, then open a long position by limit order.
If the candle is rising, we should close a long position.
Short positions are not used.
This is a counter-trend strategy.
The average body of a candlestick is the arithmetic average of the bodies of the previous 100 bodies.
Parameters
The multiplier is the number of times the candlestick body should be bigger than the average candlestick body to get a signal to open a long position.
Recommended
- A timeframe of 4 hours to 1 day
- Cryptocurrencies with large market capitalization
- you can use coin/USD, coin/USDT, coin/BTC , coin/ETH, etc