Library "two_ma_logic" The core logic for the two moving average strategy that is used as an example for the internal logic of the "Template Trailing Strategy" and the "Two MA Signal Indicator" ma(source, maType, length) ma - Calculate the moving average of the given source for the given length and type of the average Parameters: source (float) : -...
Library "adx" Calculate ADX (and its constituent parts +DI, -DI, ATR), using different moving averages and periods. adx(atrMA, diMA, adxMA, atrLen, diLen, adxLen, h, l, c) Parameters: atrMA : Moving Average used for calculating the Average True Range. Traditionally RMA, but using SMA here and in adxMA gives good results too. diMA : Moving...
Library "TAExt" Indicator functions can be used in other indicators and strategies. This will be extended by time with indicators I use in my strategies and studies. atrwo(length, stdev_length, stdev_mult) ATR without outliers Parameters: length : The length of the ATR stdev_length : The length of the standard deviation, used for detecting...