graal_tut

Bot fib/pivot

graal_tut 已更新   
Hello, friends!

This strategy is based on the fibonacci level you choose in the setup and possible pivot points under the control of Williams’ Percent Range.

Williams' Percent Range is a dynamic indicator that detects overbought/oversold conditions.

When the possible reversal points coincide with the fibonacci level, and the high or low points according to Williams also coincide, then an entry occurs.

One of the oldest and most reliable trading tools are widely used support and resistance levels.
In this strategy, we are trying to find these reversal levels based on fibonacci.


//LOGIC ENTRY SETTINGS

Deviation-deviation from the pivot point, the lower this figure, the more entries. The yellow lines on the chart are pivot points.

Fibonacci lvl-fibonacci level, from which the entry will occur, provided that other conditions match

Highest lookback-The setting, which refers to Williams' Percent Range , looks at how many candles ago, was high or low. The smaller the number, the larger, but less accurate inputs.

//AMOUNT(USDT) FIRST ORDER AND > % NEXT
-Martingale first order (the amount of the entrance to the usdt) / next order (Increase of each subsequent order as a percentage)

//EXIT SETTINGS (%, RSI)
-Use RSI for close position? (the position will not be closed if it is in the red, even if the RSI conditions worked)
-Use % for exit? Exit immediately upon reaching the specified percentage
-Use trailing? When the checkbox is checked, the position will be exited by trailing.
Activation trail,after?- When the specified percentage is reached, trailing is activated!
Stop_trail,%- if the last candle falls from the high (after the trailing is activated), the position will be exited.
For example:
We entered the purchase at 100 per asset, activation costs 10, and stop is 2.
the price reached 110, there was an activation, after that it went up to 120, and from the high of the last candle, a 2% drop occurs and the trade is exited.

PS:The default value is 1%, what does this give us? if there is a sharp increase, then we take away all the movement

Use only long?
Allow long?- Only long trades will be displayed
Allow short? Only short trades will be displayed
Allo reverse? Upon receipt of a return signal, the opposite position will be closed.


//MARTINGALE GRID
If there is a check mark in the line "Use martingale and grid?"
then the grid will be active
If there is a check mark in the "Limit each next entry,%?" then, even if the entry from the bot logic is triggered, and the price does not fall by the specified percentage, then there will be no entry!
If there is a check mark in the "Grid,%" column, then purchases with martingale support will be added with a decrease by the specified percentage!
PS: "Grid" always starts anew, as the input from logic triggered!

//FILTER SETTINGS
1) Use filter oscillator? (The filter uses 7 averaged oscillators)
Period-the period for which you will be billing

Upper line-Short entry border.
(if 40, then there will be no entry until it reaches)

Lower line-Long entry border.
(20 until below 20 no entry)

2)Use filter range?
Filter type-moving average selection
Bars back-offset speed based on number of last bars
Period-period to calculate

3)Use filter supertrend?
Supertrend filter with multitimeframe

// How do filters work 2 and 3?
Filters can work either one by one or together.
A trade is entered when conditions from the logic and filters in the red zone are triggered, when there are no entries in the green zone.

//DATA RANGE:
-Testing results for any period of time

//PIRAMIDING
-Also in the settings there is a pyramid of order, keep this in mind. Make a deal for a small part of the deposit, and not for all the money at once!

PS: to use martingale, you need to write in the hook messages:
"amount": "{{strategy.order.contracts}}" (purchases will be in the amount of coins equivalent to USDT)

The default settings for TF are 1 minute, 10 inputs.
You can choose your settings for any TF, but look at different coins to make sure you have good statistics


版本注释:
-changed default settings for tf 1 minute
版本注释:
-Changed trailing color to purple
版本注释:
-Fixed range filter for short
版本注释:
-Optimized by default for BTC/USDT
-The stop order is triggered after the last order! Not after every purchase!
-Added custom grid when checkbox is checked: "Use custom grid?", then the grid will be enabled, by default it consists of 20 orders.
In the first column, enter the amount in USDT, in the second column, the percentage at which the next purchases will be triggered.
If you need a smaller number of orders, then put "0'' in the "amount" field.
Remember that your pyramiding must always match the amount specified in the properties.
-On bitcoin, I disabled the ability to use the grid, and also hid all the settings.
-When using a custom grid, according to logic, only the first purchase occurs, the grid is responsible for all other orders.
PS:IMPORTANT

I recommend trading bitcoin short and long at the same time, backtesting since 2019 shows excellent results.


You can also trade altcoins, but for this MANDATORY condition:
1) Turn on the filter "Supertrend''!
2) Stretch the grid so that the next purchase is from 1 percent according to logic, and according to the grid from 5%!
3) I also recommend using a cross and having three times as many USDT as the orders will be involved for maximum safety.
4) Frequent questions about repainting, no, it is not here and cannot be!
版本注释:
-adjusted coup from one entrance
-removed custom grid
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与graal_tut联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

Payment and more detailed instructions, if necessary, write in telegrams. My nickname is @Go_up_Tradingview_indicator

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。