Buy on dips and sell into rallies. Simple as that.

- Short line (green)
- Base line (white)
- Long line (red)

When the market price touches the white or the red(green) lines, buy(sell) orders are generated.
The exit points are 2 lines above(below) the entries.

- Period: It affects the value of Base line and the spacing of each line.
- Multiple: Specify the spacing between each line.
リリースノート: - bug fix
- add a setting "Color Bars"
リリースノート: - Add "Profit Margin". If "1" is set to this parameter, exit long(short) points are "1" line above(below) the entries.
- Add "Buy Equal Amounts?".
- Remove "Color Bar". (Bar color can be changed in the style tab.)
- Modify default values.
リリースノート: Fix a typo.
リリースノート: modify default values
リリースノート: modify default values etc.


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 a publication is governed by House Rules. You can favorite it to use it on a chart.