1
Beginners & Help / MA calculation
« on: August 28, 2017, 06:36:36 PM »
I'm having a little difficulty understanding how to calculate the MAs. Using v4.0.5
Please correct me if I'm wrong, but MAs in the bot are time based, not based on the number of candles. Correct?
Example:
Having the bot use a 200 candle MA would be calculated as; MA = candle time period * number of candles or 3000(MA entry for bot) = 15 * 200.
Or would it be MA = candle time period / number of candles?
Or perhaps MA = (candle time period<1hr / 60) * number of candles; 50 = (15 / 60) * 200
Can anyone clarify?
I am trying to translate a strategy of buying when the price reaches at or just above either the 50 or 200 candle MA
Edit**
Source of confusion: seeing MA suggestions listed as 2, .02, .04; and config file listing 2000, 5000, etc.
Please correct me if I'm wrong, but MAs in the bot are time based, not based on the number of candles. Correct?
Example:
Having the bot use a 200 candle MA would be calculated as; MA = candle time period * number of candles or 3000(MA entry for bot) = 15 * 200.
Or would it be MA = candle time period / number of candles?
Or perhaps MA = (candle time period<1hr / 60) * number of candles; 50 = (15 / 60) * 200
Can anyone clarify?
I am trying to translate a strategy of buying when the price reaches at or just above either the 50 or 200 candle MA
Edit**
Source of confusion: seeing MA suggestions listed as 2, .02, .04; and config file listing 2000, 5000, etc.