Re: Dashboard Type Indicators for MT4

422
mrtools wrote: Mon Mar 06, 2017 1:51 am Hi Mtuppers, have this version you might be interested in, needs the non lag ma histo in the indicators folder for it to work.
Image
Hello brother, good time. I am Hossam from Iran, I sent you a message. There is an indicator for Trading View. Can you convert it to MetaTrader 4?
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © hesammantra

#property copyright "hesammantra"
#property link "https://www.tradingview.com/u/hesammantra/"

int isHigherHigh()
{
if (High[0] > High[1] && High[1] > High[2] &&
Close[0] > Close[1] && Close[1] > Close[2] &&
Close[0] > Open[0] && Close[1] > Open[1] && Close[2] > Open[2] &&
Low[0] > Open[1] && Low[1] > Open[2] &&
(Open[0] + Low[0]) < (Open[0] + Close[0]))
{
return 1;
}
return 0;
}

int isLowerLow()
{
if (Low[0] < Low[1] && Low[1] < Low[2] &&
Close[0] < Close[1] && Close[1] < Close[2] &&
Close[0] < Open[0] && Close[1] < Open[1] && Close[2] < Open[2] &&
High[0] < Open[1] && High[1] < Open[2])
{
return 1;
}
return 0;
}

int init()
{
return(0);
}

int deinit()
{
return(0);
}

int start()
{
if (isHigherHigh())
{
BarColor(0, RGB(103, 58, 183));
BarColor(1, RGB(103, 58, 183));
BarColor(2, (Close[2] > Open[2]) ? RGB(103, 58, 183) : CLR_NONE);
}
else if (isLowerLow())
{
BarColor(0, Yellow);
BarColor(1, Yellow);
BarColor(2, (Close[2] < Open[2]) ? Yellow : CLR_NONE);
}
return(0);
}


Re: Dashboard Type Indicators for MT4

429
got it too work again
had to bring it back to default settings :think:

ah okay its shifted to the left so you couldn't see the only option i had for 4hr

here is all default pairs

AUDCAD,AUDCHF,AUDJPY,AUDNZD,AUDUSD,CADCHF,CADJPY,CHFJPY,EURAUD,EURCAD,EURCHF,EURGBP,EURJPY,EURNZD,EURUSD,GBPAUD,GBPCAD,GBPCHF,GBPJPY,GBPNZD,GBPUSD,NZDCAD,NZDCHF,NZDJPY,NZDUSD,USDCAD,USDCHF,USDJPY,XAGUSD,XAUUSD
0 + 0 = 0
Infinite / Infinite = 1
1 way to Heaven & it matters
people only serve God or money coincidence?

Re: Dashboard Type Indicators for MT4

430
would there be any possibility to replace the ema & cci in this dashboard for the step filtered stochastic?
it gives very good entry signals, can be used to scan 4hr charts and 1hr charts with alot of ease

the only other dashboard i think may also benefit is
tma channel, ma distance, and 1,2,3
but these can be found on mql5 store already

there is only one small piece for the code of the dashboard
0 + 0 = 0
Infinite / Infinite = 1
1 way to Heaven & it matters
people only serve God or money coincidence?