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.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!
Re: Ichimoku Indicators for MT4
432I tried to code it, but it says name is different, isnt the name correct? I dont think i changed it.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.
Re: Ichimoku Indicators for MT4
433Check your iCustom callffsss 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.
Re: Ichimoku Indicators for MT4
436Not 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)
Re: Ichimoku Indicators for MT4
437I 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.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.
But looking at it now, not sure.Code: Select all
!!value chart limited - bars + kumo (alerts)
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
438Did you find any problem?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.
But looking at it now, not sure.Code: Select all
!!value chart limited - bars + kumo (alerts)
Re: Ichimoku Indicators for MT4
439Again think it's somewhere in your iCustom call other than that have no idea.
Re: Ichimoku Indicators for MT4
440G'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
Does anyone have a MQL4 version of the attached MQL5 Ichimoku Cloud?
Just the cloud - no bells, whistles and trimmings.
Kind regards,
Kath
Attachments