Trading signals function. Based on the values of the CCI indicator. – library MetaTrader 4

Trading signals function. Based on the values of the CCI indicator. - library for MetaTrader 4
Trading signals function. Based on the values of the CCI indicator. Add the function to the EA: #include <Signal.mqh> Condition if(GetSignal()==1) is for buys. Condition if(GetSignal()==-1) is for sells. External variables of the function: periodCCI – the period of averaging for calculation of the indicator. applied_price – Used price. It can be any of the