Finally here is the next version of the
VPA, V.4.0. The earlier version was a step in refining the signal
generation codes. However the signals were generated were too many creating a
confusing picture. Also there was a error in coding which prevented the use
Random walk Index for the evaluation of the trend. In version 4.0 I have
attempted to refine the signal generation coding so we have lesser more
accurate signals.
Another major
change is the effort to indicate the high probability of change in the Trend.
These are Sentiment Change Indicators. . A green up Arrow
indicates that there is a change of sentiment. The current down Trend may
possibly end soon and we may see an Uptrend soon. A Red Down Arrow indicates that
there is a change of sentiment. The current Up Trend may possibly end soon and
we may see Down trend soon. Like any signal in Technical Analysis there
signal are never 100% accurate these seem to catch the majority of the trend
changes. The users are advised not to use these as buy and sell signals.
However these signals would be indeed good guiding sophomores.
I am also including a PDF file which provides some details of the various Flags generated by the AFL on the chart. This would help the beginner very much to understand the implication of the various Flags. This is very brief and we I will try to elaborate on each as and when time permits.
The AL can be downloaded from here :
VPA Version 4
VPA Flags
Thanks a lot Karthik ji
ReplyDeletethanks a lot sir... very nice
ReplyDeleteThank you very much, Sir, from our core of the heart, truly speaking, we have been waiting for a long for such updated version, I guess its a very valuable share indeed.VPA flag idea is very innovative and definitely would resolve the queries of many enthusiasts in VSA.--Shariful Islam
ReplyDeleteThanks a lot, sir! You have been a wonderful teacher.
ReplyDeleteMany many thanks Sir.. Really grateful to you as our lighthouse.. Wishing your all-way healthy and happy life.
ReplyDeleteThanks alot Karthik ji
ReplyDeleteThanks a lot sir
ReplyDeleteHello Karthik, do you happen to have this for NinjaTrader?
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks a lot. Will follow this blog for more forex Indicators
ReplyDeleteIm using Pi from Zerodha...checking if AFL files can work on it
ReplyDeleteThank you Karthik sir...best wishes for your effort to help peoples
ReplyDeletekarthik sir back !!!! thanks
ReplyDeleteExcellent script, many thanks! It helps in the study of VSA
ReplyDeleteExcellent script, many thanks! It helps in the study of VSA
ReplyDeleteThank you for your great work.
ReplyDelete1 - You say "Also there was a error in coding which prevented the use Random walk Index for the evaluation of the trend." but, I don't see any difference in the Trend Analysis Module from version 3.1.0. and the trend display is the same, can you please point out where was the error?
2 - The subjacent code of the RWI, RWILo and RWIHi functions is:
________________________________________________
minperiods = Param( "Min Periods", 9, 1, 200, 1 );
maxperiods = Param( "Max Periods", 40, 1, 200, 1 );
RWILo=0;
for( i = minperiods; i <= maxperiods ; i++ )
{
RWILo = IIf(i==minperiods,(Ref(High,-i)-Low )/ (ATR(i)*sqrt(i)),Max((Ref(High,-i)-Low )/ (ATR(i)*sqrt(i)),RWILo));
}
Plot(Ref(RWILo,0),"RWILo",colorred ,styleLine);
RWIHi=0;
for( i = minperiods; i <= maxperiods ; i++ )
{
RWIHi = IIf(i==minperiods,(High-Ref(Low,-i))/ (ATR(i)*sqrt(i)),Max((High-Ref(Low,-i))/ (ATR(i)*sqrt(i)),RWIHi));
}
Plot(Ref(RWIHi,0),"RWIHi",colorred ,styleLine);
Plot(Ref(RWIHi-RWILo,0),"RWIi",colorBlue,styleLine);
_____________________________________________________
but, differs from what was written by E. Michael Poulos, which in afl language should be:
RWILo = IIf(i==minperiods,(Ref(High,-(i-1))-Low)/ (ref(ATR(i),-1)*sqrt(i)),Max((Ref(High,-(i-1))-Low)/ (ref(ATR(i),-1)*sqrt(i)),RWILo));
RWIHi = IIf(i==minperiods,(High-Ref(Low,-(i-1)))/ (ref(ATR(i),-1)*sqrt(i)),Max((High-Ref(Low,-(i-1)))/ (ref(ATR(i),-1)*sqrt(i)),RWIHi));
does this influences the results?
You once said "The RWI index and trend analysis deserves a separate dedicated post which I will do later."
Can you post about the RWI? I can't find sufficient information on that subject.
3 - I Don´t understand the code on the module VSA signal generation:
noDemandBarUt = upBar AND narrowRangeBar AND lowVolume AND ClosePos> 3 AND ((upminor>0 AND upimd>0) OR (upminor<0 AND upminor>0));//in a up market
0bs. upminor never can be greater and smaller than 0 at the same time!
noSupplyBar = downBar AND narrowRangeBar AND lowVolume AND ClosePos<3 AND ((upminor<1 AND upimd<1) OR (upminor>0 AND upimd<1));
Obs. upminor has to be 0 or 1, why write ((upminor<1 AND upimd<1) OR (upminor>0 AND upimd<1)) when you could simply write upimd<1 ?
On the support resistance lines module where is written "tx10=LastValue(ValueWhen(Pk1,x,10));" shouldn´t be "tx10=LastValue(ValueWhen(Tk1,x,10));" ?
error on VPA Basic Module:
ReplyDeleteclosePosition=IIf(closeFactor=0,avgSpread,clsPosition);
should be:
closePosition=IIf(closeFactor==0,avgSpread,clsPosition);
code in basic definitions wrong.
ReplyDeletefreshGndHi = C > HHV(H,5); //Fresh new high ground
freshGndLo = C < LLV(L,5); //Fresh new low ground
The conditions are impossible as the close of the bar can never be greater than the high or lesser than the low.
Note that HHV Calculates the highest value in the ARRAY over the preceding periods (periods includes the current day).
Maybe the code should be:
freshGndHi = H== HHV(H,5); //Fresh new high ground
freshGndLo = L== LLV(L,5); //Fresh new low ground
or
freshGndHi = C > ref(HHV(H,5),-1); //Fresh new high ground
freshGndLo = C < ref(LLV(L,5);-1); //Fresh new low ground
Selam admin guzel konular ve guzel site basarilarin devamini bekleriz tanks
ReplyDeleteCan you please add explorer..
ReplyDeleteI tried to explore. But eod data not able to produce any explore result. Could you pls help..
ReplyDeletenice work
ReplyDeletenice work
ReplyDeleteComment: Facing login issue? You can call on our Gmail Password Recovery Canada 1-888-414-1732 to get help for resetting your Gmail password.
ReplyDeleteMany many thanks Sir.. Really grateful to you as our lighthouse.. Wishing your all-way healthy and happy life. May you write some more signals: Distributions Bar, break out bar, Shake out Bar is great!May you please add VPA - 4 with Exploration.
ReplyDeleteCan you please make the Exploration display each symbol an array of 20 days of indicators ?
ReplyDeleteCan you please explain what it mean when the bar's color is changed to blue ?
ReplyDeleteHello
ReplyDeleteDo you have "VPA Version 4" for Ninja Trader 8?
market strategy gives a perfect solution in the right direction to improve in the market.
ReplyDeleteCommodity Trading Tips
Nifty Future Tips
dear marar sir, can u please make a afl scaner for find exhaustion bar ( https://www.dukascopy.com/fxcomm/fx-article-contest/?Trading-Exhaustion-Bars-A-Technique&action=read&id=370) pls
ReplyDeleteVery Nice Sir
ReplyDeletehow can i use it ? its not working
ReplyDeleteThanks you.
ReplyDeleteSir, i have gone through your VSA video on youtube it was very helpful with understanding the concepts clearly. Sir can you share price wave afl, its a request.
ReplyDeleteDear Sir,
ReplyDeleteHow do I get the indicator? Please reply.
can i get scanner sir?
ReplyDelete