Download MetaTrader 5
To add comments, please log in or register
Do you need a trading robot? Orderit via Freelance service!
mareks1
131
mareks1 2015.07.02 19:52 

Hi,

I am trying to make CCI predictor based on BPNN Predictor.mq4 but id doesn't work as it should.

Can someone have a look to find what is wrong (see the end of the code)

Files:
Marco vd Heijden
Moderator
4680
Marco vd Heijden 2015.07.02 20:15  
iCCI()
returns numerical value.
mareks1
131
mareks1 2015.07.02 20:28  
Marco vd Heijden:
returns numerical value.

Marco,

May I ask you for a few more words   :)

Marco vd Heijden
Moderator
4680
Marco vd Heijden 2015.07.02 21:26  
iCCI(....)

Returns a numerical value either positive or negative and not a price value.

//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   Print(" iMA: ",iMA(Symbol(),0,5,0,MODE_SMA,PRICE_CLOSE,20));
   Print(" iCCI: ",iCCI(Symbol(),0,14,PRICE_TYPICAL,20)); 
  }

Result:


How is that suppose to work?

Usually the trigger levels are +100 and -100.

mareks1
131
mareks1 2015.07.03 12:05  
Marco vd Heijden:

Returns a numerical value either positive or negative and not a price value.

Result:


How is that suppose to work?

Usually the trigger levels are +100 and -100.

Looks to be useless. Any way thank you.
/
To add comments, please log in or register