Forum

Some operator expected

Hi, I'm now in programming and I have this error with this function void CheckEquityLoss() { if ((AccountEquity() < AccountEquity()(1 - EquityLoss/100))) { if(filterMartingala) Chiusura(); CloseAllBuy(); CloseAllSell(); } } in this function I want to close all trade if my

Help for ea programming and testing

Hi everyone, my name is Andrea, i'm new in the forum and in the ea programming. I'm trying to create an ea based on MACD and EMA100 (I do not know if this type of bot already exists) with this conditions: MACD: fast lenght 12, slow lenght 26, signal 9 -buy: if candels are above EMA100 and MA cross