Startup ATL + OBV = Wickoff+ Weinstein
Forums › ProRealTime English forum › ProScreener support › Startup ATL + OBV = Wickoff+ Weinstein
- This topic has 25 replies, 7 voices, and was last updated 4 years ago by leoulve.
-
-
11/08/2019 at 9:02 AM #11238411/08/2019 at 12:59 PM #112407
Hello,
The obv performs the calculations based on the volume, but I think it would be more appropriate to replace the volume with the CPM (volume * close). Once the obv (CPM) was calculated, the moment derived from averages could be calculated.
For example,
exponentialaverage [10] (obv) -exponentialaverage [20] (obv), to subsequently apply bollinguer bands on the indicator we have calculated. Once, that we have this MACD (OBV) we would apply the ideas of Squeeze de J.F. Carter, to calculate where there is a compression of the obv, and I think that in this way we could detect market phases associated with accumulation or distribution. I will try this weekend to write the code.11/08/2019 at 6:06 PM #11244611/08/2019 at 6:06 PM #112448Hello,
I’m very interested in the code. And after reading everything I think it would look like this …
But there is an error in the calculation of OBV between lines 5 and 8…..1234567891011121314151617181920//ATL All time low identificationATL = lowest[max(1,BarIndex)](low)//When the second day’s price closes above the prior day’s close,if close>close[1] then OBV=OBV+volumeelse//If prices close lower on the second day,OBV=OBV−volumeendifmyOBV =MACD[10,20,10](OBV)avgOBV=average[20](myOBV)stdevOBV=2*std[20](myOBV)BollUp = avgOBV+stdevOBV//ATL zone and volume activityc1=close<2*ATLc2=myOBV>BollUPscreener[ c1 and c2 ]11/08/2019 at 6:35 PM #11245011/08/2019 at 7:36 PM #11245211/08/2019 at 8:42 PM #11245511/09/2019 at 10:15 AM #112468Hello everyone
This is the modification I have proposed. Could you explain to me what we look for with the ATL?Screener Weinstein(obv)12345678910111213141516171819202122//ATL All time low identificationATL = lowest[max(1,BarIndex)](low)Percorto=10Perlargo=20//PerMed=10// Indicador ReXMiobv=obv(close)ReX=EXPONENTIALAVERAGE[PerCorto](MIOBv)-EXPONENTIALAVERAGE[PerLargo](MIOBv)// Bandas sobre ReXPBB=20sstd = std[PBB](rex)upper = (sstd*2+(exponentialaverage[PBB](ReX)))//ATL zone and volume activityc1=close<2*ATLc2=Rex>Uppervol=volume>200000SCREENER[ c1 and c2 and vol ]11/09/2019 at 8:26 PM #11247811/09/2019 at 8:42 PM #112479Why do you think it is not the case? If the lowest low of all data is 40$, the share should be set between 40$ and 80$! and that’s an huge gap 🙂
Dear Nicolas
Please find an example SAREPTA is returned by the screener
ATL= 7
Curent price is 96
The problem comes from the scanning period = 2 years, I would like the ATL of the all barindex period
03/22/2020 at 1:57 PM #122904 -
AuthorPosts