Firstian Putra Adi / Publications
Forum
Limit Profit in EA
Hi, for all coders out there. I have a question. Is it possible to limit profit in an EA. By limiting I mean, lets just say that I want 100 pips per currencies in my EA and I want that EA to stop trading for the rest of the month after it reach that 100 pips. Is it possible to code that or is it
Need help creating close order
Can anyone help me create a close order in my ea because I'm at loss in what i should do. Example, I have open buy and the condition to close the order is fulfilled (CCI<0). How do i write in in my ea. Thank you
Hi, I'm just finishing my own brand new EA which i build my self and i'm looking for pointer if there is something wrong with it or simplifying it.
Now this is my code { //Sting signals string Signal= "" ; //Moving Average double MovingAverage= iMA ( _Symbol , 0 , 2000 , 0 , MODE_SMA , PRICE_CLOSE , 0 ); //CCI double CCI= iCCI ( _Symbol , 0 , 2000 , PRICE_TYPICAL , 0 ); //Buy Signal with moving average is lower than price