OPEN-SOURCE SCRIPT

The Magic Line

От 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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности