Re: Ichimoku Indicators for MT4

437
mrtools wrote: Thu Nov 11, 2021 4:37 am Not sure but your spacing looks different,but like i said not sure, this is what I copied and pasted from the file.

Code: Select all

!!value chart limited - bars + kumo (alerts)
But looking at it now, not sure.
I copy pasted your file name and it is the same that i had, and gives the same error. When i backtest the indicator alone it works correctly and gives no name error. Strange.

Code: Select all

//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+

eOrderType GetEntry_valuechartlimited(int i)
  {

   if(InpEntryIndicator == evaluechartlimited)
     {
      string indicatorname = EntryExitdir+ "!!value chart limited - bars + kumo (alerts)";
      double close = iCustom(_Symbol, InpEntryTf, indicatorname, 3, i);
      double prevclose = iCustom(_Symbol, InpEntryTf, indicatorname, 3, i+1);

      


      if(prevclose > -4 && close <-4)
         return(BUY);
      else
         if(prevclose <4 && close > 4)
            return(SELL);
         else
            return(NONE);
     }

   return (UNUSE);
  }
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+


Who is online

Users browsing this forum: alimpe2000, Banzai, Dragon, Facebook [Crawler], fibo7818, Krunal Gajjar, LUCAS123, Lwqa, SijjiN, Sutatong, xiaobrave and 82 guests