bwentzloff / trading-bot

Code seen in Cryptocurrency Trading YouTube video here: https://youtu.be/fpqzXgZjSqM
400 stars 262 forks source link

Shouldn't indicators be receiving 'closes' rather than the 'priceAverage' ? #42

Closed erhardsc closed 6 years ago

erhardsc commented 6 years ago

All sources I find will calculate moving average using the closes rather than the priceAverage. Is there a reason you are using priceAverages rather than closes in this project?

Thus, does sending the priceAverage to the moving average create a weighted moving average?