Page 44 of 51

Re: Ichimoku Indicators for MT4

Posted: Thu Nov 11, 2021 2:21 am
by mrtools
ffsss wrote: Wed Nov 10, 2021 10:47 pm As buffer colors from 0 to 3 are white i though there was none. I will try as you said, thank you very much!
Meant to say that yeah the candles are using buffers, but are drawn as objects, that's the only way I know in mt4 and not sure it will work with an EA.

Re: Ichimoku Indicators for MT4

Posted: Thu Nov 11, 2021 2:33 am
by ffsss
mrtools wrote: Thu Nov 11, 2021 2:21 am Meant to say that yeah the candles are using buffers, but are drawn as objects, that's the only way I know in mt4 and not sure it will work with an EA.
I tried to code it, but it says name is different, isnt the name correct? I dont think i changed it.

Re: Ichimoku Indicators for MT4

Posted: Thu Nov 11, 2021 2:36 am
by mrtools
ffsss wrote: Thu Nov 11, 2021 2:33 am I tried to code it, but it says name is different, isnt the name correct? I dont think i changed it.
Image
Check your iCustom call

Re: Ichimoku Indicators for MT4

Posted: Thu Nov 11, 2021 2:39 am
by ffsss
mrtools wrote: Thu Nov 11, 2021 2:36 am Check your iCustom call
Indicator name is copy/pasted from the file

Re: Ichimoku Indicators for MT4

Posted: Thu Nov 11, 2021 2:44 am
by mrtools
ffsss wrote: Thu Nov 11, 2021 2:39 am Indicator name is copy/pasted from the file
Image
Not by my computer, should be there in an hour or so.

Re: Ichimoku Indicators for MT4

Posted: Thu Nov 11, 2021 4:37 am
by mrtools
ffsss wrote: Thu Nov 11, 2021 2:39 am Indicator name is copy/pasted from the file
Image
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.

Re: Ichimoku Indicators for MT4

Posted: Thu Nov 11, 2021 5:31 am
by ffsss
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);
  }
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+

Re: Ichimoku Indicators for MT4

Posted: Sat Nov 13, 2021 11:04 pm
by ffsss
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.
Did you find any problem?

Re: Ichimoku Indicators for MT4

Posted: Sun Nov 14, 2021 1:19 pm
by mrtools
ffsss wrote: Sat Nov 13, 2021 11:04 pm Did you find any problem?
Again think it's somewhere in your iCustom call other than that have no idea.

Re: Ichimoku Indicators for MT4

Posted: Mon Nov 15, 2021 10:42 am
by Kathy McGarry
G'day Traders,

Does anyone have a MQL4 version of the attached MQL5 Ichimoku Cloud?

Just the cloud - no bells, whistles and trimmings.

Kind regards,

Kath