OPEN-SOURCE SCRIPT

Doji strategy

Updated
This is a simple strategy based on Doji star candlestick.
It places two orders: buy stop at doji star high or previous candle high and sell stop at doji star low or previous candle low.
Exit rules are with take profit and fixed stop loss or take profit and stop loss at doji min or max.
This strategy works very well with high time frames like Daily and Weekly because those are without noise in doji formation.

Each currency pair has its own optimal setting for TP and SL: it's up to user find the best ones.
I could implement SL based on ATR, maybe in next revision.

Please use comment section for any feedback.
Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.
Release Notes
Two updates:
- Long candle before doji star: now the ratio between candle and its body can be customized.
- Use Volume filter: this is helpful on higher timefarmes like 1h or 4h because avoid startegy to take trades when a doji is formed with low volume (example after NY close)

So the performances (profit factor and profitable percentage) are improved.
DojidojistarpatternprofitSTARstrategyTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer