Accumulation/Distribution Divergence for ThinkorSwim ... | Thinkorswim accumulation distribution

ForumsWhat'snewExploreGetVIPLoginRegisterWhat'snewSearchMenuLoginRegisterInstalltheappInstallForumsThinkorSwimIndicatorsCustomYouareusinganoutofdatebrowser.Itmaynotdisplaythisorotherwebsitescorrectly.Youshouldupgradeoruseanalternativebrowser.Accumulation/DistributionDivergenceforThinkorSwimThreadstarterBenTenStartdateApr26,2020BenTenAdministrativeStaffVIPTypically,theAccumDistindicatorisusedtoidentifydivergencesbetweenpriceactivityandtheindicatoritself.Aswithotherdivergences,ifthemarketreachesnewhighswhiletheindicatorisstagnantorfalling,thecurrenttrendmaybeweakeningsuggestingapossiblereversal.Conversely,ifthemarketreachesnewlowswhiletheindicatorisstagnantorrising,thetrendmaybeweakeningperhapsindicatingareversal.Clicktoexpand...Basedonthisdescription,Iasked@korygilltohelpmeplotthepreviousdayhighandlowofthedefaultAccumDistBuyPrindicatorprovidedbyThinkorSwim.Sincewe'relookingforpossibledivergences,wewouldneedtoalsoplotthepreviousdayhighandlowofthestock.Luckily,thereisalreadyabuilt-inindicatortohelpyouwiththat.It'scalledDailyHighLow.Puttingthetwotogether,youwillhavethis:thinkScriptCodeCode:##Accumulation_Distribution_Divergence#AssembledbyKoryGill(@korygill)forBenTenatusethinkscript.com#declarelower;declareonce_per_bar;inputOpenTime=0930;defbn=BarNumber();defnan=double.NaN;defsft=SecondsFromTime(Opentime);#plotp1=sft;defdata=ifclose>close[1]thenclose-Min(close[1],low)elseifclose

常見投資理財問答


延伸文章資訊