Hi chaps, I am working on an EA which is based on a few set criteria to decide to open a position or not. One of them is the icustom function below. iCustom ( NULL , PERIOD_CURRENT ,path,MGPeriod,Method,Price, 0 , 2 ); double BuyPrev = iCustom ( NULL , PERIOD_CURRENT ,path,MGPeriod,Method,Price, 0
If you have this in your code how can you call 'Period' to calculate SL TP or say MA which relies on this ATR value? ATR is dynamic and I want to capture the value with every tick for the next dynamic calculation. Thanks void OnTick () { //--- double atr = ( iATR ( NULL , _Period , Ind3Param0, 1 ) *
I have an EA which trades on multiple currency pair . Part of it is checking correlations and avoiding trades to limit exposure. For example if I have GBPJPY opened I don’t want my next position to contain either GBP or JPY. I’d want it to be USDCHF or AUDNZD. You get the point. Here is part of the
I have seen many indicators but does anyone know or have an EA based on Chandelier? Thanks
Mu dude is a manual trader. Is there a feature in MT4 which restricts him from trading outside of certain hours? Or can EA be developed to stop trading outside of these hours? Ideally I would like the EA to stop him from opening a position, failing that it would close the position immediately if