Market Adaptive Stop-Loss

I realized that the zone changes in the stoploss remained slow, so I couldn't make enough use of the characteristics of technical indicators when opening positions.
This pushed me to keep stop-loss under the influence of a dependent variable.
This script helped me a lot (everget) :
I've redesigned the stop-loss to be affected by intersections.
Therefore, this script is also suitable for adaptive moving averages, fractional periods.

Script features:

1.You can select calculation methods created by using various technical analysis methods from the scripts' settings:
-Moving Average Convergence Divergence ( Macd )
-Stochastic Oscillator ( Stoch )
-Stochastic Relative Strength Index (StochRSI)
-Stochastic Money Flow Index (StochMFI ) (More info :
-Know Sure Thing ( KST )
-OBV ( On Balance Volume )
-SMA ( Simple Moving Average )
-EMA ( Exponential Moving Average )
-FISHERTRANSFORM ( Fisher Transform )
-AWESOMEOSCILLATOR( Awesome Oscillator )
-PSAR ( Parabolic Stop and Reverse - Parabolic SAR )
-HULLMA( Hull Moving Average )
-VWMA ( Volume Weighted Moving Average )
-RMA (Moving Average using in Relative Strength Index calculations.)
-COG (Center of Gravity )
-ACC-DIST ( Accumulation / Distribution Index )

2 - The region is determined according to the above calculation methods and if it is larger or smaller than the previous stop loss level.
And if the price in the negative zone is lower than the stoploss, it is the exact signal and is shown with more highlighted colors.
And, in the positive zone, where the price is greater than the stoploss, the trade zones are certain.
Shown with more highlighted colors.

If the zones are correct but stop-loss is not suitable for opening positions:
In other words, if the stop-loss is above/under the highest-lowest levels in the positive zone or if the stop loss is located in the lower zone in the negative zone, these zones are shown to be darker and dimmed so that they do not cause false movements.

*** SUMMARY : As a result, you can use this script with support and resistances,and trend lines to get good results.

I hope it helps in your analyzes. Best regards.
Phát hành các Ghi chú: On Balance Volume (OBV) Bug fixed.
Mã nguồn mở

Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Bình luận

awesome....just one Q Noldo, do you see any possibility of repaint?
+2 Phản hồi
@FXNEWLIFE, hello , just saw your message .
does not repaint because there is no data extraction.
Thanks for your interest , regards !
Phản hồi
Hello, thx for your great work.
Which indicators are best to use together for daily trades in this script?
I know it just lets you to use one at the same time but I wanna modify it..
+1 Phản hồi
Still amazed :O)
+1 Phản hồi
Noldo syrinxflunki
@syrinxflunki, your welcome !
Phản hồi
Excellent indicator. Would you be able to add Jurik Moving Average and Kaufman Adaptive Moving Average (KAMA) as a method?
Phản hồi
@Noldo Thank you, this script is absolutely fantastic.
Phản hồi
Noldo MyQuandary
@MyQuandary, ur welcome
Phản hồi
Hi, I'm new here. May I know where and how do you implement those different calculation method? Was it only on this line?
dir := _output > 0 ? 1 : _output < 0 ? -1 : dir
Phản hồi
Noldo jeno_
@jeno_, output includes all methods.
Phản hồi