FinandyHookLibLibrary "FinandyHookLib"
TODO: add library description here
createOrderJson(model, hook_secret, options)
Parameters:
model (orderModel type from Hamster-Coder/OrderLib/7)
hook_secret (string)
options (textFormatOptions)
textFormatOptions
Fields:
price_format (series__string)
percent_format (series__string)
Finandy
Cipher B divergencies for Crypto (Finandy support)Hello Traders!
In times of high volatility, it is important to follow a market-neutral strategy to protect your hard-earned assets. The simple script employs common buy/sell and/or divergencies signals from the VuManChu Cipher B indicator with fixed stop losses and takes profits. The signals are filtered by a local trend of a coin of interest and the global trend of Bitcoin. These trends-filtered signals demonstrated better performance on most of the back- and forward- tests for USDT cryptocurrency futures. The strategy is based on my real experience, it's a diamond I want to share with you.
In terms of visualization if the background is red and the price is below the yellow line then only a short position can be opened. Conversely, if the price is above the yellow line AND the background is green only a long position can be opened.
Inputs from VuManChu you can find on the top. Frankly, I do not know how they can help you to improve the performance of the strategy. My inputs of the script you can find in "Trend Settings" and "TP/SL Settings" at the bottom.
The checkbox "Only divergencies" lets to broadcast only more reliable buy/sell signals for a cost of rare deals.
The checkbox "Cancel all positions if price crosses local sma?" makes additional trailing stop loss. Usually, this function increases the win rate by "smoothing" the risk/reward ratio, as a usual stop loss does.
You can tune SL/TP based on backtesting.
To connect the script to Finandy just edit "name" and "secret" to connect your webhook (see the bottom of the script).
The rule of thumb for the strategy is "only divergencies" - ON, high reward/risk (TP/SL) ratio, 5 min timeframe on chart help with performance.
Finally, I am looking forward to feedback from you. If you have some cool features for my script in your mind, do not hesitate to leave them in the comments.
Good luck!
Bot go_up DD_long/shortHello!
This strategy is based on the double bottom pattern - for entering a long position / double top-short
A double bottom pattern is formed when two price bottoms are relatively at the same level and the top acts as resistance. This pattern appears at the end of a downtrend and signals a reversal.
A double top is a bearish reversal pattern that signals the end of an uptrend. It is formed by two price highs forming at the same level and a notch line that acts as local support.
As history and practice show, the double bottom pattern works better. Moreover, in a bull market.
You can include only long or only short. BUT while there is a long, a short position will not be opened, in fact, with a long as well.
You can use reverse trade, one coin at a time.
DESCRIPTION:
// LOGIC ENTRY:
Period for short and long positions-to search for double bottom as well as double top. the more, the less false.
Change liong and short-channel width for pattern search separately for long and short.
General shift-the overall width of the channel, which changes equally at once for long and short
By default, quiet settings for tf 5 minutes are applied!
You can choose the settings you like.
// AMOUNT(USDT) FIRST ORDER AND > % NEXT
In the first column, indicate the amount, in the second, how many percent the next order will be more than the previous one.
// EXIT SETTINGS
Closing a trade by RSI when it reaches the level specified in the settings (but in the negative, the trade will never be closed, even if the condition is triggered)
Using a percentage to exit a trade + stop loss. (Put a stop order 1000+ on the market can be anything, especially if you use spot trading)
PS: in order to use the RSI output at a certain level, put a checkmark on the desired one, and also check the percentage box and indicate a take on the percentage 10-20 +)
// MARTINGALE GRID
If there is a check mark, then the grid is used.
Use all signals?
If yes, then there will be no limit on inputs from logic
If the checkbox is not checked, then you can limit the entries from the strategy logic by the specified percentage.
Grid, the next order, when decreasing by a certain percentage, an order when decreasing by the percentage that will be specified (after entering from the logic, when the next signal appears, the grid will be counted from the beginning)
PS: orders are not automatically placed, if the conditions are triggered, then the entry is only at the next bar (within the TV, it is not possible to add orders immediately, but most often, in case of straits, for the better)
// FILTER SETTINGS
The filter consists of a series of popular, averaged oscillators
//DATA RANGE
You can see the results for the selected period
//
CALCULATION OF ORDERS AND MARGIN (FOR INFO ONLY)
The number of orders is the number of entries (you must always have the same number of orders in the arguments and in the properties !!)
- in the aruments for understanding, in the properties - it does not matter how much it will cost there, so many inputs will be!)
-leverage is created to calculate the margin
When you change these parameters, you will understand how much money is required in general and what maximum drawdown can be allowed
Green line-take, lower-stop-order.
To use algo trading, in fact, you need to use a script, in the service through which you will transmit a signal through webhooks, you need to select the amount.
{{strategy.order.contracts}}
ОПИСАНИЕ НА РУССКОМ
//ЛОГИКА ВХОДА:
Период для шорт и лонг позиций, сдвиг для шорта лонга, также общий
По умолчанию применены спокойные настройки для тф. 5 минут.
Вы можете самостоятельно подбирать настройки, основываясь на прошлые результаты
//СУММА ВХОДА В ЮЗДТ +МАРТИНГЕЙЛ:
В первой графе указываете сумму , во второй -на сколько процентов следующий ордер будет больше предыдущего.
//НАСТРОЙКИ ВЫХОДА ИЗ СДЕЛКИ
Закрытие сделки по RSI, когда достигнет уровня, указанного в настройках ( но в минус сделка не будет закрыта никогда, даже если условие сработало)
Использование процента для выхода из сделки+ стоп приказ.( Ставьте стоп-приказ 1000+ на рынке может быть всякое, тем более, если используете спотовую торговлю)
ПС: для того, чтобы использовать выход по RSI по определенному уровню, поставьте галочку на нужный , а также поставьте галочку по проценту и укажите тейк по проценту 10-20+)
//НАСТРОЙКИ СЕТКИ
Если стоит галочка-то сетка используется.
Использовать все сигналы?
Если да, то лимита по входам от логики не будет
Если не стоит галочка, то можно ограничить входы от логики стратегии, на указанный процент.
Сетка, следующий ордер, при снижении на определенный процент-след ордер при снижении на тот процент, который будет указан ( после входа от логики , при появлении следующего сигнала сетка будет считаться с начала)
ПС: ордера автоматически не ставятся, если сработали условия, то вход, только на следующем баре ( в рамках ТВ, нет возможности добавить сразу ордера, но чаще всего, при проливах-к лучшему)
//НАСТРОЙКИ ФИЛЬТРА
Фильтр состоит из серии популярных, усредненных осцилляторов.
//
БЭКТЕСТИНГ
Можете посмотреть результаты за выбранный промежуток
//
ПИРАМИДИНГ (исключительно для расчета)
Количество ордеров-это количество входов ( у вас всегда должно быть одинаковое количество ордеров в агрументах и в свойствах!!)
-в аргументах для понимания, в свойствах -важно, сколько там будет стоить-столько входов и будет!)
-плечо создано для расчета маржи
При изменение данных параметров Вы будете понимать сколько потребуется средств в общем и какую максимальную просадку можно допустить
Зеленая линия-тейк, нижняя-стоп-приказ.
Для использования алго-трейдинга, собственно так и нужно использовать скрипт, в сервисе, через который Вы будете передавать сигнал через веб-хуки , Вам нужно выбрать количество.
{{strategy.order.contracts}}
Удачных трейдов, друзья!
Bot go_up strategyHello. This strategy is based on go_up alerts.
Our task is to find the local minimum. The trade is entered on the basis of RSI and SMA according to a specific formula, which is embedded in the code. When the RSI crosses the SMA upside down, a long position is entered. You can change the length of the RSI . The longer the length, the less frequent, but more accurate the entrance, and vice versa. You can use a different time frame.
The settings have:
1) RSI length, the lower the length, the more often the entry.
2) Testing results for any period of time
3) Take profit for any percentage
4) Stop order for any percentage
5) If there is a check mark ✅, then purchases will always be made, and if not, then purchases will be made, BUT, if the next payback is lower than the previous one, it does not matter by what percentage.
6) If there is a check mark ✅, then each trace of the purchase will be made provided that it is lower by the percentage specified, even if the conditions of the purchase are triggered.
7) The filled area is made for visual display of consolidation zones
Default settings:
RSI length 15, step 1.5, take profit 15, stop order 30.
Also in the settings there is a pyramid of the order, keep this in mind. Enter a deal for a small part of the deposit, and not for all the money at once! You can remove pyramiding and see the results with one entry.
For a more visual understanding, overlay the go_up script.
You can choose a strategy for yourself based on history! If you need examples of strategies, then write to me, my contacts are in the column: instructions from the author.
Successful trades, dear friends, I am glad that you trust me!