OPEN-SOURCE SCRIPT

The Magic Line

Par kisanghavi
This script is based on the simple 2 or 3 candle entry model taught by Armando "The Professor".

This strategy will work best on the 1hr timeframe or higher and you can also add a MA on your chart to identify direction of trend and trade with the trend. For example, if price is above the 50 SMA, you can opt to only look for 'buy' signals. If price is below the 50 SMA, you can opt to only look for 'sell' signals.

The default setting is to wait for 3 consecutive candles of either bullish or bearish sentiment before printing a buy or sell signal. This can be changed to any number you would like but typically 3 works best, as long as you're using the 1hr timeframe or higher.

Ex: If there are 3 green (bullish) candles print in a row, a 'sell' signal will print, and the entry line will be one tick below the open of the previous green candle. You can use that line as your entry.

For your stop loss, you can try to use the most recent swing high (for sells) or swing low (for buys). You can also use nearby support/resistance levels, or even the PSAR as another way to determine your stop loss.

If there are more than 3 consecutive candles with the same sentiment, signals will continue to print until the streak ends at which point the counter will restart, and the idea is to take the most recent signal as your entry. Limit/Stop entries work best as you can just let price come down to the signal line that is drawn.

Comment below if you have any questions! Good luck!
Candlestick analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité