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の精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項