Trading signals function. - library MetaTrader 4

The trading signals function is based on the values of the OsMA indicator. Add the function to the EA: #include <Signal.mqh> Condition if(GetSignal()==1) is for buys Condition if(GetSignal()==-1) is for sells Test Example: ...

from https://tradingrobots.net/trading-signals-function-library-for-metatrader-4/