OPEN-SOURCE SCRIPT

Fetch EngulfingBuys

This script makes use of bullish engulfing candles, trend analysis, and time.

The trend is devided between an up- and downtrend. This is based on a simple cross over strategy, using the 9 and 50 moving averages.

The buys are calculated based on how many times a bullish engulfing candle was displayed on the chart during a downtrend. Bullish engulfing candles in an uptrend will never result in a buy signal.

The sells are simply based on time. This means that the script counts how many days you have been in a trade. The default is 100 candles. You can tweak this in the settings of the indicator.

Finally, this script does not provide you with any stop-losses. I am planning on releasing a v2 once I figured out what a good balance is. Also, you might notice that there are more buys than sells. This is because only the first trade in the series is tracked. V2 could improve on this flaw of the indicator.

Hope you enjoy this first iteration of the indicator.
Candlestick analysisCyclesEngulfing Candle

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明