OPEN-SOURCE SCRIPT

The Magic Line

Di 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

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità