Trend determination: 2 similar sequenced signals indicates srart trend: "BUY" "BUY" , "SELL" "SELL"
Use script for trend deals (for trend: SELL means go into trade, BUY means take profit; for trend: BUY means go into trade, SELL - take profit). 2 Consecutive similar signals, like "Buy" "Buy", with gap between them indicate probable trend reversal.
Stop Loss recommender on High of "signal" bar for SHORT and on LOW of "signal" bar for LONG
Script may be used for different types of trading.
For intraday: period: 960, protection: 180
For 2-3 day or weekly positions: period:4W, protection 1D
Fox indices ( DXY , for example):period:1W, protection 360
Bug with repainting not fixed yet (I'w working on it).
Period is period of calculation ( in minutes or D or W) - use average time between 2 BUY signals on bullish trend area (signals are start and end of one sidestep) - for UKOIL it approximately 16 hours for 1 hour graph ( in minutes or D or W)
Verification period( in minutes or D or W) is used for decreasing repainting - use average time between 2 BUY signals on the shelf area(signals should be on one side of sawtooth) - for UKOIL it approximately 3 hours
Protective time (candles) - signal shift (if you are waiting confirming candle) , default is 0