COBRA indicator and how to use
White lines = my entries – Red lines = my SL
Green lines = my TP – Yellow lines = only for technicals
To make this approach as simple and understandable as possible I will, as always, use a few words and a few simple rules to follow with some practical examples.
TradingView link: https://it.tradingview.com/script/ukFXB2j5/
The indicator has a scale from 0 to 100 on the right-hand side. That serves as a minimum and maximum parameter.
Here you have a few options:
1. Script Purpose
This script implements two MESA indicators (MESA 1 and MESA 4) with customizable colors and SMA triggers. The MESA Stochastic indicators can help you identify price reversals or overbought/oversold zones.
2. Key Parameters
- MESA 1:
Length
: Length of the oscillator calculation (default 50).Price
: Source price (defaulthl2
, which is the average of high and low).
- MESA 4:
Length
: Length of the oscillator calculation (default 9).Price
: Source price (defaulthl2
).
- Trigger:
Trigger Length
: Length of the moving average used as a trigger (default 2).
3. Color Configuration
You can customize indicator colors in the Colors
section:
- Positive Color: Color for positive oscillations.
- Negative Color: Color for negative oscillations.
- Neutral Color: Color for neutral oscillations.
4. How to Interpret
- MESA 1 and MESA 4:
- Both oscillators are plotted on the chart. The color change signals a trend shift:
- Green/Blue: Positive trend.
- Red: Negative trend.
- White: Neutral trend.
- Both oscillators are plotted on the chart. The color change signals a trend shift:
- Trigger (SMA):
- Yellow and blue lines represent the SMAs of the respective MESA indicators.
- When the oscillator crosses the SMA:
- Upward Cross: Buy signal.
- Downward Cross: Sell signal.
5. Trading Strategy
- Confirm the primary trend: Use higher timeframes (e.g., H4 or D1). The best is on Daily.
- Entry signals:
- Follow the crossovers between the MESA and Trigger to identify potential entry points.
- Add confirmations:
- Combine this with your main strategy (e.g., EMA crossovers or support/resistance levels).
Examples
Here he could have been bought.

Here on $USDJPY perfect time for a short

Hello, I still don’t have the cobra indicator working in tradingview and I already put my X and tradingview username in my profile. How and when will it be operational? If it is already operational, sorry for the inconvenience but I don’t know how to find it, thanks.
Yes, you can find indicator here: https://it.tradingview.com/script/ukFXB2j5/
👍thanks,that’s look good
Hi Cobra, have left my TV username in my profile, can you let me know if / an invite will be sent pls
Many thanks. I will try to learn it.
Hi Cobra! Happy New Year!!
Thanks for the indicator – just checking it out now. I’ve changed the colour of Trigger 4, since it coincided with a colore 0 of the MESA 4 oscilator. Makes it a bit more visual clear for me.
Quick question: on what instruments does the indicator best work? Or does it work on all?
Thx again!
thanks Stefaan! Yes for now I have tested it on NG and on Silver, it also works well on other commodities but also on stocks.
You’ve got the vertical red time/cycle lines on your charts. Is that something we can install/use ourself and how to get it?
I also change the color like Stefaan, makes it a bit more clear to me also.
Thnkx in advance!
Hi Michiel, the cyclic lines are manual, the automatic ones work little. These are calculations that I do based on my studies and they change based on various factors over time. Thanks to you!
Thanks, that’s clear for me now.!