Here we go..!! Prosource Indicator - page 5

 

Hi

VQ is volatility quality Index can be found here

www.forex-tsd.com/indicators-metatrader-4/2982-volatility-quality-index.html

 

prosource indicator question.

i found that running this on very short time frames like M5 or M15, it would point accurately to candle sticks with almost no shadows....just wondering if one can scalp this....dose the signal appear on open price? one can have extremely high level of success with this.

Files:
xd7fg7.gif  14 kb
xd67fg7.gif  13 kb
xdfg7.gif  13 kb
xdfg_1.gif  12 kb
 
jjk2:
i found that running this on very short time frames like M5 or M15, it would point accurately to candle sticks with almost no shadows....just wondering if one can scalp this....dose the signal appear on open price? one can have extremely high level of success with this.

I moved your post to this thread and hope you will find something here.

 

im not sure if i am the only getting these signals with extreme level of accuracy and success.

you canscalp whenever these arrows appeared. it appears when these arrows appear on the 1M charts, they point out shadowless candle sticks. so essentially, the level of success can be quite high and drawdowns are minimal.....you can leverage the shit out of one single trade without worry(?)but i do not know yet i've only been runing it all day for 2 days. you get only about 3~5 arrows. but they are profitable....almost 100%.

btw prosource is exactly same as TrendEnvelope.

I'm wondering if anyone can add a sound to this. I dont know exactly where to place it. I've tried possible locations but the alert sound repeats itself super fast.

or can anyone just confirm, when exactly the arrows appear. probably not on the opening bar im assuming....then this would mean this indicator is forecasting with extreme level of accuracy....i doubt this is the case.

#property copyright "Copyright ?2006, TrendLaboratory Ltd."

#property link "http://finance.groups.yahoo.com/group/TrendLaboratory"

//---- indicator settings

#property indicator_chart_window

#property indicator_buffers 4

#property indicator_color1 LightBlue

#property indicator_color2 Orange

#property indicator_width1 2

#property indicator_width2 2

#property indicator_color3 LightBlue

#property indicator_color4 Orange

#property indicator_width3 2

#property indicator_width4 2

//---- indicator parameters

extern int MA_Period = 2;

extern int MA_Shift = 0;

extern int MA_Method = 3;

extern int Applied_Price = 0;

extern double Deviation =0.2;

extern int UseSignal = 1;

//---- indicator buffers

double UpBuffer[];

double DnBuffer[];

double UpSignal[];

double DnSignal[];

double smax[];

double smin[];

double trend[];

//----

int ExtCountedBars=0;

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

int draw_begin;

string short_name;

//---- drawing settings

IndicatorBuffers(7);

SetIndexStyle(0,DRAW_LINE);

SetIndexShift(0,MA_Shift);

SetIndexStyle(1,DRAW_LINE);

SetIndexShift(1,MA_Shift);

SetIndexStyle(2,DRAW_ARROW);

SetIndexShift(2,MA_Shift);

SetIndexArrow(2,233);

SetIndexStyle(3,DRAW_ARROW);

SetIndexShift(3,MA_Shift);

SetIndexArrow(3,234);

IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));

if(MA_Period<2) MA_Period=14;

draw_begin=MA_Period-1;

//---- indicator short name

IndicatorShortName("Env("+MA_Period+")");

SetIndexLabel(0,"UpTrendEnv");

SetIndexLabel(1,"DnTrendEnv");

SetIndexLabel(2,"UpSignal");

SetIndexLabel(3,"DnSignal");

SetIndexDrawBegin(0,draw_begin);

SetIndexDrawBegin(1,draw_begin);

SetIndexDrawBegin(2,draw_begin);

SetIndexDrawBegin(3,draw_begin);

//---- indicator buffers mapping

SetIndexBuffer(0,UpBuffer);

SetIndexBuffer(1,DnBuffer);

SetIndexBuffer(2,UpSignal);

SetIndexBuffer(3,DnSignal);

SetIndexBuffer(4,smax);

SetIndexBuffer(5,smin);

SetIndexBuffer(6,trend);

if(Deviation<0.1) Deviation=0.1;

if(Deviation>100.0) Deviation=100.0;

//---- initialization done

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator iteration function |

//+------------------------------------------------------------------+

int start()

{

int limit;

if(Bars<=MA_Period) return(0);

ExtCountedBars=IndicatorCounted();

//---- check for possible errors

if (ExtCountedBars<0) return(-1);

//---- last counted bar will be recounted

if (ExtCountedBars>0) ExtCountedBars--;

limit=Bars-ExtCountedBars;

//---- EnvelopesM counted in the buffers

for(int i=limit; i>=0; i--)

{

smax = (1+Deviation/100)*iMA(NULL,1,MA_Period,0,MA_Method,Applied_Price,i);

smin = (1-Deviation/100)*iMA(NULL,1,MA_Period,0,MA_Method,Applied_Price,i);

UpSignal = EMPTY_VALUE;

DnSignal = EMPTY_VALUE;

trend=trend;

if (Close>smax) trend=1;

if (Close<smin) trend=-1;

if(trend>0)

{

if (smin<smin) smin=smin;

UpBuffer=smin;

if (UseSignal>0)

if (trend<0)

UpSignal = Low-0.5*iATR(NULL,1440,MA_Period,i);

DnBuffer=EMPTY_VALUE;

}

else

{

if(smax>smax) smax=smax;

DnBuffer=smax;

if (UseSignal>0)

if (trend>0) DnSignal = High+0.5*iATR(NULL,1440,MA_Period,i);

UpBuffer=EMPTY_VALUE;

}

}

//---- done

return(0);

}

//+------------------------------------------------------------------+
 

Bar And Arrow

jjk2:
im not sure if i am the only getting these signals with extreme level of accuracy and success.

you canscalp whenever these arrows appeared. it appears when these arrows appear on the 1M charts, they point out shadowless candle sticks. so essentially, the level of success can be quite high and drawdowns are minimal.....you can leverage the shit out of one single trade without worry(?)but i do not know yet i've only been runing it all day for 2 days. you get only about 3~5 arrows. but they are profitable....almost 100%.

btw prosource is exactly same as TrendEnvelope.

I'm wondering if anyone can add a sound to this. I dont know exactly where to place it. I've tried possible locations but the alert sound repeats itself super fast.

or can anyone just confirm, when exactly the arrows appear. probably not on the opening bar im assuming....then this would mean this indicator is forecasting with extreme level of accuracy....i doubt this is the case.

#property copyright "Copyright ?2006, TrendLaboratory Ltd."

#property link "http://finance.groups.yahoo.com/group/TrendLaboratory"

//---- indicator settings

#property indicator_chart_window

#property indicator_buffers 4

#property indicator_color1 LightBlue

#property indicator_color2 Orange

#property indicator_width1 2

#property indicator_width2 2

#property indicator_color3 LightBlue

#property indicator_color4 Orange

#property indicator_width3 2

#property indicator_width4 2

//---- indicator parameters

extern int MA_Period = 2;

extern int MA_Shift = 0;

extern int MA_Method = 3;

extern int Applied_Price = 0;

extern double Deviation =0.2;

extern int UseSignal = 1;

//---- indicator buffers

double UpBuffer[];

double DnBuffer[];

double UpSignal[];

double DnSignal[];

double smax[];

double smin[];

double trend[];

//----

int ExtCountedBars=0;

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

int draw_begin;

string short_name;

//---- drawing settings

IndicatorBuffers(7);

SetIndexStyle(0,DRAW_LINE);

SetIndexShift(0,MA_Shift);

SetIndexStyle(1,DRAW_LINE);

SetIndexShift(1,MA_Shift);

SetIndexStyle(2,DRAW_ARROW);

SetIndexShift(2,MA_Shift);

SetIndexArrow(2,233);

SetIndexStyle(3,DRAW_ARROW);

SetIndexShift(3,MA_Shift);

SetIndexArrow(3,234);

IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));

if(MA_Period<2) MA_Period=14;

draw_begin=MA_Period-1;

//---- indicator short name

IndicatorShortName("Env("+MA_Period+")");

SetIndexLabel(0,"UpTrendEnv");

SetIndexLabel(1,"DnTrendEnv");

SetIndexLabel(2,"UpSignal");

SetIndexLabel(3,"DnSignal");

SetIndexDrawBegin(0,draw_begin);

SetIndexDrawBegin(1,draw_begin);

SetIndexDrawBegin(2,draw_begin);

SetIndexDrawBegin(3,draw_begin);

//---- indicator buffers mapping

SetIndexBuffer(0,UpBuffer);

SetIndexBuffer(1,DnBuffer);

SetIndexBuffer(2,UpSignal);

SetIndexBuffer(3,DnSignal);

SetIndexBuffer(4,smax);

SetIndexBuffer(5,smin);

SetIndexBuffer(6,trend);

if(Deviation<0.1) Deviation=0.1;

if(Deviation>100.0) Deviation=100.0;

//---- initialization done

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator iteration function |

//+------------------------------------------------------------------+

int start()

{

int limit;

if(Bars<=MA_Period) return(0);

ExtCountedBars=IndicatorCounted();

//---- check for possible errors

if (ExtCountedBars<0) return(-1);

//---- last counted bar will be recounted

if (ExtCountedBars>0) ExtCountedBars--;

limit=Bars-ExtCountedBars;

//---- EnvelopesM counted in the buffers

for(int i=limit; i>=0; i--)

{

smax = (1+Deviation/100)*iMA(NULL,1,MA_Period,0,MA_Method,Applied_Price,i);

smin = (1-Deviation/100)*iMA(NULL,1,MA_Period,0,MA_Method,Applied_Price,i);

UpSignal = EMPTY_VALUE;

DnSignal = EMPTY_VALUE;

trend=trend;

if (Close>smax) trend=1;

if (Close<smin) trend=-1;

if(trend>0)

{

if (smin<smin) smin=smin;

UpBuffer=smin;

if (UseSignal>0)

if (trend<0)

UpSignal = Low-0.5*iATR(NULL,1440,MA_Period,i);

DnBuffer=EMPTY_VALUE;

}

else

{

if(smax>smax) smax=smax;

DnBuffer=smax;

if (UseSignal>0)

if (trend>0) DnSignal = High+0.5*iATR(NULL,1440,MA_Period,i);

UpBuffer=EMPTY_VALUE;

}

}

//---- done

return(0);

}

//+------------------------------------------------------------------+

jjk2..the arrow appears when the close of bar has penetrated the prosource/trendenvelope level...

if (Close>smax) trend=1;

if (Close<smin) trend=-1;

like Chandelier stops,for example...;)

 

okay so....its still scalpable....

 

Help with a quick modification....

What would I need to add into a code to make all the candles closing above an indicator green and red when they close below? Thanks!!!

Files:
prosource.ex4  6 kb
 
scottymoll:
What would I need to add into a code to make all the candles closing above an indicator green and red when they close below? Thanks!!!

We can't know if the posted indicator isn't the source code aka mq4 extension, not ex4

 
Linuxser:
We can't know if the posted indicator isn't the source code aka mq4 extension, not ex4

My fault. Try this one.

Files:
 
scottymoll:
My fault. Try this one.

Moved to this thread.

Reason: