Home | Trading Alchemy Manual | Alchemy Functions IndexAlchemyMomentumTrigger (Function)The AlchemyMomentumTrigger is a multiple-output function that provides the plot values for the indicator Alchemy MomentumTrig. AlchemyMomentumTrigger(Trigger,TriggerNumber,TriggerPercent,Price,Factor1,Factor2,Deviation1,Deviation2,TriggerValue) Parameters
|
Trigger (truefalse) |
When disabled, the trigger plot bypasses the momentum filter and displays continuous dots between the trigger alert dots. |
TriggerNumber (numeric) |
Specifies the trigger calculation mode and the options are 1 for a faster momentum calculation or 2, for a slower momentum calculation |
TriggerPercent (numeric) | Specifies the trigger threshold percent. |
Price (numericseries) |
Specifies the price to be used for the trend calculation such as open, high, low or close. |
Factor1 (numeric) | Specifies the primary sensitivity factor for the trend calculation, whereas a decreasing value increases the sensitivity for a more shorter term trend, vice versa, an increasing value decreases the sensitivity for a more longer term trend. |
Factor2 (numeric) | Specifies the secondary sensitivity factor for the trend calculation, whereas a decreasing value increases the sensitivity for a more shorter term trend, vice versa, an increasing value decreases the sensitivity for a more longer term trend. |
Deviation1 (numeric) | Specifies the primary trend calculation method and the options are 1, 2, 3, 4, 5 or 6. |
Deviation2 (numeric) | Specifies the secondary trend calculation method and the options are 1, 2, 3, 4, 5 or 6. |
TriggerValue (numericref) |
Variable that receives the following values: 2: When a bullish momentum change is detected and the zero line trigger dot displays with an alert color as specified with the color plot BullTrigCol. 1: When an increasing momentum into the direction of the bullish trend is detected and the zero line trigger dot displays with a regular color as specified with the color plot BullColor. 0: When the trigger dot does not display. -1: When an increasing momentum into the direction of the bearish trend is detected and the zero line trigger dot displays with a regular color as specified with the color plot BearColor. -2: When a bearish momentum change is detected and the zero line trigger dot displays with an alert color as specified with the color plot BearTrigCol |
ReturnsAlchemyMomentumTrigger returns the histogram value of the indicator Alchemy MomentumTrig. UsageThe Alchemy Momentum Trigger indicator displays the market trend in form of a positive or negative histogram and when a momentum change is detected, it triggers potential entries into the direction of the trend by displaying trigger dots on the zero line. When a bullish momentum change is detected, the zero line trigger dot displays with an alert color as specified with the color plot BullTrigCol. When a bearish momentum change is detected, the zero line trigger dot displays with an alert color as specified with the color plot BearTrigCol. When an increasing momentum into the direction of the bullish trend is detected, the zero line trigger dot displays with a regular color as specified with the color plot BullColor. When an increasing momentum into the direction of the bearish trend is detected, the zero line trigger dot displays with a regular color as specified with the color plot BearColor. |