Disliked{quote} I use iCustom() function to get the value from Center of Gravity.ex4, which should be ready in MQL4\indicators\ in advance. I made the modification of Icarus_2.2 on the void Robot() parts: // BUYS==0 as well as // SELLS==0. Two simple bool function to decide Buy/ Sell using CoG is attached at the end of original code of Icarus_2.2. mq4 and ex4 files are attached as follows. {file} {file} {file} {file}Ignored
1