Attached is V4 again, looking for the correct CCI indicator.
iCCI is the custom call the EA makes to the CCI indi to extract its values. I had forgotten to remove the 'i' when coding the indi's name. Then I coded the routine to read, in English, 'if the conditions are ok then let the trade go ahead, otherwise cancel it'. As the EA was looking for an indi that does not exist, the conditions were not ok, so it cancelled the trade.
Let's see if this works now.
iCCI is the custom call the EA makes to the CCI indi to extract its values. I had forgotten to remove the 'i' when coding the indi's name. Then I coded the routine to read, in English, 'if the conditions are ok then let the trade go ahead, otherwise cancel it'. As the EA was looking for an indi that does not exist, the conditions were not ok, so it cancelled the trade.
Let's see if this works now.
Attached File(s)
KG basket flexible trading EA V4.zip
583 KB
|
583 downloads