How to coding a robot with 2 Movingavarage ?

Please help me to create a robot with 2 MA indicator ( MA5 and MA8) ? Who can give me a sample of this ?
tranhoang6a:
Please help me to create a robot with 2 MA indicator ( MA5 and MA8) ? Who can give me a sample of this ?
Please modify macd sample robot.
Marco vd Heijden:
Please modify macd sample robot.
Thank you!