OPEN-SOURCE SCRIPT

Trend Breakout high/low #1

Aggiornato
What is the Trend Breakout high/low #1?
This script uses the high/low of each fixed time period as a conditional judgment, and when the high/low is broken as a buy/sell signal, trying to capture a trend.

How to use this script?
Start date and Stop date: You can choose the date of the test.
Trading cycle: Selected time period is used as the basis for determining the high/low and is limited to one trade only.
Stop range: This value will calculate the stop loss range. Set 50-100 that is better
Fixed mode: Fixed of lots per transaction.
---Additional Functions---
Reversal mode: Reversing the buy and sell signals, may be useful in certain situations.
Wighted mode: Increased profitability under certain conditions
When win & When lose:Judgment when there is an ongoing loss/profit as a condition, may be useful in certain situations.
Use closing price: Use the closing price breakout high/low as a conditional judgment, but this function sometimes fails.

Notes:
Trading cycle and your chart time period can't be set too close,that will result repainting.
Stop range can't be set too small,that will result repainting either.
Note di rilascio
V2
Remove - Wighted mode
Remove - When win & When lose mode
Add - SMA long mode
Note di rilascio
V3
Remove - reversal mode
Fix - repaint, but it just used the close price. It's Pine script restriction, can't have it both ways.
Add - SMA swich mode .It's filter
Add - SMA2. Used to takeprofit
Note di rilascio
- development -
If you want to make money, you can choose to use "Trend #2 - BB+EMA", That's free and I'm using it.
If you want to make more money, send me a message,"Trend #3" development completed, I will show you about that.
Note di rilascio
V4 - Make code compact
Note di rilascio
V5 - Add ATR to TP
Note di rilascio
V6 - Minor changes to the script
Candlestick analysisDonchian Channels (DC)Simple Moving Average (SMA)

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità