EnableMA, MACandleHistoryCount, MATimeframe, MAPeriod1, MAPeriod2, MAMethod

EnableMA, MACandleHistoryCount, MATimeframe, MAPeriod1, MAPeriod2, MAMethod

This is a simple Moving Average technical analysis.

The way bot is using it is, if Moving Average value of MAPeriod1 is higher than MAPeriod2, then it is assumed market is bullish hence BUY signal is raised. Similarly, if MA value of MAPeriod1 is less than MAPeriod2, then market is bearish.

You can set MAPeriod1 as the “shorter” moving average, while MAPeriod2 is for the “longer” one. For example, you can set MAPeriod1 to 20, and MAPeriod2 to 100.

MACandleHistoryCount is used to tell bot how long it needs to store the BUY/SELL signal for. It is useful if you need to use this technical analysis with other TAs.

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *