OPEN-SOURCE SCRIPT

ATR Targets - JD

Обновлено
A simple visual representation of ATR trading targets.
The indicator shows ATR targets (TP and SL) from the last swing points (if you entered there)

There is an option to chose targets for a long or short position.


JD.
#NotTradingAdvice #DYOR

I build these indicators for myself and provide them open source, to use for free to use and improve upon,
as I believe the best way to learn is toghether.
Информация о релизе
Changed the entry value to the "close" at the time of the "pivot signal" instead of the pivot value itself, to have more realistic entry and target points.

JD.
Информация о релизе
Added the option to chose between "Average True Range" (ATR) and "Average Pivot Range" (APR) trading targets.

The "APR" or "Average Pivot Range" is an indicator I created that calculates the difference between the highest and the lowest points of the last price swing (the last Pivot Range) and takes an average of that "swing amplitude" over a given lookback period.

The indicator shows ATR targets (TP and SL) from the close of the candle when the swing is detected (to give a realistic entry point)
or, in the case of APR, at the last high or low swing points (to show the likely expected extend of the move to the next swing point).

For the APR, the Average Range is calculated seperately for the 'up" and "down" moves, so the expected up move will be different to an expected down move,
because of that a factor of "1" is recommended for both TP and SL when using APR.

JD.
Информация о релизе
Changed screenshot to APR version

JD.
Информация о релизе
Changed faulty logic in APR targets.

JD.
Информация о релизе
Updated script to separate the zones better.
Thanks to Scarff for the code!!!

JD.
Информация о релизе
Modified the averaging logic and removed errors in target calculations for APR

JD.
Информация о релизе
code cleanup
Информация о релизе
update to v4.
ATRAverage True Range (ATR)stoplinestoplosstakeprofitVolatility

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


Disclaimer.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!
JD.

You can contact me for info/access in PM or on Telegram: @jduyck
PLS, DON'T ASK FOR ACCESS IN THE COMMENT SECTION!
Мои профили:

Отказ от ответственности