Price Cross EMA

price_cross_ema

Function Name: price_cross_ema

Tags: Crossover, Exponential Moving Average

Category: Trend

The lastest bar crossover or below of exponential moving average with different period then gives a buy/sell signal

 

Parameters:

Period: Period for EMA expressed in number of bars.

ShowEMA: EMA display control flag.

Note:

The last bar might trigger a buy/sell signal intermittently when the indicator is calculated on each new tick. This can be avoided if the "calculate on each new bar" option is selected, that way the indicator will not be calculated on the last bar.                                                

 

Parameters

Period

 

Default Value: 10  |  Minimum: 2  |  Maximum: 9999

 

Type: Numeric

ShowEMA

 

Default Value: -1

 

Type: Boolean