Coding help - page 101

 

Thank you mladen!

it worked like a charm!!!!, i really couldn`t thank you enough ! you are the best!

 

Also one last question.. i saw that you made multi pair indicators that have splitted vertical areas to show the values for the other pairs.. im wondering if is possible to do an indicator that show 3 indicators in the same fashion but of the same pair.. in this way one can only keep one indicator instead of 3...

Thanks

 
AtApi:
Also one last question.. i saw that you made multi pair indicators that have splitted vertical areas to show the values for the other pairs.. im wondering if is possible to do an indicator that show 3 indicators in the same fashion but of the same pair.. in this way one can only keep one indicator instead of 3... Thanks

Yes, it is possible.

What you have to take care is to have indicators with similar bounds for that case (for example, since both RSI and stochastic are in 0-100 bounds, the would be a "prefect candidates" for such an indicator combination)

 

Ok thank you i will try.. i`ll keep you in the loop!

 

Hi - Does anyone have an MA cross EA with an OCO feature, so when the cross goes back the other way the original trade is cancelled and a new one in the opposite dirsection placed. I would like need itthe OCO as a settable option so it is can be turned off when I do not need it, but is also the default setting.

Thank you

Jeff

 
jeffpark:
Hi - Does anyone have an MA cross EA with an OCO feature, so when the cross goes back the other way the original trade is cancelled and a new one in the opposite dirsection placed. I would like need itthe OCO as a settable option so it is can be turned off when I do not need it, but is also the default setting.

Thank you

Jeff

Did you check this one : https://www.mql5.com/en/forum/general

 

Hi mladen,

Yes I did try it thank you; it took some crosses but missed others and I could not work out why, but it does seem to be a bit of a feature that MA crosses do not capture all the crosses, culminating in the free one - to clients - from FXCM which specialises in taking miniscule crosses on very slight movements and missing the bigger much more obvious ones.

Regards

Jeff

 

Thank you very much mrtools - it will go on this evening.

Regards

Jeff

 
jeffpark:
Hi mladen,

Yes I did try it thank you; it took some crosses but missed others and I could not work out why, but it does seem to be a bit of a feature that MA crosses do not capture all the crosses, culminating in the free one - to clients - from FXCM which specialises in taking miniscule crosses on very slight movements and missing the bigger much more obvious ones.

Regards

Jeff

Jeff, have this one have never visual back tested to see if it gets all the crosses are not, it has a close on trend change that can be the same as OCO feature if you set the closing Ma's the same as the opening Ma's.

Files:
ma_cross_ea.mq4  17 kb
 

Tried it out mrtools, but I think I need to see the pdf or whatever instructions there is so I must have some of the parameters set incorrectly. "Trading hours"! as a comment on the chart. Do you know of such a document please?

Regards

Jeff

Reason: