10 Minute trader Indicator For MT4
The 10 Minute trader Indicator For MT4 is an ultra short term trading tool that uses a combination of trend following and momentum indicators to display the current bias in an underlying market. An upward pointing Hot Pink arrow signals that the current trend is up and traders should look to initiate long positions. Contrarily, a downward facing Hot Pink arrow points to the presence of a bearish bias, and traders can enter short positions. The 10 Minute trader Indicator For MT4 can be applied across asset classes, but ideally on shorter time frames.
Installing the 10 Minute trader Indicator For MT4
After you downloaded the indicator via the form above you need to unzip the zip-file. Then you need to copy the file 10Min_011a.mq4 into the folder MQL4\Indicators of your MT4 installation. After that please restart MT4 and then you will be able to see the indicator in the list of indicators.
Parameters of the 10 Minute trader Indicator For MT4
The 10 Minute trader Indicator For MT4 has 0 parameters to configure.
Buffers of the 10 Minute trader Indicator For MT4
The 10 Minute trader Indicator For MT4 provides 7 buffers.
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexBuffer(1, ExtMapBuffer2);
SetIndexBuffer(2, ExtMapBuffer3);
SetIndexBuffer(3, ExtMapBuffer4);
SetIndexBuffer(4, ExtMapBuffer5);
SetIndexBuffer(5, ExtMapBuffer6);
SetIndexBuffer(6, ExtMapBuffer7);
Main Parts Of The Code
int start()
{
double wma=0, wma_p=0; // linear Weighted Moving Average & Previous
double sma=0, sma_p=0; // Simple Moving Average & Previous
double stochm=0; // STOCHastic Main
double stochm1=0, stochm2=0; // long chain stochm 1&2
double stochm3=0, stochm4=0; // long chain stochm 3&4
double stochs=0; // STOCHastic Signal
double stochs1=0, stochs2=0; // long chain stochs 1&2
double stochs3=0, stochs4=0; // long chain stochs 3&4
double macdm=0; // Moving Average Convergance Divergance Main
double macds=0; // Moving Average Convergance Divergance Signal
double rsi=0; // Relative Strength Indicator
double rsi1=0, rsi2=0; // long chain rsi 1&2
double rsi3=0, rsi4=0; // long chain rsi 3&4
//-----
int pos=Bars-100; // leave room for moving average periods
//-----
while(pos gt =0)
{
wma_p=wma; // save previous calculations
wma=iMA(Symbol(),0,10,0,MODE_LWMA,PRICE_CLOSE,pos);
sma_p=sma; // save previous calculations
sma=iMA(Symbol(),0,20,0,MODE_SMA,PRICE_CLOSE,pos);
//----
stochs=iStochastic(Symbol(),0,10,6,6,0,1,1,pos);
stochs=iStochastic(Symbol(),0,10,6,6,0,1,1,pos+1);
stochs=iStochastic(Symbol(),0,10,6,6,0,1,1,pos+2);
stochs=iStochastic(Symbol(),0,10,6,6,0,1,1,pos+3);
stochs=iStochastic(Symbol(),0,10,6,6,0,1,1,pos+4);
stochm=iStochastic(Symbol(),0,10,6,6,0,1,0,pos);
stochm1=iStochastic(Symbol(),0,10,6,6,0,1,0,pos+1);
stochm2=iStochastic(Symbol(),0,10,6,6,0,1,0,pos+2);
stochm3=iStochastic(Symbol(),0,10,6,6,0,1,0,pos+3);
stochm4=iStochastic(Symbol(),0,10,6,6,0,1,0,pos+4);
//----
rsi=iRSI(Symbol(),0,28,PRICE_CLOSE,pos);
rsi1=iRSI(Symbol(),0,28,PRICE_CLOSE,pos+1);
rsi2=iRSI(Symbol(),0,28,PRICE_CLOSE,pos+2);
rsi3=iRSI(Symbol(),0,28,PRICE_CLOSE,pos+3);
rsi4=iRSI(Symbol(),0,28,PRICE_CLOSE,pos+4);
//----
macdm=iMACD(Symbol(),0,12,26,9,0,0,pos);
macds=iMACD(Symbol(),0,12,26,9,0,1,pos);
if(wma_p lt sma_p && wma gt sma) // MA crossed up
{
ExtMapBuffer1[pos]=wma - 0.0003;
}
if (rsi gt 52 &&(rsi1 lt 48 || rsi2 lt 48 || rsi3 lt 48 || rsi4 lt 48)) //blue
{
ExtMapBuffer3[pos]=wma + 0.0003;
}
if (stochm gt stochs) //red
{
ExtMapBuffer4[pos]=wma + 0.0006;
}
if (macds gt 0) //white
{
ExtMapBuffer5[pos]=wma + 0.0009;
}
if (stochm-stochs gt 30) //hotpink
{
ExtMapBuffer6[pos]=wma + 0.0012;
}
if(wma_p gt sma_p && wma lt sma )
{
ExtMapBuffer2[pos]=wma + 0.0003;
}
if (rsi lt 48 &&(rsi1 gt 52 || rsi2 gt 52 || rsi3 gt 52 || rsi4 gt 52))
{
ExtMapBuffer3[pos]=wma - 0.0003;
}
if (stochm lt stochs)
{
ExtMapBuffer4[pos]=wma - 0.0006;
}
if (macds lt 0)
{
ExtMapBuffer5[pos]=wma - 0.0009;
}
if (stochm-stochs lt -30) //hotpink
{
ExtMapBuffer6[pos]=wma - 0.0012;
}
if(rsi gt 60 && stochm gt 80 )
{
ExtMapBuffer7[pos]=wma + 0.0015;
}
if(rsi lt 40 && stochm lt 20) //white dot
{
ExtMapBuffer7[pos]=wma - 0.0015;
}
pos--;
}
return(0);
}
//+------------------------------------------------------------------+