OPEN-SOURCE SCRIPT

Two MA Signal Indicator

업데이트됨
This Signal Indicator that emits a signal based on two MAs crossover/crossunder. It is designed to be used as an External Input for "Template Trailing Strategy" to verify the correctness of the External Deal Condition Mode of the aforementioned script and the Internal Strategy logic. Also, this script is a simple example on how to create custom signal indicators that can be "pugged" to the "Template Trailing Strategy" and get all the features this strategy script can provide!
릴리즈 노트
  • Minor refactoring
릴리즈 노트
  • The convention that is demonstrated for this signal indicator is the following: The signal is a two digit integer. The second digit (the one on the left) is the channel of communication for the long deals and the first digit is the channel of communication for the short deals. To be more specific if the digit of the channel is 2 you start and if it is 1 you end the deal otherwise you do nothing. So the possible values are 20 (start long), 10 (end long), 02 (start short), 01 (end short), 00 (no operation), 21 (end short and start long), 12 (end long and start short). This approach has the advantage that you can pass information both for longs and shorts in the same bar. The user of this input may use the integer division and modulo by 10 to extract each digit and get signal for both channels
  • Change default fastMA color
릴리즈 노트
  • Edit last comment to refer to the correct possible values of the signal
릴리즈 노트
  • Set minimum value to MA length
릴리즈 노트
  • Added trend filters into the indicator logic
  • Now indicator also can emit cancelation signals to inform the "Template Trailing Strategy" that should cancel any existing unfiled stop-limit orders
  • Draw the signals using external_input_utils library that also TTS uses to decode the signals
릴리즈 노트
  • The ema now use security in a "secure" way so it does not repaint in higher timeframes in real-time bars...
릴리즈 노트
  • Update exernal_input_utils library
릴리즈 노트
  • Add alerts for start end and cancel signals.
릴리즈 노트
  • Minor refactoring checking #region feature
릴리즈 노트
  • Show the actual signal value in the status line and data window
릴리즈 노트
  • Refactor to make it easier to copy-paste the Signal region to create your own signal indicator
릴리즈 노트
Update internal libraries. Use the datagram library to compose the signal.
릴리즈 노트
Refactor and update internal libraries
릴리즈 노트
Update internal libraries
릴리즈 노트
  • Update internal library "two_ma_logic" and add "series_collection"
릴리즈 노트
  • Update internal libraries
  • Use enum
릴리즈 노트
  • Update to pinescript version 6
  • Changed offset of signals and shapes
backtestableexternalsourcemovingavaragemoving_averageMoving Averages

오픈 소스 스크립트

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

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


📧 Contact info
Telegram: @jason5480

🔗 Addresses
₿ - bc1qxh3jeld7ke70fx3r5q243d96jsx0etth6x8fa7

* Please contact me before any donation ☕

면책사항