Indicators: DarvasBoxes_System_HTF

To add comments, please log in or register
Automated-Trading
154003
Automated-Trading  

DarvasBoxes_System_HTF:

The DarvasBoxes_System indicator with the timeframe selection option available in input parameters.

Fig.1. The DarvasBoxes_System_HTF indicator

Author: Nikolay Kositsin

Mario Hugo Achucarro Pillat
1325
Mario Hugo Achucarro Pillat  

Hi!

Do you know why it cant be tested with input 1 day, and chart 1 hour?

Mario Hugo Achucarro Pillat
1325
Mario Hugo Achucarro Pillat  

Hi!

Can anybody help me with this error?

if(CopyTime(Symbol_,TimeFrame,iTime[bar],1,IndTime)<=0) return(RESET);

      //---

      if(iTime[bar]>=IndTime[0] && iTime[bar+1]<IndTime[0])

        {

         LastCountBar[Numb]=bar;

         double Arr[1];

         //--- êîïèðóåì âíîâü ïîÿâèâøèåñÿ äàííûå â ìàññèâ Arr

         if(CopyBuffer(IndHandle,BuffNumb,iTime[bar],1,Arr)<=0) return(RESET);

expression not boolean DarvasBoxes_System_HTF.mq5 211 70

expression not boolean DarvasBoxes_System_HTF.mq5 218 72

expression not boolean DarvasBoxes_System_HTF.mq5 262 70

expression not boolean DarvasBoxes_System_HTF.mq5 269 74

expression not boolean DarvasBoxes_System_HTF.mq5 270 74

William Roeder
20690
William Roeder  
Mario Hugo Achucarro Pillat: expression not boolean DarvasBoxes_System_HTF.mq5 211 70
#define RESET 0       // Êîíñòàíòà äëÿ âîçâðàòà òåðìèíàëó êîìàíäû íà ïåðåñ÷åò èíäèêàòîðàbool CountIndicator(… // Íîìåð ôóíêöèè CountLine ïî ñïèñêó â êîäå èíäèêàòîðà (ñòàðòîâûé íîìåð - 0)
   ⋮
      if(…) return(RESET);

Your function returns a bool. You are returning an int, expression not boolean.

Mario Hugo Achucarro Pillat
1325
Mario Hugo Achucarro Pillat  
William Roeder:

Your function returns a bool. You are returning an int, expression not boolean.

Thank you!

To add comments, please log in or register