Marco De Angelis / Publications
Forum
OrderClose error 138 for takePartialProfits function
Hi all, I’m testing this function to close an order partially, unfortunately it returns this error "OrderClose error 138 " and I can not quite understand the reason. Thanks to anyone who wants to help #property copyright "" #property link "" #property version "1.00" #property strict
Old indicator conversion
Hi, I'm struggling in converting this old indicator to a newer version that uses OnCalculate() instead of onstart(). In the version with OnCalculate() the indicator stops giving any type of indication. I have read the documentation but there's something I'm missing about how to use the OnCalculate()
Embed indicator code into an EA
Hi all, I'm new with MQL4 and I have this indicator which I should embed inside an EA. I know I could use the iCustom function but for several reasons I have to embed the code right inside an EA function. Could you give me some suggestions to avoid modifying whole indicator code? Also some simple