OPEN-SOURCE SCRIPT

ADX | DMI Trend Strategy

업데이트됨
This strategy takes the ADX Indicator I wrote and applies it to a strategy for back testing purposes.

I've also applied a date filter so you can back test specific date ranges and a moving average filter so you can choose whether to filter your longs/shorts based on a moving average.
릴리즈 노트
Added a checkbox option to disable short trades if a long-only strategy is desired and cleaned up the code a bit.
릴리즈 노트
Added the ability to filter the signals based on volume compared to average volume. The theory is that you'd only take trades that had abnormal volume. You can turn this on or off with a checkbox to see the results.
릴리즈 노트
Added the ability to select different kinds of volume filtering. The current bar's volume must be greater than
1) Average Volume * some user defined multiplier (use this if you want to track above average volume as a filter)
2) Manually input level for volume (use this if you want to wait for a specific volume threshold)
3) The greater of the manual level AND the average volume * multiplier
릴리즈 노트
Added the ability to set a protective stop based on a trailing ATR.
릴리즈 노트
For manual volume input, set increments to 1000.
릴리즈 노트
Added alerts for Long, Short, and Sell/Cover (when ADX starts turning down).
릴리즈 노트
Updates to add parity to the ADX Study in terms of adding separate lookback periods for entry and exit for the slope of the ADX.
Added Parabolic SAR as an alternate exit signal. If you select both ATR and SAR as an exit option, it will pick whichever comes first.
ADXAverage Directional Index (ADX)Directional Movement Index (DMI)DMITrend Analysistrendfollowing

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항