It places two orders: buy stop at star high or previous candle high and sell stop at star low or previous candle low.
Exit rules are with take profit and fixed stop loss or take profit and stop loss at min or max.
This strategy works very well with high time frames like Daily and Weekly because those are without noise in 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.
- 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.