
Originally Posted by
clovelly
funyoo, however in your EA code:
double CDS=iCustom(Symbol(),TimeFrame1,"Cronex DeMarker",TF1DeMarker,TF1FastMA,TF1SlowMA,0,i);
double CDR=iCustom(Symbol(),TimeFrame1,"Cronex DeMarker",TF1DeMarker,TF1FastMA,TF1SlowMA,1,i);
double CDB=iCustom(Symbol(),TimeFrame1,"Cronex DeMarker",TF1DeMarker,TF1FastMA,TF1SlowMA,2,i);
then, for BUY criteria
... &&CDS>CDB&&CDB>CDR
I assume you give the name CDR/CDB for Red/Blue line. But as coded, the CDR actually gets data from the BLUE line, and CDB gets the RED line value. Is it intended (to trade on the pullback), or a typo error which somehow turns the EA into profitable?