Super AlgorithmIf you make a loss, I am not responsible for it. Please use this with caution that includes proper risk and money management.
When I see a sell signal, I may short &/or close my long.
When I see a buy signal, I may long &/or close my short.
The signal is most relevant for the exact time it comes on the chart. When the bar closes, it does not repaint.
The signal can show up and disappear on a running bar. It DOES NOT repaint once the bar is closed.
Do realize that on bar close, the price may have moved significantly, and the signal may not be relevant anymore. So, it needs to be used with caution whether one uses this as soon as a signal appears or on bar close. This is not suitable for the highly large timeframe (ake over 1day). I use it on 1 day and monthly on the lower timeframe.
My primary motivation for building this was three -
1) To ensure I am not addicted and not looking at the chart 24/7
2) To ensure I do not spend a lot of time & resources on multiple indicators
3) I have a consistent profit that can help me in my poor living expenses.
4) Recently, during the huge drawdown, I noticed that my other indicator () was unable to act as quickly as needed as the volatility happened in the lower timeframe. It made me realize that I need to do something to protect my capital in the future. Hence, the idea for this indicator.
5) I use this indicator alongside my other indicators that are showing the chart as well.
In the chart above, I am using
*
*
*
*
* And this indicator
You do not need to use all of these indicators. I have them always on my chart as I showed above.
The buy and sell shown with a blue background is the one coming from this indicator. The only thing that one can customize is colour.
This indicator differs significantly from my other indicators. This indicator prints less signal as careful work went in to reduce noise as much as possible and is to be used for 1 day or less tf.
I use it alongside other indicators for confirmation bias. The other indicators I use are the ones that come from me as well as shown on the chart.
This can possibly be used for other instruments. As I only use it for trading BTCUSD, I have crudely tested for BTCUSD after the dump and has been doing ok so far.
The code is written in Version 4 of pine script. If there are bugs, please let me know.
For info on gaining access see the ⬇ link below ⬇ in our signature field & direct message me. I have a busy schedule at my own workplace. Trading is my hobby. Hence, please be kind to me if I am late in replying
Cerca negli script per "algo"
[GM ELITE] Dynamic - Setup AssistantAdditional Tool for Customers of Dynamic. Over 20 indicators built in. Separate Indicator windows to help setup GM Dynamic Algorithm. Toggle which indicator you want to view.
NJAlgoSignalv2NJ-ALGO-SIGNAL
Combination of Price Breakout with Volume
Bar Color
Yellow = Breakout with Volume and Trend Change
Lime = Breakout with Volume
Blue = Breakout without Volume
Black Line = Trailing Stop Line
Sell when price break the Stop Loss Line.
Try to entry on Yellow and Lime Candle.
Can consider to exit when Blue Candle occur. Sign of weakness on uptrend.
Label
Shows only when bar color condition meet
Calculate risk level based on the current price and trailing stop loss line (Black Line).
52W High
By default is off.
Background Color
To Indicate Bullish or Bearish zone.
Green = Bullish zone
Red = Bearish zone
MA strategyTrading strategy on moving averages. Based on Mean reversion. These algorithmic strategies are based on a concept that assumes a regular return of the price to a certain average level, provided that a sufficiently long time distance is considered. The main objective of such strategies is to determine the expected level of price return. Interconnected with Envelopes.
HatiKO EnvelopesPublished source code is subject to the terms of the GNU Affero General Public License v3.0
This script describes and provides backtesting functionality to internal strategy of algorithmic crypto trading software "HatiKO bot".
Suitable for backtesting any Cryptocurrency Pair on any Exchange/Platform, any Timeframe.
Core Mechanics of this strategy are based on theory of price always returning to Moving Average + Envelopes indicator (Moving_average_envelope from Wiki)
Developement of this script and trading software is inspired by:
"Essential Technical Analysis: Tools and Techniques to Spot Market Trends" by Leigh Stevens (published on 12th of April 2002)
"Moving Average Envelopes" by ChartSchool, StockCharts platform (published on 13th of April 2015 or earlier)
"Коля Колеснік" from Crypto Times channel ("Метод сетка", published on 19th of August 2018)
"3 ways to use Moving Average Envelopes" by Rich Fitton, published on Trader's Nest (published on 28st of November 2018 or earlier)
noro's "Robot WhiteBox ShiftMA" strategy v1 script, published on TradingView platform (published on 29th of August 2018)
"Moving Average Envelopes: A Popular Trading Tool" Investopedia article (published 25th of June 2019)
and KROOL1980's blogpost on Argolabs ("Гридерство или Сетка как источник прибыли на форекс", published on 27th of February 2015)
Core Features:
1) Up to 4 Envelopes in each direction (Long/Short)
2) Use any of 6 different basis MAs, optionally use different MAs for Opening and Closure
3) Use different Timeframes for MA calculation, without any repainting and lookahead bias.
4) Fixed order size, not Martingale strategy
5) Close open position earlier by using Deviation parameter
6) PineScript v4 code
Options description:
Lot - % from your initial balance to use for order size calculation
Timeframe Short - Timeframe to use for Short Opening MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Short - Type of MA to use for Short Opening MA calculation, can be chosen from dropdown list, default is SMA
Data Short - Source of Price for Short Opening MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Short - Period used for Short Opening MA calculation, should be >=1, default is 3
MA offset Short - Offset for MA value used for Short Envelopes calculation, should be >= 0, default is 0
Timeframe Long - Timeframe to use for Long Opening MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Long - Type of MA to use for Long Opening MA calculation, can be chosen from dropdown list, default is SMA
Data Long - Source of Price for Long Opening MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Long - Period used for Long Opening MA calculation, should be >=1, default is 3
MA offset Long - Offset for MA value used for Long Envelopes calculation, should be >= 0, default is 0
Mode close MA Short - Enable different MA for Short position Closure, default is "false". If false, Closure MA = Opening MA
Timeframe Short Close - Timeframe to use for Short Position Closure MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Close Short - Type of MA to use for Short Position Closure MA calculation, can be chosen from dropdown list, default is SMA
Data Short Close - Source of Price for Short Closure MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Short Close - Period used for Short Opening MA calculation, should be >=1, default is 3
Short Deviation - % to move from MA value, used to close position above or beyond MA, can be negative, default is 0
MA offset Short Close - Offset for MA value used for Short Position Closure calculation, should be >= 0, default is 0
Mode close MA Long - Enable different MA for Long position Closure, default is "false". If false, Closure MA = Opening MA
Timeframe Long Close - Timeframe to use for Long Position Closure MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Close Long - Type of MA to use for Long Position Closure MA calculation, can be chosen from dropdown list, default is SMA
Data Long Close - Source of Price for Long Closure MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Long Close - Period used for Long Opening MA calculation, should be >=1, default is 3
Long Deviation - % to move from MA value, used to close position above or beyond MA, can be negative, default is 0
MA offset Long Close - Offset for MA value used for Long Position Closure calculation, should be >= 0, default is 0
Short Shift 1..4 - % from MA value to put Envelopes at, for Shorts numbers should be positive, the higher is number, the higher should be Shift position, example: "Shift 1 = 1, shift 2 = 2, etc."
Long Shift 1..4 - % from MA value to put Envelopes at, for Longs numbers should be negative, the lower is number, the lower should be Shift position, example: "Shift 1 = -1, shift 2 = -2, etc."
From Year 20XX - Backtesting Starting Year number, only 20xx supported as script is cryptocurrency-oriented.
To Year 20XX - Backtesting Final Year number, only 20xx supported as script is cryptocurrency-oriented.
From Month - Years starting Month, optional tweaking, changing not recommended
To Month - Years ending Month, optional tweaking, changing not recommended
From day - Months starting day, optional tweaking, changing not recommended
To day - Months ending day, optional tweaking, changing not recommended
Graph notes:
Green lines - Long Envelopes.
Red lines - Short Envelopes.
Orange line - MA for closing of Short positions.
Lime line - MA for closing of Long positions.
**************************************************************************************************************************************************************************************************************
Опубликованный исходный код регулируется Условиями Стандартной Общественной Лицензии GNU Affero v3.0
Этот скрипт описывает и предоставляет функции бектеста для внутренней стратегии алгоритмического программного обеспечения "HatiKO bot".
Подходит для тестирования любой криптовалютной пары на любой бирже/платформе, на любом таймфрейме.
Кор-механика этой стратегии основана на теории всегда возвращающейся к значению МА цены с использованием индикатора Envelopes (Moving_average_envelope from Wiki)
Разработка этого скрипта и программного обеспечения для торговли вдохновлена следующими источниками:
Книга "Essential Technical Analysis: Tools and Techniques to Spot Market Trends" Ли Стивенса (опубликовано 12 апреля 2002 года)
«Moving Average Envelopes» от ChartSchool, платформа StockCharts (опубликовано 13 апреля 2015 года или раньше)
«Коля Колеснік» с канала Crypto Times («Метод сетка», опубликовано 19 августа 2018 года)
«3 ways to use Moving Average Envelopes» Рича Фиттона, опубликованные в «Trader's Nest» (опубликовано 28 ноября 2018 года или раньше)
Скрипт стратегии noro "Robot WhiteBox ShiftMA" v1, опубликованный на платформе TradingView(опубликовано 29 августа 2018 года)
«Moving Average Envelopes: A Popular Trading Tool», статья Investopedia (опубликовано 25 июня 2019 года)
Блог KROOL1980 из Argolabs («Гридерство или Сетка как источник прибыли на форекс», опубликовано 27 февраля 2015 года)
Основные особенности:
1) До 4-х Ордеров в каждом из направлении (Лонг / Шорт)
2) Выбор из 6-ти разных базовых МА, опционально используйте разные МА для открытия и закрытия.
3) Используйте разные таймфреймы для расчета MA, без перерисовки и "эффекта стеклянного шара".
4) Фиксированный размер ордера, а не стратегия Мартингейла
5) Возможность закрытия открытой позиции заблаговременно, используя параметр Deviation
6) Код реализован на PineScript v4
Описание параметров:
Lot - % от вашего первоначального баланса, используется при расчете размера Ордера
Timeframe Short - таймфрейм, используемый для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Short - тип MA, используемый для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию SMA
Data Short - источник цены для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Short - период, используемый для расчета МА Открытия Шорт позиций, должен быть >= 1, по умолчанию 3
MA Offset Short - смещение значения MA, используемого для расчета Шорт Ордеров, должно быть >= 0, по умолчанию 0
Timeframe Long - таймфрейм, используемый для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Long - тип MA, используемый для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию SMA
Data Long - источник цены для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Long - период, используемый для расчета МА Открытия Лонг позиций, должен быть >= 1, по умолчанию 3
MA Offset Long - смещение значения MA, используемого для расчета Лонг Ордеров, должно быть >= 0, по умолчанию 0
Mode close MA Short - Включает отдельное MA для закрытия Шорт позиции, по умолчанию «false». Если false, MA Закрытия = MA Открытия
Timeframe Short Close - таймфрейм, используемый для расчета МА Закрытия Шорт позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Close Short - тип MA, используемый при расчете МА Закрытия Шорт позиции. Mожно выбрать из списка, по умолчанию SMA
Data Short Close - источник цены для расчета МА Закрытия Шорт позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Short Close - период, используемый для расчета МА Закрытия Шорт позиции, должен быть >= 1, по умолчанию 3
Short Deviation - % отклонения от значения MA, используется для закрытия позиции выше или ниже рассчитанного значения MA, может быть отрицательным, по умолчанию 0
MA Offset Short Close - смещение значения MA, используемого для расчета закрытия Шорт позиции, должно быть >= 0, по умолчанию 0
Mode close MA Long - Включает разные MA для закрытия Лонг позиции, по умолчанию «false». Если false, MA Закрытия = MA Открытия
Timeframe Long Close - таймфрейм, используемый для расчета МА Закрытия Лонг позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Close Long - тип MA, используемый при расчете МА Закрытия Лонг позиции. Mожно выбрать из списка, по умолчанию SMA
Data Long Close - источник цены для расчета МА Закрытия Лонг позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Long Close - период, используемый для расчета МА Закрытия Лонг позиции, должен быть >= 1, по умолчанию 3
Long Deviation -% для перехода от значения MA, используется для закрытия позиции выше или ниже рассчитанного значения MA, может быть отрицательным, по умолчанию 0
MA Offset Long Close - смещение значения MA, используемого для расчета закрытия Лонг позиции, должно быть >= 0, по умолчанию 0
Short Shift 1..4 - % от значения MA для размещения Ордеров, для Шорт Ордеров должен быть положительным, чем выше номер, тем выше должна располагаться позиция Shift, например: «Shift 1 = 1, Shift 2 = 2 и т.д. "
Long Shift 1..4 - % от значения MA для размещения Ордеров, для Лонг Ордеров должно быть отрицательным, чем ниже число, тем ниже должна располагаться позиция Shift, например: «Shift 1 = -1, Shift 2 = -2, и т.д."
From Year 20XX - Год начала тестирования, из-за ориентированности на криптовалюты поддерживаются только значения формата 20хх.
To Year 20XX - Год окончания тестирования, из-за ориентированности на криптовалюты поддерживаются только значения формата 20хх.
From Month - Начальный месяц, опционально, менять не рекомендуется
To Month - Конечный месяц, опционально, менять не рекомендуется
From day - Начальный день месяца, опционально, менять не рекомендуется
To day - Конечный день месяца, опционально, менять не рекомендуется
Пояснения к графику:
Зеленые линии - Лонг Ордера.
Красные линии - Шорт Ордера.
Оранжевая линия - MA Закрытия Шорт позиций.
Лаймовая линия - MA Закрытия Лонг позиций.
BEST Algorithm Builder FOREXHello traders 👋
I. 💎 SCRIPTS ACCESS AND TRIALS 💎
1. Every trial request access has to be done through my website.
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here: Daveatt
3. Many video tutorials explaining clearly how all our indicators work are available on our website > guides section and also on Discord + Youtube
4. You may also contact me directly for more information regarding the trading method included in the indicator or how to access it
II. Forewords
This indicator is for the Intraday FOREX traders looking for fixed entries based on our proprietary trading method.
We've been working on it for months and releasing now for our subscribers.
We designed this framework for FOREX major/minor/exotic pairs.
III. Optimized system for lowering risk/capturing most of the opportunities
We worked hard on reducing the risk as much as we could.
The built-in hard-exit (also called invalidation) system does a huge job in exiting a position way before a Stop Loss will get hit
EUR/USD
USD/CAD
IV. Trade Manager and compatible with dynamic alerts
It includes :
- our proprietary method with fixed entries
- a hard exit system (built-in stop-loss)
- multiple options for user-defined stop-loss/take-profit settings (price value, distance in pips, percentage, trailing, ...)
- 🔔 Compatible with dynamic alerts 🔔
Dynamic alerts are bringing automated trading to a whole new level. The third-party solutions capturing TradingView alerts are able to use them.
- Algorithmic Supports and Resistances used as safeguards and take profit zones
Final words
We made it as simple as we could (to be honest it's a very simple system for the end-user) - even with several hundreds of calculations in the indicator.
Please hit me up for any questions/feedbacks/comments
Become the BEST trader you deserve to be
Dave
Relativity Adaptive Stop-LossRelativity Adaptive Stop-Loss is a stop-loss technique that uses the Relativity Autonomous Distribution Blocks algorithm.
For detailed info about Relativity Autonomous Distribution Blocks :
*** Features
This structure is different from standard stop-losses.
The base frame is based on "Market Adaptive Stop-Loss" script.
For detailed information about Market Adaptive Stop-Loss:
This script uses the Relativity Autonomous Distribution Blocks as cross method.
Tradeable / Non Tradeable Region Detector :
This script separates tradeable and non-tradeable regions with a coloring method.
Plotting Rules :
* Maroon : Uncorfirmed Short Positions
* Teal : Unconfirmed Long Positions
* Green : Confirmed Long Positions
* Red : Confirmed Short Positions
This script can be used in only 1W time frame. (TF = 1W )
Does not repaint on 1W and larger time frames. ( Source = close )
*** Settings :
The only option here is the ATR multiplier.
The default use value of this ATR multiplier, which is of the standard of stop-loss, is 2.You can set it from the menu.
No alert is set.
Because the positive and negative regions are the same as Relativity Autonomous Distribution Blocks.
Since the traders can trade according to the support and resistance outside the definite regions, the unnecessary signal was confused and the alerts were removed.
*** USAGE
The Stop-Loss indicator can slide on the chart.
So you have to make sure you put it in right place.
Using this script in a new pane below will radically solve slip problems.
Stop-Loss values do not slip definitely.The values can select from the alignment.
NOTE :
Some structures (Market Adaptive Stop-Loss) and design in this script are inspired by everget's Chandelier Exit script :
Best regards.
Autonomous LSTM Stop-LossStructure
Autonomous LSTM Stop-Loss is a stop-loss technique that uses the Autonomous LSTM algorithm.
For detailed info about Autonomous LSTM :
*** Features
This structure is different from standard stop-losses.
The base frame is based on "Market Adaptive Stop-Loss" script.
For detailed information about Market Adaptive Stop-Loss:
This script uses the Autonomous LSTM as cross method.
Tradeable / Non Tradeable Region Detector :
This script separates tradeable and non-tradeable regions with a coloring method.
Plotting Rules :
* Maroon : Uncorfirmed Short Positions
* Teal : Unconfirmed Long Positions
* Green : Confirmed Long Positions
* Red : Confirmed Short Positions
This script can be used in all time frames.
Does not repaint. ( Source = close )
*** Settings :
The only option here is the ATR multiplier.
The default use value of this ATR multiplier, which is of the standard of stop-loss, is 2.You can set it from the menu.
No alert is set.
Because the positive and negative regions are the same as Autonomous LSTM.
Since the traders can trade according to the support and resistance outside the definite regions, the unnecessary signal was confused and the alerts were removed.
*** Usage
The Stop-Loss indicator can slide on the chart.
So you have to make sure you put it in place.
Since this is a region scan from the OHLC levels, indicator contains small blue dots to the ohlc levels and made it serve as a guide.
However, since we cannot know the OHLC values precisely, it is best to use them as follows:
Because it is often forgotten to put it in place:
(OHLC : Average of Open, High, Low, and Closing prices for each period)
Using this script in a new pane below will radically solve slip problems.
Stop-Loss values do not slip definitely.The values are selected from the alignment.
NOTE :
Some structures (Market Adaptive Stop-Loss) and design in this script are inspired by everget's Chandelier Exit script :
Best regards.
Any MA bands (TMA bands V2)Hi everyone
Website will be opening very shortly :) Sorting out the last details and we're so excited to finally roll-out our different Algorithm Builders for you guys
Forewords
This present script is an evolution of the TMA bands . I would never have expected that script to become so popular to be honest
This is not only a study or idea but a really proven method and I'm glad that many of you are using it already. But please, whenever you see a new script out there, even if it looks cool and promising, please test it on a demo account for a week or on a LIVE account but with tiny amounts every time.
Many times, what you see on the chart is not what will happen in reality. I know that most of you will agree and I know exactly why we see this behavior... I'll give more details in a later post
I have plenty of methods like that one and I'll detail them on my website (and a bit on TradingView) starting next month
TMA bands on steroids
Someone asked me privately to make a generic version of the TMA bands and make it compatible with other standards Moving Average types. That's it for the specifications really as I didn't do much than re-using some piece of my own code
Suggested (but not mandatory) methodology
1) The Take Profit 1 is the middle line, Take Profit 2 is the opposite band.
2) Once the TP1 is hit, set your Stop Loss to breakeven
3) Once the TP2 is hit, if you still want to stay in the trade, set your Stop Loss to the TP1
It will be a powerful tool in your arsenal for some scalp/intraday trades
Wishing you all of you a great and profitable day
PS
It's strictly forbidden to republish this script without my explicit approval. All my posts are copyrighted from now on
Obviously you can use but not republish and get the credit or even worse... some money from your own clients
Dave
____________________________________________________________
Be sure to hit the thumbs up. Building those indicators take a lot of time and likes are always rewarding for me :) (tips are accepted too)
- If you want to suggest some indicators that I can develop and share with the community, please use my personal TRELLO board
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
Disclaimer:
Trading involves a high level of financial risk, and may not be appropriate because you may experience losses greater than your deposit. Leverage can be against you.
Do not trade with capital that you can not afford to lose. You must be aware and have a complete understanding of all the risks associated with the market and trading. We can not be held responsible for any loss you incur.
Trading also involves risks of gambling addiction.
Please notice I do not provide financial advice - my indicators, strategies, educational ideas are intended to provide only some source code for anyone interested in improving their trading
The proprietary indicators and strategies developed by Best Trading Indicator, the object of intellectual property rights are and remain the exclusive property of Best Trading Indicator, at the exclusion of images and videos and texts free of rights or provided by the Company or external legal or physical person.
No assignment of intellectual property rights is carried out through these Terms and Conditions.
Any total or partial reproduction, modification or use of these properties for any reason whatsoever is strictly prohibited without the express written authorization of the Company.
RAT 3.0 Realtime Algo Trades/SignalsThis is the script which generates automatic signal for Buy and Sell in Stocks, Index , Crypto, Forex.
By using these signals we can execute the trades easily.
We can also combine this script to broker platform for placing the orders automatically when the signal gets generated.
It can be converted to fully automatic trading tool.
Customizable Trend Direction (Open-Source)Hello everyone
I received a ton of requests for this script so I decided to share it
I did it for a client who didn't want to pay (you can all blame... or even thank him for this script) in the end and I don't want to sell it on my website.
Not because it's not interesting but because my website will be a place to showcase and rent the Algorithm Builders mostly
What is it about?
Basically, it shows how you could convert a plotshape into a label.new object. Very interesting if you want someday to convert your V3 script into V4
With this script, it shows that you can in V4 ( but couldn't do in V3 ) do the followings :
- change dynamically the size (from tiny to huge) of any object
- change dynamically the text (from whatever to whatever) of any object
Screenshot of the user interface
imgur.com
Other use cases
I did it with the Trend Direction but could work with anything really.
- Any indicator with a visual signal. You can know personalized from a user interface the text, size and also the vertical shift. I didn't do it for that one but label.new takes a (x,y) coordinates so playing with y is fairly easy to achieve a dynamic vertical shift
- Even with this script Plotchar-How-to-draw-external-symbols-on-a-chart/ but would require to be updated with a label.new object and with a shape.none parameter so that we'll only see the icon/symbol displayed
- The colors also can be change dynamically using presets Presets-Selector-FRIDAY-NIGHT-CHALLENGE/ . If you have an indicator showing a BULLISH and a BEARISH signal, then you could, for instance, configure colors presets according to the timeframe of the chart or the indicator input, etc (sky is the limit ^^)
Be sure to hit the thumbs up at it motivates me to research what Pinescript can offer and share with the community
Dave
____________________________________________________________
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
Momentum Signal Moving AverageThis is a script with one modified indicator that mainly tracks and executes positions openings by calculating volume and "enthusiasm" from the exchanges coin pairs. I recommend that it is used on a 15m chart.
When it is a bullish trend it is configured to take profit, but this is of course something you can set values or disable. In bearish trends, the script opens bigger positions, and when a bounce happens the script starts taking profit.
In stagnation, the script used to be week, and made losses. However, with the added scalping feature it seems to at least even it out, or even make profit as I have seen now.
It's still a very 1.0 script and will get updated to make sure the profit keeps getting higher percentage.
I use the Alerts Trader extension to execute orders from Tradingview in Chrome via Bitmex API.
I use it on Bitmex, but surely you can use it on other exchanges that are supported in the Alerts Trader extension, which is extensive.
Important : You will be able to add this script to your chart, but you won't be able to se the source code, so to make it work you need to set the alerts right, with correct code for it to work.
Here is where I come in:
I'll give each user 3 day trial, and after that, if you are satisfied and want to run it longer, you can subscribe for $49/month.
And if you have bigger capital, I will install it and configure it to match the amount of contracts you wish to have.
If you are a person with big capital, you can get 1 week of trial.
And for people with big capital, you can get personal support from me when needed to alter settings or create new alerts. This will cost $50 each time.
But remember, you can also run the trial on the Bitmex testnet, but the volume is very low there so the bot does not preform as well on the testnet as it does on the mainet with big volume.
I am willing to let someone, a 3rd party, with good reputation test it for a few days and make an honest review after.
Disclaimer: I cannot guarantee that this script will make you rich, but after a week of testing, both on testnet and mainnet, the results are good enough for me. (I am no financial expert or professional trader. Any losses from the algorithm is not my issue, use it at your own risk. Always run the script/bot with money you can afford to lose)
All payments to me are made in bitcoin.
Profitable SMA CrossoverWhat is this tool?
This tool is a performance scanner of the crossover trading system that is based on the two simple moving averages (SMA). It uses a decision tree-based algorithm under the hood to find and plot the most profitable periods of the SMA combination.
It analyzes the range of periods between 4 to 45 and backtests each combination across the entire history of an instrument. If the more profitable periods were detected the indicator will switch periods of the moving averages immediately.
This is an add-on for the Ingenious SMA Crossover but can be used standalone.
Alerts
It has an alert that notifies when the more profitable periods were detected.
NOTE : It does not change what has already been plotted.
Good luck!
Ingenious SMA CrossoverIntroduction
A popular use for moving averages is to develop simple trading systems based on moving average crossovers. A trading system using two moving averages would give a buy signal when the shorter (faster) moving average advances above the longer (slower) moving average. A sell signal would be given when the shorter moving average crosses below the longer moving average. The speed of the systems and the number of signals generated will depend on the period of the moving averages.
What is this tool?
This tool is a crossover system of two simple moving averages. I called it "Ingenious" because it uses a decision tree-based algorithm under the hood to find and plot the most profitable SMA combination.
It analyzes the range of periods between 4 to 45 and backtests each combination across the entire history of an instrument. If the more profitable periods were detected the indicator will switch periods of the moving averages to the found ones immediately.
NOTE : It does not change what has already been plotted.
Good luck!
BCH Precognition - Mtrl_Scientist (study version)Hey everyone!
As requested, this is the study version of the improved 'BCH- Precognition' algorithm, meaning you'll only see the indicator and not have 'longs/shorts' painted on your chart.
- Works better with normal candles now, as internal calculations are forced to be done on Heikin Ashi, regardless of chosen candle format
- Turned into a study, rather than strategy, as not to interfere with strategies that are already in place
- Added Overbought/Oversold conditions (orange) with adjustable threshold, based on normalized price action helper indicator
Green means buy condition is valid, red mean short condition is valid, and orange means overbought/oversold (adjustable in settings).
Reminder: Only for use with BCHUSD, as it draws data for that coin from specific exchanges!
These changes were also added to the strategy version.
Please let me know what you would like to see improved!
Fibonacci Algo - LongAutomatic Fibonacci retracement entry, stop loss and extension target level as apart of a customisable strategy.
Automatic plots of 23.6% 38.2%, 50%, 61.8%, 65%, 78.6% and -23.6, -61.8% and -100% levels.
Customisable Fib Length - Time period over which max and min pivots are chosen.
Customisable Offsetfib - Offsets the pivots and sell zone as your entry position
will be some time after the upper and lower pivots are set.
Vegas Wave - Automatic plot. Shows price relative to wave and EMA crossover - See my 'Vegas Wave' code for more of an explanation.
A strategy based off buying the 50-618 with a defined stop loss the other side of the 65 or 786 can easily be formulated.
This tool will automatically plot those points but a defined Risk Management strategy will always be needed.
The 236 and 382 region can also be plotted, allowing for lesser retracements coinciding with wave 4 pullbacks ( Elliott Wave Traders).
Works best in Bullish trends but will work on all timeframes (Bullish correction in an downtrend also possible).
Previous pivots shown but be careful to identify which of the several pivots you are using.
Start at a larger timeframe and move down. (Entries consistent on several timeframes are golden)
Pivots and retracements are dynamic. Be sure to note your entry and targets.
Works well when used in combination with an oscillator which highlights Divergence.
Also refer to my other 'Fibonacci' Codes for more context.
Trend Trader AlgoComprises of multiple algos incl direction, true range, momentum and volatility.
Check out and feedback..
BitCoin Simple BuyerMany people asking me: How to find the right time to exit BitCoin long position? First, that comes to mind is Do Not use simple Buy-and-Hold strategy, but make short-term trades. Here is the simple algorithm for D1 or 4H timeframes.
Key Liquidity💧Advanced-Pro-J-Algo# 💧 Key Liquidity Advanced Pro - Multi-Timeframe Institutional Analysis
## 🏆 **Premium Institutional Trading Indicator**
Transform your trading with this comprehensive **multi-timeframe liquidity analysis tool** that combines **Smart Money Concepts (SMC)** and **ICT methodology** into one powerful indicator. Designed for serious traders who demand institutional-grade analysis.
---
## 🔥 **Key Features**
### 💧 **Multi-Timeframe Key Liquidity Levels**
- **HTF (Higher Timeframe)**: Major institutional levels with real-time alerts 🚨
- **LTF (Lower Timeframe)**: Precision entry/exit levels for optimal timing
- **CTF (Current Timeframe)**: Flexible analysis for any chart timeframe
- **Smart Mitigation Detection**: Automatically removes hit liquidity levels
- **Professional Labels**: Clean timeframe identification (4H, 1H, etc.)
### 🏦 **Institutional Order Blocks**
- **📦 Smart Money Order Blocks**: Identify where institutions placed large orders
- **Volume-Weighted Analysis**: Bullish/Bearish strength calculations
- **Professional Labels**: 🏦📦 H (High) and 🏦📦 L (Low) markers
- **Violation Detection**: Automatic cleanup when order blocks are broken
- **Overlap Prevention**: Clean chart presentation without clutter
### 🚨 **Advanced Alert System**
- **HTF Liquidity Hit Alerts**: Never miss major institutional level breaks
- **Detailed Notifications**: Timeframe, price, and timestamp information
- **Smart Frequency Control**: No spam - only meaningful alerts
- **Mobile Ready**: Perfect for Trading View mobile app notifications
### 📊 **Market Structure Analysis**
- **MSB (Market Structure Breaks)**: Current trend direction changes
- **Premium/Discount Zones**: ICT-style institutional price zones
- **Clean Presentation**: Only shows current MSB, removes historical clutter
### 🔄 **Trading Session Analysis**
- **Multi-Session Support**: Asian, London, New York sessions
- **Session Overlaps**: Highlighted with special bar coloring
- **Configurable Display**: Show 0-10 previous days of session data
- **High/Low Tracking**: Session-specific price levels
---
## 🎯 **Perfect For**
### **Trading Styles:**
- ✅ **Forex Trading** (ICT/SMC methodology)
- ✅ **Index Trading** (institutional analysis)
- ✅ **Crypto Trading** (smart money concepts)
- ✅ **Swing Trading** (HTF liquidity levels)
- ✅ **Scalping** (multi-timeframe precision)
### **Methodologies:**
- ✅ **Smart Money Concepts (SMC)**
- ✅ **Inner Circle Trader (ICT)**
- ✅ **Institutional Order Flow**
- ✅ **Liquidity Hunting Strategies**
- ✅ **Market Structure Trading**
---
## ⚙️ **Comprehensive Settings**
### **Master Controls:**
- 💧 Enable/Disable Key Liquidity Levels
- 🏦 Enable/Disable Order Blocks
- 📊 Enable/Disable Market Structure Breaks
- 🎯 Enable/Disable Premium/Discount Zones
- 🔄 Enable/Disable Trading Sessions
### **Customization Options:**
- **Timeframe Selection**: Choose your HTF and LTF periods
- **Color Schemes**: Professional color coding for each timeframe
- **Display Limits**: Control chart clutter with smart limits
- **Text Sizing**: Scalable labels for any screen size
- **Extension Options**: Short, Current, or Max line extensions
### **Alert Configuration:**
- 🚨 HTF High Liquidity Hit Alerts
- 🚨 HTF Low Liquidity Hit Alerts
- Smart frequency control to prevent spam
---
## 🎨 **Visual Excellence**
### **Professional Design:**
- **Clean Interface**: No chart clutter, only relevant information
- **Consistent Labeling**: All elements perfectly aligned and positioned
- **Smart Color Coding**: Visual hierarchy based on timeframe importance
- **Emoji Integration**: Instant visual recognition (💧🏦📦📊)
### **Label System:**
- **Liquidity Levels**: Timeframe labels (4H, 1H, etc.) with tooltips
- **Order Blocks**: 🏦📦 H/L institutional liquidity markers
- **Market Structure**: MSB break notifications
- **Sessions**: Clear session identification and overlaps
---
## 🔬 **Technical Implementation**
### **Performance Optimized:**
- Efficient memory management with `max_bars_back()` settings
- Smart array handling to prevent performance issues
- Clean object deletion to maintain chart responsiveness
### **Advanced Logic:**
- **Pivot Detection**: Sophisticated swing high/low identification
- **Mitigation Algorithms**: Smart detection of liquidity level hits
- **Volume Analysis**: Institutional strength calculations
- **Multi-Timeframe Security**: Proper HTL/LTF data handling
---
## 📈 **How to Use**
### **Setup:**
1. Add indicator to your chart
2. Configure your preferred HTF (default: 4H) and LTF (default: 1H)
3. Enable desired features via Master Controls
4. Set up TradingView alerts for HTF liquidity hits
### **Trading Workflow:**
1. **Identify Bias**: Use HTF liquidity levels for market direction
2. **Find Entries**: Use LTF levels and Order Blocks for precision entries
3. **Confirm Structure**: Check MSB for trend continuation/reversal
4. **Time Entries**: Use session analysis for optimal timing
5. **Get Alerted**: Never miss major HTF liquidity hits
---
## 🏅 **Why Choose This Indicator?**
### **Professional Grade:**
- Combines multiple premium concepts into one comprehensive tool
- Institutional-quality analysis typically found in expensive platforms
- Clean, professional presentation suitable for serious trading
### **Complete Solution:**
- No need for multiple indicators - everything in one package
- Covers all aspects of modern institutional trading methodology
- Suitable for beginners learning SMC/ICT and professionals alike
### **Constantly Updated:**
- Built with modern Pine Script v6
- Performance optimized for all timeframes
- Clean code structure for reliability
---
## 🚨 **Important Notes**
- **Timeframe Compatibility**: Works on all intraday timeframes (not suitable for daily/weekly/monthly)
- **Best Performance**: Recommended for 1m-4H chart timeframes
- **Alert Setup**: Configure TradingView alerts for mobile notifications
- **Education**: Best used with understanding of SMC/ICT concepts
---
## 📞 **Support & Updates**
This indicator represents months of development and testing, combining the best of institutional trading analysis into one comprehensive tool. Perfect for traders who demand professional-grade analysis and real-time alerting.
**🎯 Take your trading to the institutional level with Key Liquidity Advanced Pro!**
---
*Disclaimer: This indicator is for educational and informational purposes. Past performance does not guarantee future results. Always practice proper risk management.*
MÈGAS ALGO : NMS (Nexora Momentum Synchronizer) [INDICATOR]Overview
The NMS (Nexora Momentum Synchronizer) is a multi-timeframe indicator that aggregates and analyzes data of multiple momentum oscillators across different timeframes (1m, 5m, 15m, 30m, 45m, 1h, 2h, 4h, 8h, 12h and 24h).
A user-friendly table displaying the indicator’s current values for each timeframe simultaneously.
The script, thanks to the best technical momentum indicators provided by Tradingview, evaluates trend strength and market momentum through synchronized readings of TRSI , TSI , RSI , Stochastic RSI , Williams %R , and CCI.
In addition to the indicator also tracks:
-percentage change in price from the last bar's open across each timeframes
-countdown time to bar close
This indicator caters to the diverse needs of traders, whether they are focused on short-term momentum bursts or long-term trend-following strategies.
By synchronizing momentum indicators, real-time price change(%) from last open and countdow time to close, across multiple timeframes, this tool provides a holistic view of market dynamics, empowering traders to make informed decisions with confidence.
Key Features
1.Multi-Timeframe Momentum Analysis
The Nexora Momentum Synchronizer performs an analysis of key momentum indicator :
—Trend Strength Index (TSI) , True Strength Index (TSI) , Relative Strength Index (RSI) , Stochastic Oscillator (STOCH), Williams Percent Range (W%R) and Commodity Channel Index (CCI) —across multiple timeframes. This ensures traders receive a
comprehensive understanding of momentum alignment, helping them identify high-probability
trade setups with reduced noise and false signals.
In addition to oscillator alignment and regression-based zone detection, the script includes:
-real-time price change(%) from last open for each timeframe, providing insight into intrabar momentum and directional bias.
-real-time countdown to bar close , displayed directly in the table, which enhances timing precision and supports scalping or event-based trading strategies.
These tools combine to offer a comprehensive, real-time framework for both discretionary and alert-driven trading systems.
2.Customizable Parameters
Fully adjustable settings allow traders to tailor the indicator to their specific preferences and
adapt to diverse market conditions. From adjusting overbought and oversold levels to selecting preferred timeframes for alignment alerts, the Nexora Momentum Synchronizer offers unparalleled flexibility to meet individual trading styles.
3.Multi-Timeframe Alerts
Traders can set up alerts for momentum alignment across up to four different timeframes. These alerts ensure that no opportunity is missed, regardless of the trading horizon or strategy being employed.
These alerts can be set up to three different mode : All (to never miss opportunity), Once_for_Bar (to limit to one alert triggered during bar's period) or Bar_Close (to avoid earlier bias).
4.User-Friendly Interface
Designed with simplicity in mind, the Nexora Momentum Synchronizer features an intuitive
table interface that makes complex data easy to interpret. Clear visual cues and
interactive elements allow traders to focus on executing strategies without being
overwhelmed by cluttered charts.
Advantages of Nexora Momentum Synchronizer
Flexibility : Fully customizable parameters ensure the indicator adapts to diverse market
conditions and trader preferences.
Comprehensive Analysis : Multi-timeframe evaluation of momentum indicators provides a
holistic view of market dynamics, enhancing trade confidence.
Real-Time Alerts : Multi-timeframe alert functionality keeps traders informed of critical
market movements and momentum shifts across different horizons.
Please Note:
This indicator is provided for informational and educational purposes only. It is not financial advice, and it should not be considered a recommendation to buy, sell, or trade any financial instrument. Trading involves significant risks, including the potential loss of your entire investment. Always conduct your own research and consult with a licensed financial advisor before making any trading decisions.
The results and images provided are based on algorithms and historical/paid real-time market data but do not guarantee future results or accuracy. Use this tool at your own risk, and understand that past performance is not indicative of future outcomes.
MÈGAS ALGO : MÈGAS Engine [STRATEGY]Overview
The MÈGAS Engine is an advanced algorithmic trading system that integrates a range of technical analysis tools to pinpoint high-probability opportunities in the market.
Key Features
Core Signal Generation:
-Structure Break Detection: Advanced breakout identification with adjustable
sensitivity controls
-Dual-Direction Analysis: Separate bullish and bearish signal parameters with customizable delta
thresholds and depth settings
-Dynamic Parameter Management: OverfitShield technology with pulsewave parameter cycling
to reduce overfitting risks
Filtering Alghoritm:
-Volatility Filter: Rogers-Satchell volatility estimation with RSI-based normalization to avoid
trading in unfavorable market conditions
-Volume Confirmation: Cumulative volume analysis ensuring adequate liquidity support for trade
entries
OverfitShield Method:
OverfitShield is a built-in function within the trading strategy designed to reduce overfitting bias by introducing parameter variability during execution. When the "variable" mode is activated, instead of relying on fixed values for key strategy parameters the system dynamically selects values from customizable ranges.
This approach mimics real-world market uncertainty and ensures that the strategy does not become overly dependent on a single optimal value found during backtesting — making it more robust across different market conditions and time periods.
Position Management
-Customizable Exit Set-up
The exit logic can be customized to 'CONTINUE', 'TAKE PROFIT', or 'TRAILING PROFIT' to suit
your trading approach and maximize performance.
-CONTINUE Mode:
This mode does not use predefined take profit levels. Instead, it remains in the market as long as the trend persists. By avoiding fixed exit points, this approach is often the most effective in backtesting, as it allows positions to run in favorable trends for longer periods.
-TAKE PROFIT Mode:
This mode allows you to set multiple grid-like take profit levels at different price points, effectively creating a multi-tier exit strategy. You can specify the number of profit levels you want, along with the percentage step between each level. This structured approach can be beneficial for capturing incremental profits in a trending market while allowing for more flexibility in trade management.
-TRAILING PROFIT Mode:
Similar to the Take Profit mode, this option allows you to set the trailing stop levels. The trailing stop moves with the market, ensuring that you lock in profits as the price continues to move in your favor. Once a profit level is hit, the trailing stop "follows" the price movement, adjusting dynamically to safeguard profits as the trade progresses.
3. Customizable Insight Alerts
Traders can configure personalized alert messages for every strategy action, including entries, exits, and profit targets. These alerts are fully compatible with TradingView's webhook system.
Advantages
Customization: Fully customizable exit set-up and alerts allow traders to tailor the strategy to their personal trading objectives.
How It Works — Step by Step
Step 1: Apply the Strategy
Open the chart for your selected symbol and timeframe. Add the MÈGAS Engine to the chart.
Step 2:Backtesting and Optimization
Run a full backtest and optimize the strategy parameters across the chosen trading pairs to:
Identify robust settings that perform consistently well
Avoid overfitting through validation techniques
Select the most profitable and stable configuration for live or forward testing.
Step 3: Review Results and Alerts
Check the backtest results on the chart and confirm that the custom alert messages are displaying as expected. This helps verify that everything is functioning correctly before moving forward.
Step 4: Configure Portfolio Management
Set up the exit logic based on your specific requirements. Tailor the exit strategy to match your trading approach, whether you prefer predefined take profit levels, trailing stops, or a trend-following method. This flexibility ensures the exit logic aligns with your overall strategy for optimal performance.
Open the strategy settings window. In the dedicated portfolio management section, choose your preferred capital allocation method based on your trading style and risk preferences. Once set, save the configuration as the default.
Step 5: Set Up Alerts
Click "Add Alert" on the strategy
-In the message field, use: {{strategy.order.comment}}
Under the Notifications tab:
-Enable Webhook URL
-Enter your external webhook address
-Click 'Create' to activate alerts for your strategy
Please Note:
The results and visualizations presented are derived from optimized backtesting iterations using historical and paid real-time market data sourced via TradingView. While these results are intended to demonstrate potential performance, they do not guarantee future outcomes or accuracy. Past performance is not indicative of future results, and all trading involves risk.
We strongly recommend that users review and adjust the Properties within the script settings to align with their specific account configurations and preferred trading platforms. This ensures that the strategy outputs are reflective of real-world conditions and enhances the reliability of the results obtained. Use this tool responsibly and at your own risk.
MÈGAS ALGO : CNA (Cognitio Analysis) [INDICATOR]Overview
The CNA (Cognitio Analysis) is a comprehensive financial analysis tool designed to evaluate the overall health and potential of a market or company based on fundamental metrics. It aggregates data across five key metric groups—**Growth**, **Profitability**, **Cash Flow**, **Income**, and **Valuation**—to provide a final interpretation of market conditions. The indicator dynamically adapts to the selected fiscal period (Quarter, Year, or Trailing Twelve Months) and delivers insights into dominant trends and conflicting signals.
Key Features
1. Customizable Fiscal Period:
- Users can select between "Quarter", "Year", or "Trailing Twelve Months" (TTM) to analyze data for their desired timeframe.
2. Dynamic Table Visualization:
- Displays raw metric values, aggregated scores, and the final interpretation in an intuitive
table.
- Highlights the final interpretation with dynamic background colors (`color.teal` for bullish,
`color.red` for bearish, etc.).
3. Comprehensive Data Integration:
- Pulls financial data using TradingView's `request.financial()` function for metrics like
revenue, earnings, margins, and valuation ratios.
4. Normalization and Scoring:
- Normalizes data to create a consistent scoring system, ensuring accurate comparisons across
metrics.
How It Works
1. Metric Group Analysis
- Growth Metrics: Measures revenue growth, earnings per share (EPS) growth, and tax
efficiency.
- Profitability Metrics: Analyzes net profit margin, return on equity (ROE), and EBITDA margin.
- Cash Metrics: Assesses operating cash flow margin, free cash flow to operating cash flow
ratio, and cash flow coverage.
- Income Metrics: Examines gross profit margin, operating profit margin, and EBIT margin.
- Valuation Metrics: Evaluates price-to-earnings (P/E), price-to-sales (P/S), and enterprise
value-to-EBITDA (EV/EBITDA).
2. Dynamic Scoring System
- Metrics are normalized to ensure consistency across different scales.
- A geometric mean is used to calculate scores for each metric group, ensuring that all metrics
within a group contribute equally to the final score.
3. Dominant Trend Identification
- Scores from all five metric groups are aggregated to determine the **dominant trend** of the
market.
- The dominant trend is categorized as:
- Bullish: Strong fundamentals across most metrics.
- Bearish: Weak fundamentals across most metrics.
- Neutral: Balanced conditions with no clear direction.
- Unclear: Mixed signals dominate, requiring further monitoring.
4. Conflicting Signals Interpretation
- The indicator identifies scenarios where metrics conflict (e.g., high growth but low valuation).
- These conflicting signals provide nuanced insights into market conditions, highlighting rare opportunities or potential risks.
How to Use the Indicator
1. Select Fiscal Period:
- Choose between "FQ", "FY", or "TTM" to analyze data for the desired timeframe.
2. Review Metric Scores:
- Examine the scores for each metric group (Growth, Profitability, Cash, Income, Valuation) to
understand the underlying performance.
3. Interpret Final Output:
- The final interpretation provides a summary of the dominant trend and conflicting signals,
helping users make informed decisions.
4. Dynamic Coloring:
- Use the dynamic background colors in the table to quickly identify market sentiment
(bullish, bearish, neutral, or mixed).
Applications
- Identifying Opportunities:
- Look for bullish dominant trends combined with undervalued growth opportunities for
potential long positions.
- Avoiding Risks:
- Watch out for bearish dominant trends with overvaluation alerts to avoid potential losses.
- Monitoring Neutral Markets:
- Use the indicator to identify neutral markets and wait for clearer signals before making
decisions.
Conclusion
The CNA (Cognitio Analysis) is a powerful tool for traders and investors seeking to make informed decisions based on fundamental analysis. By combining detailed metric evaluations, dynamic scoring, and sentiment-based interpretations, this indicator provides a comprehensive view of market conditions. Whether you're identifying undervalued opportunities, avoiding overvalued risks, or monitoring neutral markets, this indicator equips you with the insights needed to navigate complex financial landscapes.
Please Note:
This indicator is provided for informational and educational purposes only. It is not financial advice, and it should not be considered a recommendation to buy, sell, or trade any financial instrument. Trading involves significant risks, including the potential loss of your entire investment. Always conduct your own research and consult with a licensed financial advisor before making any trading decisions.
The results and images provided are based on algorithms and historical/paid real-time market data but do not guarantee future results or accuracy. Use this tool at your own risk, and understand that past performance is not indicative of future outc