OPEN-SOURCE SCRIPT

Super Trend Daily 2.0 BF

Telah dikemas kini
This is my Super Trend Daily strategy but with one important difference. You can now adjust settings for long or short signals individually and separately. For example, the condition for a long signal may require a different parameter setting than the condition for a short signal. Each parameter in the signal generation can be tuned. You can also decide what kind of stop loss you want for each side - you could have a fixed stop loss for longs and an ATR derived stop loss for shorts, or whatever.

We also have the option to choose if we want longs, shorts or both.

INISTRUCTIONS
Look at the background colors:
Green line = long signal
Red line = short signal
Aqua = No long trades
White = No short trades
Yellow dotted line = stop loss for long
Orange dotted line = stop loss for short

The aqua and white backgrounds mean the conditions are choppy/sideways according to our settings we applied to the rate of change function for a long/short signal respectively. It is possible to get a long signal in a white background, but not a short signal. Similarly, it is possible to get a short signal in an aqua background, but not a long signal.

This is a work in progress so any suggestions for improvements are welcome.
Nota Keluaran
Added a fill to the plotting section to better visualise long and short positions. Changed stop loss lines to solid instead of dotted.
BTCUSDsupertrendTrend Analysis

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian