OPEN-SOURCE SCRIPT
Mis à jour

[Kpt-Ahab] Moving Average Alarm Output

526
Various Moving Average with Signal Outputs

Compatible with various backtesting-systems or risk management-systems for generating alarms and trading signals.

Also compatible with the djmad Multibit ecosystem, allowing for signal filtering or combining indicators.

Standard signal output Long/Short +1/-1
Filter, for suppressing signals

snapshot

Various color variations.

snapshot
Notes de version
Description
This script monitors the crossing of different moving averages and triggers alerts based on various selected conditions.
It supports basic alerts as well as integration with the more advanced Multibit for complex signal handling.

Triggerlines (Alert Modes and Signal Display Settings)
Alert mode → Selects under which condition alerts are triggered:

Cross MA When the short-term MA crosses above the long-term MA.
Cross MA with Daily Trend As above, only if both MAs are above the Daily SMA
Cross MA reverse Trend Cross upwards, even though both MAs are below the Daily SMA
Cross MA 2 Cross Daily When the long-term MA crosses above the Daily SMA

standard signal output on/off →
On = Produces normal alerts with value +1 (buy) and -1 (sell).
Off = Switches to Multibit transmission mode (for more complex setups).

Alert Outputs
If standard signal output on/off = on:
+1 → Buy Signal
-1 → Sell Signal

If standard signal output on/off = off:
Uses the library: djmad/Signal_transcoder_library/7.
Assign signals to Multibit channels (channels 1–8).
Long Signal / Short Signal / Small Trend Buy / Small Trend Sell / Big Trend Buy / Big Trend Sell / Combined Trend Buy / Combined Trend Sell
Signal: Crossing MA
Trend: fast MAs that are above or below slow MAs

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.