Forum

Ascending or descending moving average

Hi everybody. I want to compare moving average of two points to check if moving average chart is ascending or not. double startEMA = iMA ( NULL ,TimeFrame,MovingAveragePeriod, 0 , MODE_EMA , PRICE_CLOSE , 1 ); double endEMA = iMA ( NULL ,TimeFrame,MovingAveragePeriod, 0 , MODE_EMA , PRICE_CLOSE