Only Buy/Sell

 

I use the ExpertMAMA in mt5, but I want to add a command to ask users only for buy or sell

Thank you for your help.

 
manh1101 :

I use the ExpertMAMA in mt5 , but I want to add a command to ask users only for buy or sell

Thank you for your help.

You need to write your module (take #include<Expert\Signal\SignalMA.mqh> as a basis) and add your own conditions to it.

Reason: