TradingView
UnknownUnicorn2151907
Dec 20, 2018 2:37 PM

[Long/Short] Range Filter-ADX 

US SPX 500OANDA

Description

It's a useful script for pairs where you can operate long and short.
It's a combination algorithm of the Range filter and the ADX.
The ADX helps to make the decision to enter to open long or short position.

LG --> Long
xL --> Close Long position
ST --> Short
xS --> close Short Position

Enjoy!!!

Release Notes

Long / Short Option and Profit / Loss added

Green --> Profit
Red --> Loss

Release Notes

Trailing Stop

Release Notes

Parabolic SAR

Best Time Frame 2H-4H

Release Notes

(Today Bitcoin = 3800 USD)

Happy New Year!!!!

Release Notes

DERIBIT --> 2H

Release Notes

Second Trailing Stop, Trailing Stop Delay Time and Stop Loss added

Some Settings but could be still better:

XBTUSD (BITMEX)

Timeframe = 2H
Position Side = BOTH
Source = hl2
Sampling Period = 12
Range Multiplier = 1.0
ADX lenght = 10
ADX Threshold = 19
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.25
% Activation 1st TS = 1.5
1st TS = 0.2
Delay TS = 59
% Activation 2nd TS = 10
1st TS = 0.2
Stop Loss = 3

ETHUSD (BITMEX)

Timeframe = 2H
Position Side = BOTH
Source = hl2
Sampling Period = 14
Range Multiplier = 0.8
ADX lenght = 15
ADX Threshold = 13
SAR start = 0.08
SAR inc = 0.04
SAR max = 0.3
% Activation 1st TS = 1.5
1st TS = 0.2
Delay TS = 59
% Activation 2nd TS = 15
1st TS = 0.2
Stop Loss = 3

BNBUSDT (BINANCE)

Timeframe = 2H
Position Side = LONG
Source = hl2
Sampling Period = 18
Range Multiplier = 1.1
ADX lenght = 17
ADX Threshold = 20
SAR start = 0.05
SAR inc = 0.04
SAR max = 0.2
% Activation 1st TS = 3
1st TS = 0.3
Delay TS = 59
% Activation 2nd TS = 20
1st TS = 0.3
Stop Loss = 3

The main enemy is the exchange itself. They try to liquidate you with their unforeseen movements. This script catch those movements ...

Release Notes

New Trailing Stop Delay. It's the same method as the RePaNoCHa script. It take a snapshot every X seconds, if the TS is activated the alert is triggered, otherwise the price keeps fluctuating until a new snapshot.
Comments
quiquebga
Hi, does this works for YFI, UNI, XRP and other coins or just the above listed?
Jiop560
i want script this indicater
Lo_JorgeMiguel
Hey there, does this work on index? thanks
vestigialrhyme
Hi, do you mind sharing the script so I can understand how it works. Thanks in advance.
cryptotravler
what does TS mean?
Albacore_Slo
@cryptotravler, I think it is trailing stop. You can find it in the settings.
omglobalpartnersservices
hi, can you please provide or upload the pinescript for same as reference, thanks
foreignBoa23111
[Long/Short] Range Filter-ADX-SAR [BACKTEST] (BOTH, 9, 1.7, 12, 19, 0.03, 0.04, 0.2, 1.7, 0.35, 180, 10, 0.75, 3.1, 2018, 1, 1, 2222, 12, 31, 90, 20)
Albacore_Slo
Anybody knows is this indicator repaints?
grezniy
hi, how can I contact you?
After a month of settings, I found 2 good pairs for this indicator with an incredible profit and I need to discuss this since some aspects of your indicator are not clear to me
More