TradingView
zxcv55602
22 de Sep. de 2022 7:21

Trend Breakout high/low #1 

Bitcoin Perpetual FuturesFTX

Descripción

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.

Notas de prensa

V2
Remove - Wighted mode
Remove - When win & When lose mode
Add - SMA long mode

Notas de prensa

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

Notas de prensa

- 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.

Notas de prensa

V4 - Make code compact

Notas de prensa

V5 - Add ATR to TP

Notas de prensa

V6 - Minor changes to the script
Comentarios
avinashraju11
Hi,

Thanks for the script. I am currently backtesting the strategy. Can also you provide it as an indicator with plotted signals instead of strategy ? So that I can create Trading view alerts for Entry Long , Entry Short, Exit Long, Exit Short.

Thank you.
Más